Drives not mounting / mounting read-only

This is a new problem which I’m facing from last 2days (Previously everything was ok in the same system) >>
Here is the output of cat /etc/fstab >>

/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part3 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part5 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part2 /media/C vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part6 /media/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 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
/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part1 /media/H vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part10 /media/Fedora ext3 defaults 1 2

After start, the sda2 and sda6 are not mounted automatically. Here is the output of mount after startup >>

/dev/sda3 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /media/H type vfat (rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true)
/dev/sda10 on /media/Fedora type ext3 (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
gvfs-fuse-daemon on /var/lib/gdm/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=gdm)
gvfs-fuse-daemon on /home/tana/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=tana)

Then if i mount them manually by code from shell they are mounted properly, but the root has read-only permission to those two drives and non-roots has no access permission. Changing permission is also not allowed. This is giving me big trouble to manage my files.
Here is output of fdisk -l >>

Device Boot Start End Blocks Id System
/dev/sda1 1 2611 20972826 c W95 FAT32 (LBA)
/dev/sda2 * 2612 5222 20972857+ 7 HPFS/NTFS
/dev/sda3 5223 7833 20972857+ 83 Linux
/dev/sda4 7834 19456 93361747+ 5 Extended
/dev/sda5 7834 7898 522081 82 Linux swap / Solaris
/dev/sda6 7899 10509 20972826 7 HPFS/NTFS
/dev/sda7 10510 13120 20972826 e W95 FAT16 (LBA)
/dev/sda8 13121 15731 20972826 e W95 FAT16 (LBA)
/dev/sda9 15732 17643 15358108+ e W95 FAT16 (LBA)
/dev/sda10 17644 19456 14562891 83 Linux

Yelp please.

What are the perms on the mountpoints?

for vFAT
Suse: HowTo set disk access permissions for Fat32 (VFAT) on a desktop PC

for ntfs
HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11

I have to run to catch a plane, so not much time. But you have a mistake in your fstab.

Take a look at this fstab content that you provided:

/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part2 /media/C vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/disk/by-id/scsi-SATA_ST3160815AS_6RADNZSN-part6 /media/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.U TF-8 0 0

And then take a look at this fdisk output that you provided:

Device Boot Start End Blocks Id System
/dev/sda2 * 2612 5222 20972857+ 7 HPFS/NTFS
/dev/sda6 7899 10509 20972826 7 HPFS/NTFS

You have part-2 labeled as a vfat in your fstab, but your fdisk says its ntfs.

Also, you have your dmask and fmask wrong for ntfs. Change your fmask from 133 to 113. Change your dmask from 0002 to 002 (that dmask change may not matter … I don’t know) .

Also, you need to shut down your NTFS drives properly when leaving windows, and while in windows run a quality check (chkdsk ? I can’t remember) on them.

I’ll be on vacation for the next 2.5 weeks, so it will be difficult for me to follow this thread. My replies (if any) will likely be days apart.

Reply to OLDCPU >>
I’m a Big Fool! I must have noticed that sda2 is ntfs, but in fstab it’s vfat :stuck_out_tongue: :shame: . I didn’t know about fmask, dmask,umask but now have read from Fmask - Wikipedia, the free encyclopedia. I’ve not implemented yet but sure that this’ll solve the problem. Thank You very much. :shame: