Problem mounting external drive (vfat,ntfs)

Hi all,

I have a hard time mounting two external drives on my Suse 11.3. When I use the device notifier gadget both drives get mounted in /media/<drive name>, the vfat drive is read-only though. However, I would like to mount both drives under /<drive name> in separate directories and rw.

I looked at the devices in /dev/ and entered the device name to fstab, set the mount point, file system (vfat, and ntfs-3g) and set ‘rw,noauto,exec,user,sync 0 0’. This way I could mount my vfat drive read-only under /<drive name>, but not the ntfs one. After a reboot i noticed that the external drives get different IDs in /dev. E.g. what I had in my fstab under /dev/sdc1 got /dev/sdf1, and /dev/sdc was unknown.

I am doing something wrong here, what worked in 11.0 does not seem to work here. If anyone has any idea it would be appreciated. Thanks!

Peter

My fstab:

/dev/disk/by-id/ata-WDC_WD5000AAKS-60Z1A0_WD-WCAWF5175419-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD5000AAKS-60Z1A0_WD-WCAWF5175419-part2 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD5000AAKS-60Z1A0_WD-WCAWF5175419-part3 /home                ext4       acl,user_xattr        1 2
/dev/sdd1            /passport            vfat       rw,noauto,exec,user,sync 0 0 
/dev/sdf1            /elements            ntfs-3g    rw,noauto,exec,user,sync 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

and sudo /sbin/fdisk -l returns:


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3b2b3b2b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1044     8384512   82  Linux swap / Solaris
/dev/sda2   *        1044        6267    41946112   83  Linux
/dev/sda3            6267       60802   438054912   83  Linux

Disk /dev/sdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5b6ac646

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       19457   156288321    c  W95 FAT32 (LBA)

Disk /dev/sdf: 2000.4 GB, 2000396746752 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e5e38

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1      243202  1953511424    7  HPFS/NTFS

External USB devices like WD Element are NOT added to fstab!

They just plug and play

The best way to have what you want is to give the drives a ‘Volume Label’

Something Like Parted Magic can do that easily.