openSUSE Forums > Archives > SF Archives > ARCHIVES - Hardware » Ntfs Mounting Problems

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Hardware
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Hardware Questions about hardware installation or configuration in SUSE Linux

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 29-May-2008, 08:48
Ellhound
Guest
 
Posts: n/a
Default

I installed opensuse 10.3 for the first time last week, on my file/download server. During the installation i accepted the default proposals for mounting my NTFS partitions.
They all automounted on boot, no problems. A few days ago, i removed 2 of my hard disks to copy 800GB of files (would take to long over network). When i put them back, i couldnt get them to automount anymore.

This is what fstab looks like:
Code:
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part6 /********************ext3****** acl,user_xattr********1 1
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part5 /home****************ext3****** acl,user_xattr********1 2
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part1 /windows/C********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part2 /windows/D********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1200JB-00WD-WMACM1876272-part1 /windows/E********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_Maxtor_6L250S0_L50GNACG-part1 /windows/F********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST31000340AS_9QJ01CCK-part1 /windows/G********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3500630AS_3QG02EZT-part5 /windows/H********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3500630AS_5QG0H4ES-part5 /windows/I********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part4 swap**************** swap****** defaults**************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/fd0************ /media/floppy********auto****** noauto,user,sync******0 0
After reading several howtos on mounting ntfs partitions, i changed my fstab to this:


Code:
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part6 /********************ext3****** acl,user_xattr********1 1
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part5 /home****************ext3****** acl,user_xattr********1 2
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part4 swap**************** swap****** defaults**************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/fd0************ /media/floppy********auto****** noauto,user,sync******0 0
/dev/sdf5************/windows/i********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sda2************/windows/d********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sdb1************/windows/e********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sdc5************/windows/h********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sdd1************/windows/g********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sde1************/windows/f********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
This caused all the hard disks to disapear from sysinfo

Then i tried this:

Code:
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part6 /********************ext3****** acl,user_xattr********1 1
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part5 /home****************ext3****** acl,user_xattr********1 2
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part4 swap**************** swap****** defaults**************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/fd0************ /media/floppy********auto****** noauto,user,sync******0 0
/dev/sda2************/windows/d********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdb1************/windows/e********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sde1************/windows/f********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdd1************/windows/g********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdc5************/windows/h********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdf5************/windows/i********** ntfs-3g****** auto,user,rw,sync**** 0 0
Which caused all the partitions to mount, except sdc5 and sdf5, which is the same problem i had before i changed fstab. So i changed it back to the original fstab

Both of the partitions that wont mount, are extended partitions, while all the other partitions are not. I dont know if that makes a difference but i'll add the info anyway.

Its not unlikely that i made a dumb mistake somewhere, since i'm quite the linux noob.
I hope someone will be able to help me with this.
  #2 (permalink)  
Old 29-May-2008, 13:19
swerdna
Guest
 
Posts: n/a
Default

Hi
Can you execute a command in a console and copy the dialogue you get back into a forum reply. That will allow matching of the drives against the last template that you posted, and then can fix it. It gives a listing of the partitions and their properties.
Code:
sudo /sbin/fdisk -l
The "-l" is a letter, not the numeral.

Swerdna
  #3 (permalink)  
Old 29-May-2008, 14:47
Ellhound
Guest
 
Posts: n/a
Default

Right. here it is:

Code:
Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xaf579307

** Device Boot******Start******** End******Blocks** Id**System
/dev/sda1************** 1********2550****20482843+** 7**HPFS/NTFS
/dev/sda2************2551****** 12749****81923467+** 7**HPFS/NTFS
/dev/sda3********** 12750****** 14055****10490445****f**W95 Ext'd (LBA)
/dev/sda4********** 14056****** 14946**** 7156957+**82**Linux swap / Solaris
/dev/sda5********** 12750****** 13402**** 5245191** 83**Linux
/dev/sda6********** 13403****** 14055**** 5245191** 83**Linux

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x625ed5e9

** Device Boot******Start******** End******Blocks** Id**System
/dev/sdb1** *********** 1****** 14593** 117218241****7**HPFS/NTFS

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
16 heads, 63 sectors/track, 969021 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x75f48e6f

** Device Boot******Start******** End******Blocks** Id**System
/dev/sdc1************** 2******969021** 488386080****f**W95 Ext'd (LBA)
/dev/sdc5************** 2******969021** 488386048+** 7**HPFS/NTFS

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
16 heads, 63 sectors/track, 1938021 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x5893c07c

** Device Boot******Start******** End******Blocks** Id**System
/dev/sdd1************** 1**** 1938018** 976761040+** 7**HPFS/NTFS

Disk /dev/sde: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe31ed6c6

** Device Boot******Start******** End******Blocks** Id**System
/dev/sde1************** 1****** 30515** 245111706****7**HPFS/NTFS

Disk /dev/sdf: 500.1 GB, 500107862016 bytes
16 heads, 63 sectors/track, 969021 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0xbc75a4e7

** Device Boot******Start******** End******Blocks** Id**System
/dev/sdf1************** 2******969021** 488386080****f**W95 Ext'd (LBA)
/dev/sdf5************** 2******969021** 488386048+** 7**HPFS/NTFS
Thanks for the help
  #4 (permalink)  
Old 29-May-2008, 18:09
Dean
Guest
 
Posts: n/a
Default


Quote:
A few days ago, i removed 2 of my hard disks to copy 800GB of files (would take to long over network). When i put them back, i couldnt get them to automount anymore.[/b]
I have seen occasional issues with NTFS drives using ntfs-3g, whereby they need to be mounted via windows and unmounted again, before mounting with ntfs-3g again. I don't know if this is because journals need to be cleaned up first, but it did work for me. (If you google around with 'ntfs-3g clean up chkdisk' and similar, you will find similar posts).
  #5 (permalink)  
Old 29-May-2008, 18:29
mooreted
Guest
 
Posts: n/a
Default

Quote:
I installed opensuse 10.3 for the first time last week, on my file/download server. During the installation i accepted the default proposals for mounting my NTFS partitions.
They all automounted on boot, no problems. A few days ago, i removed 2 of my hard disks to copy 800GB of files (would take to long over network). When i put them back, i couldnt get them to automount anymore.

This is what fstab looks like:
Code:
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part6 /********************ext3****** acl,user_xattr********1 1
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part5 /home****************ext3****** acl,user_xattr********1 2
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part1 /windows/C********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part2 /windows/D********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1200JB-00WD-WMACM1876272-part1 /windows/E********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_Maxtor_6L250S0_L50GNACG-part1 /windows/F********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST31000340AS_9QJ01CCK-part1 /windows/G********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3500630AS_3QG02EZT-part5 /windows/H********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3500630AS_5QG0H4ES-part5 /windows/I********** ntfs-3g****auto,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part4 swap**************** swap****** defaults**************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/fd0************ /media/floppy********auto****** noauto,user,sync******0 0
After reading several howtos on mounting ntfs partitions, i changed my fstab to this:
Code:
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part6 /********************ext3****** acl,user_xattr********1 1
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part5 /home****************ext3****** acl,user_xattr********1 2
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part4 swap**************** swap****** defaults**************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/fd0************ /media/floppy********auto****** noauto,user,sync******0 0
/dev/sdf5************/windows/i********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sda2************/windows/d********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sdb1************/windows/e********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sdc5************/windows/h********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sdd1************/windows/g********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
/dev/sde1************/windows/f********** ntfs-3g****** user,users,gid=users,umask=0002,locale=en_US.UTF-8**** 0 0
This caused all the hard disks to disapear from sysinfo

Then i tried this:

Code:
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part6 /********************ext3****** acl,user_xattr********1 1
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part5 /home****************ext3****** acl,user_xattr********1 2
/dev/disk/by-id/scsi-SATA_Maxtor_6Y120L0_Y3KX120E-part4 swap**************** swap****** defaults**************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/fd0************ /media/floppy********auto****** noauto,user,sync******0 0
/dev/sda2************/windows/d********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdb1************/windows/e********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sde1************/windows/f********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdd1************/windows/g********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdc5************/windows/h********** ntfs-3g****** auto,user,rw,sync**** 0 0
/dev/sdf5************/windows/i********** ntfs-3g****** auto,user,rw,sync**** 0 0
Which caused all the partitions to mount, except sdc5 and sdf5, which is the same problem i had before i changed fstab. So i changed it back to the original fstab

Both of the partitions that wont mount, are extended partitions, while all the other partitions are not. I dont know if that makes a difference but i'll add the info anyway.

Its not unlikely that i made a dumb mistake somewhere, since i'm quite the linux noob.
I hope someone will be able to help me with this.
[/b]
What happens if, as root, you do:

mount -t ntfs-3g /dev/sdf5 /windows/h -o force


  #6 (permalink)  
Old 29-May-2008, 21:38
swerdna
Guest
 
Posts: n/a
Default

Based on the fdisk output the ntfs part of fstab should be like this:
/dev/sda2 /windows/d ntfs-3g defaults 0 0
/dev/sdb1 /windows/e ntfs-3g defaults 0 0
/dev/sde1 /windows/f ntfs-3g defaults 0 0
/dev/sdd1 /windows/g ntfs-3g defaults 0 0
/dev/sdc5 /windows/h ntfs-3g defaults 0 0
/dev/sdf5 /windows/i ntfs-3g defaults 0 0
/dev/sdf5 /windows/something ntfs-3g defaults 0 0

That's if you want sdf5 as well.
Any that don't mount, goto windows via multiboot and like Dean suggested run chkdsk to "clean" them. You can run it for all ntfs partitions bar the Windows system partition bu going to My computer, R-click a drive icon --> select Properties --> Tools --> Check the volume for errors (Check Now).

For the system drive (usually C) do the same thing and it will schedule the check at boot time rather than in now time. So reboot and it will be effected.

Then you should be good to go in Suse with the mounts above. If they still bork mounting on Suse after chkdsk has run, you'll have to add the "force" parameter to the lines in fstab. mooreted was going to suggest that probably. But deal with that if it comes to that. I've lost data using the "force" parameter.

Swerdna

Swerdna
  #7 (permalink)  
Old 30-May-2008, 09:04
Ellhound
Guest
 
Posts: n/a
Default

Quote:
Based on the fdisk output the ntfs part of fstab should be like this:
/dev/sda2 /windows/d ntfs-3g defaults 0 0
/dev/sdb1 /windows/e ntfs-3g defaults 0 0
/dev/sde1 /windows/f ntfs-3g defaults 0 0
/dev/sdd1 /windows/g ntfs-3g defaults 0 0
/dev/sdc5 /windows/h ntfs-3g defaults 0 0
/dev/sdf5 /windows/i ntfs-3g defaults 0 0
/dev/sdf5 /windows/something ntfs-3g defaults 0 0

That's if you want sdf5 as well.
Any that don't mount, goto windows via multiboot and like Dean suggested run chkdsk to "clean" them. You can run it for all ntfs partitions bar the Windows system partition bu going to My computer, R-click a drive icon --> select Properties --> Tools --> Check the volume for errors (Check Now).

For the system drive (usually C) do the same thing and it will schedule the check at boot time rather than in now time. So reboot and it will be effected.

Then you should be good to go in Suse with the mounts above. If they still bork mounting on Suse after chkdsk has run, you'll have to add the "force" parameter to the lines in fstab. mooreted was going to suggest that probably. But deal with that if it comes to that. I've lost data using the "force" parameter.

Swerdna

Swerdna
[/b]
I tried your suggested fstab entries(left out one line, reason below), and all the NTFS disks disapeared from sysinfo.
By the way, is it me or are you trying to mount the same partition twice like this:

/dev/sdf5 /windows/i ntfs-3g defaults 0 0
/dev/sdf5 /windows/something ntfs-3g defaults 0 0

I'll start cleaning them all then, although it does surprise me that the disks that mounted fine before, have now disapeared.
I'd rather not use force, if it causes unstable/not safe behaviour.
  #8 (permalink)  
Old 30-May-2008, 09:19
swerdna
Guest
 
Posts: n/a
Default

Quote:
I tried your suggested fstab entries(left out one line, reason below), and all the NTFS disks disapeared from sysinfo.
By the way, is it me or are you trying to mount the same partition twice like this:

/dev/sdf5 /windows/i ntfs-3g defaults 0 0
/dev/sdf5 /windows/something ntfs-3g defaults 0 0

I'll start cleaning them all then, although it does surprise me that the disks that mounted fine before, have now disapeared.
I'd rather not use force, if it causes unstable/not safe behaviour.
[/b]
I wrote sdf5 twice by mistake.

After they mount, if not in sysinfo, look in /windows/whatever (c, d, etc). I just checked my mounted ntfs partition. The files appear in the mount directory but there's no indication of the mount in sysinfo (which I hadn't previously realised). It seems USB-attached NTFS appears in sysinfo for me but not the ntfs on my second IDE channel on the motherboard. Curious.

Swerdna
  #9 (permalink)  
Old 30-May-2008, 11:10
Ellhound
Guest
 
Posts: n/a
Default

Another question, do you have to enable "scan and attempt recovery of bad sectors"?
Because i enabled that, and after 2 hours its on about 5%. (thats on the first of 5 disks)

After the first one finished cleaning, i booted suse again and its still not mounted, not in sysinfo, nor in the location it was to be mounted.
  #10 (permalink)  
Old 30-May-2008, 15:37
swerdna
Guest
 
Posts: n/a
Default

Quote:
Another question, do you have to enable "scan and attempt recovery of bad sectors"?
Because i enabled that, and after 2 hours its on about 5%. (thats on the first of 5 disks)
[/b]
Looks like a drive perhaps with bad sectors. I suggest to do the check at the command prompt (start --> run --> cmd) using this form at the prompt:
Code:
chkdsk H: /R
And look at the dialogue for error messages
Quote:
After the first one finished cleaning, i booted suse again and its still not mounted, not in sysinfo, nor in the location it was to be mounted.
[/b]
Regarding the one/s that do not mount: do you get a diagnostic error message when you use this command in a console:
Code:
sudo ntfs-3g /dev/sdxx /windows/whatever
Or does the partition simply mount OK?
(of course replace 'xx' and 'whatever' with correct codes)

Swerdna
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2