ntfs-config and external drive

Hi,
I’ve problem with an external drive (usb drive with 3 NTFS partitions) , when I enable read-write option a message say only root can mount these partitions, not the same for an internal NTFS partition, just works fine.

How I can solve this?

If you’re talking version 11.0 of Suse, you can add a link that causes external ntfs drives to automount read-write when they are plugged in. Are we talking version 11.0 of Suse?

Yes sorry, openSUSE 11.0

In openSUSE 10.3 or 11.0 you execute a one-time setup command to create a link that replaces the normal driver for automounting ntfs (restricted permissions) with the ntfs-3g driver for automounting ntfs (world-writable). Thereafter when you plug in a usb drive with ntfs filesystem it will automount as world writeable with permissions drwxrwxrwx.
The one-time command is to open a terminal and enter this:

sudo ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs

That might help.

Swerdna

done but don’t work
when I plug in my external USB drive, just see the drive is plugged but don’t open (only root can mount ecc…)

Need to reboot the machine?

Try it and see, I can’t remember

sorry, don’t work too after reboot

Please post back here the dialogue you get in a console when you execute this command:

ls -l /sbin/mou*

Thanks

-rwxr-xr-x 1 root root 27208 7 giu 01:59 /sbin/mount.cifs
-rwxr-xr-x 1 root root 10248 6 giu 23:10 /sbin/mount.fuse
-rwsr-xr-x 1 root root 82168 7 giu 00:50 /sbin/mount.nfs
lrwxrwxrwx 1 root root 9 26 giu 18:10 /sbin/mount.nfs4 -> mount.nfs
lrwxrwxrwx 1 root root 19 9 lug 23:41 /sbin/mount.ntfs -> /sbin/mount.ntfs-3g
lrwxrwxrwx 1 root root 12 26 giu 18:10 /sbin/mount.ntfs-3g -> /bin/ntfs-3g

What do you get from:
rpm -q libfuse2 ntfs-3g

Hello, i get this

libfuse2-2.7.2-32.1
ntfs-3g-1.2506-5.1

While oldcpu isa considering your last post:
What did you mean by “when I enable read-write option” in your first post? Which option are you talking about (there are several)?

Hi, see the screenshot please,
But I now see any thing, the tool (or the system) consider the USB device as an Internal Devices, If I disable from ntfs-config the Internal Device read-write option, it uncheck the USB external Device.

And after I create a symbolik link that you suggest in the past post, I’m unable to open too just on read mode (sorry my poor english)http://img55.imageshack.us/img55/880/schermata3th4.png

I was searching for a reason and found that quote in your first post – a clue!

Glad it works now http://www.swerdna.net.au/forumpics/thumbup.gif

Nope men :frowning:
only the local hard drive works, but don’t the external drive

In ubuntu it works just fine without installing any driver manually

If I try as root, this happen

linux-0vzj:/home/sm0k3r # mount -t ntfs-3g /dev/sdf2 /media/MULTIMEDIA
$LogFile indicates unclean shutdown (0, 1)
Failed to mount ‘/dev/sdf2’: Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the ‘Safely Remove Hardware’ icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don’t have Windows then you can use the ‘force’ option for
your own responsibility. For example type on the command line:

        mount -t ntfs-3g /dev/sdf2 /media/MULTIMEDIA -o force

Or add the option to the relevant row in the /etc/fstab file:

        /dev/sdf2 /media/MULTIMEDIA ntfs-3g force 0 0

it seems my fstab contain many bad path

/etc/fstab: static file system information.

<file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part5 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part6 /home ext3 acl,user_xattr 1 2
/dev/sdf1 /media/BACKUP ntfs-3g defaults,locale=it_IT.UTF-8 0 0
/dev/sdf3 /media/FILES ntfs-3g defaults,locale=it_IT.UTF-8 0 0
/dev/sdf2 /media/MULTIMEDIA ntfs-3g defaults,nosuid,nodev,locale=it_IT.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part1 /windows/C ntfs defaults,nls=utf8,umask=0222,users 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part2 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sdc1 /media/BACKUP ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdc3 /media/FILES ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdc2 /media/MULTIMEDIA ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdb1 /media/BACKUP ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdb3 /media/FILES ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdb2 /media/MULTIMEDIA ntfs defaults,nls=utf8,umask=0222 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part4 swap swap defaults 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0

Only sdf* are right

Fstab is blocking the process because of the entries put there by the GUI application ntfs-config.
You have to take out of fstab anything that relates to the external USB hard drive. Disconnect the drive. Edit out of fstab the entries for the external USB drive. Maybe reboot, I don’t remember. Then try the hot plugging again.

Afterthought: can you disconnect all external ntfs devices and execute this console command: sudo /sbin/fdisk -l, so I can look at your interior hard drives without usb ntfs complicating the picture?

Ok, sorry for the delay and thanks for your help and time to gime me…
here’s the result of the command you write:

Disco /dev/sda: 250.0 GB, 250059350016 byte

255 heads, 63 sectors/track, 30401 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe5933cae

Dispositivo Boot Start End Blocks Id System
/dev/sda1 1 26251 210861126 7 HPFS/NTFS
/dev/sda2 * 26252 26379 1028160 c W95 FAT32 (LBA)
/dev/sda3 26380 30279 31326750 5 Esteso
/dev/sda4 30280 30401 979965 82 Linux swap / Solaris
/dev/sda5 26380 27685 10490413+ 83 Linux
/dev/sda6 27686 30279 20836273+ 83 Linux

and here the right fstab

/etc/fstab: static file system information.

<file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part5 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part6 /home ext3 acl,user_xattr 1 2
/dev/sdf1 /media/BACKUP ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdf3 /media/FILES ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdf2 /media/MULTIMEDIA ntfs defaults,nls=utf8,umask=0222 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part1 /windows/C ntfs defaults,nls=utf8,umask=0222,users 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part2 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part4 swap swap defaults 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0

OK open the file fstab in an editor and take out these lines:

/dev/sdf1 /media/BACKUP ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdf3 /media/FILES ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sdf2 /media/MULTIMEDIA ntfs defaults,nls=utf8,umask=0222 0 0

And change this line:

/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE1DSP9-part1 /windows/C ntfs defaults,nls=utf8,umask=0222,users 0 0

to this:

/dev/sda1 /windows/C ntfs-3g defaults 0 0

Then reboot and try plugging an external NTFS drive in.

PS/EDit: You can open the file for editing with this command in a console for KDE:

kdesu kwrite /etc/fstab

Or for Gnome it’s:

gnomesu gedit /etc/fstab