|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Hardware Questions about hardware installation or configuration in SUSE Linux |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 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 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 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. |
|
|||
|
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 Swerdna |
|
|||
|
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 |
|
|||
|
Quote:
|
|
|||
|
Quote:
mount -t ntfs-3g /dev/sdf5 /windows/h -o force |
|
|||
|
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 |
|
|||
|
Quote:
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. |
|
|||
|
Quote:
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 |
|
|||
|
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. |
|
|||
|
Quote:
Code:
chkdsk H: /R Quote:
Code:
sudo ntfs-3g /dev/sdxx /windows/whatever (of course replace 'xx' and 'whatever' with correct codes) Swerdna |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|