5

[SOLVED] Second HD no longer mounting

view full story
linux-howto

http://ubuntuforums.org – I have a second internal HD, previously mounted and working. This morning I find the PC unresponsive, doesn't answer pings, blank screen (was running gnome), nothing on the virtual terminals (Ctl-Alt-F1-6), so I powered it down and rebooted. Now some partitions (the important ones) on the HD won't mount! I believe the drive is functional, since /dev/sdb4 is mounted as swap and /dev/sdb3 is mounted as /mnt/ub7.10 - my old ubuntu partition). I fear I pulled the plug on a "non-responsive PC" but it was running fsck or something. Is the superblock corrupted? Are the block id's (output from blkid) cached or stored on the disk? What tools do I have at my disposal? Code: # mount /dev/sdb1 mount: wrong fs type, bad option, bad superblock on /dev/sdb1,       missing codepage or helper program, or other error       In some cases useful info is found in syslog - try       dmesg | tail  or so # blkid | grep sdb1 /dev/sdb1: UUID="3e4a975a-e771-4bd5-975b-bf27c019cac0" TYPE="jfs" # grep 3e4a /etc/fstab UUID=3e4a975a-e771-4bd5-975b-bf27c019cac0 /z    jfs    relatime        0      2 # dmesg | grep sdb [    1.937133] sd 0:0:1:0: [sdb] 312581808 512-byte hardware sectors: (160 GB/149 GiB) [    1.937154] sd 0:0:1:0: [sdb] Write Protect is off [    1.937157] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00 [    1.937192] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [    1.937263] sd 0:0:1:0: [sdb] 312581808 512-byte hardware sectors: (160 GB/149 GiB) [    1.937282] sd 0:0:1:0: [sdb] Write Protect is off [    1.937285] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00 [    1.937319] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [    1.937323]  sdb: sdb1 sdb2 sdb3 sdb4 [    1.985901] sd 0:0:1:0: [sdb] Attached SCSI disk [  11.461397] Adding 1959920k swap on /dev/sdb4.  Priority:-1 extents:1 across:1959920k -- Quentin :confused: and :scared: (Hardware)