Page 1 of 1
trouble mounting a NTFS drive with Webmin
Posted: Mon Nov 16, 2015 3:17 pm
by petercli
hello,
I have Raspbian Wheezy ver3.18 on a Raspberry PI, and I installed 'ntfs-3g'
I am trying to mount a NTFS USB drive using WebMin ( System / Disk and Network File System)
For Windows NT File System/ Disk, the list box shows "??? (Windows Fat16)" <-- is that correct?
When I click create, I get a error : Failed to save mount : The device file '/dev/mmcblk01' does not exist
Is this because I need a self-powered USB Disk drive ?
Thanks, Peter
Re: trouble mounting a NTFS drive with Webmin
Posted: Mon Nov 16, 2015 3:30 pm
by topguy
Any usb-disk should pop up as "/dev/sda" and each partition as "/dev/sda1". It looks like you try to mount the boot partition on your SD-card and that won't work.
Boot the pi, run "dmesg", plug in the disk, run "dmesg" again and look at the new lines.
> Is this because I need a self-powered USB Disk drive ?
What kind of disk do you have ?
Re: trouble mounting a NTFS drive with Webmin
Posted: Tue Nov 17, 2015 3:11 pm
by petercli
Hi Topguy,
I am a Linux newbie, but I want to learn.
My PI has a SD Drive with OS, and the USB Disk drive.
In the 'create mount' screen, in the Windows NT FileSystem , I choose 'Other device' , and then '/dev/sda1' , and it seemed to work! ( I am guessing that sda1 is my usb drive based on the result of running dmesg after plugging in the usb drive:
- [ 115.208646] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[ 115.309746] usb 1-1.4: New USB device found, idVendor=0bc2, idProduct=5071
[ 115.309776] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 115.309794] usb 1-1.4: Product: FA GoFlex Desk
[ 115.309810] usb 1-1.4: Manufacturer: Seagate
[ 115.309826] usb 1-1.4: SerialNumber: NA0J6JG0
[ 115.311755] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 115.312712] scsi host0: usb-storage 1-1.4:1.0
[ 116.309476] scsi 0:0:0:0: Direct-Access Seagate FA GoFlex Desk 0155 PQ: 0 ANSI: 4
[ 116.313067] sd 0:0:0:0: [sda] 3907029167 512-byte logical blocks: (2.00 TB/1.81 TiB)
[ 116.313635] sd 0:0:0:0: [sda] Write Protect is off
[ 116.313663] sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00
[ 116.314331] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 116.335763] sda: sda1
[ 116.339310] sd 0:0:0:0: [sda] Attached SCSI disk
[ 116.348358] sd 0:0:0:0: Attached scsi generic sg0 type 0
Re: trouble mounting a NTFS drive with Webmin
Posted: Tue Nov 17, 2015 4:10 pm
by DougieLawson
sda is a 2 terabyte (1.8TiB) drive with a single partition (sda1) on it.
Does it really need to be NTFS? If it is going to be permanently mounted on your Raspberry you WILL want to reformat that drive as ext4.
Ext4 gives a couple of instant benefits:
1. It runs faster because the driver is in the kernel not in user space
2. It works with the Linux owners, groups and permissions security model