hi.
i have an external harddrive, hooked up by usb. /dev/sdb
it came as a fat drive (sdb1). when i realized, i had copied 250 gb to it already. so, i made a new ext3 (sdb2) partition, copied the data from the fat to ext3, and then deleted the fat drive and moved the ext3 it with gparted.
it mounted fine after it was moved, but after i tried to resize it, which didn't work, it will not mount.
fdisk -l
Code:
[root@localhost dan]# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
...irrelevant, deleted
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00074739
Device Boot Start End Blocks Id System
/dev/sdb2 1 88040 707173267+ 83 Linux
mounting...
Code:
[root@localhost dan]# mount -t ext3 /dev/sdb2 /mnt/sdb2
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg|tail
Code:
[root@localhost dan]# dmesg|tail
b44: eth0: Flow control is off for TX and off for RX.
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:15:c5:77:98:97:00:0d:29:2e:61:00:08:00 SRC=121.157.166.12 DST=121.146.83.148 LEN=111 TOS=0x00 PREC=0x00 TTL=116 ID=15015 PROTO=UDP SPT=10870 DPT=10870 LEN=91
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:15:c5:77:98:97:00:0d:29:2e:61:00:08:00 SRC=121.157.166.12 DST=121.146.83.148 LEN=111 TOS=0x00 PREC=0x00 TTL=116 ID=19674 PROTO=UDP SPT=10870 DPT=10870 LEN=91
Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:15:c5:77:98:97:00:0d:29:2e:61:00:08:00 SRC=121.157.166.12 DST=121.146.83.148 LEN=111 TOS=0x00 PREC=0x00 TTL=116 ID=29706 PROTO=UDP SPT=10870 DPT=10870 LEN=91
EXT3-fs error (device sdb2): ext3_check_descriptors: Block bitmap for group 256 not in group (block 0)!
EXT3-fs: group descriptors corrupted!
EXT3-fs error (device sdb2): ext3_check_descriptors: Block bitmap for group 256 not in group (block 0)!
EXT3-fs: group descriptors corrupted!
fsck
Code:
[root@localhost dan]# fsck.ext3 /dev/sdb2
e2fsck 1.41.9 (22-Aug-2009)
fsck.ext3: Group descriptors look bad... trying backup blocks...
fsck.ext3: The ext2 superblock is corrupt when using the backup blocks
fsck.ext3: going back to original superblock
fsck.ext3: Device or resource busy while trying to open /dev/sdb2
Filesystem mounted or opened exclusively by another program?
lsof|grep /dev/sdb
mount|grep sdb
both reveal nothing.
e2fsck
Code:
e2fsck -f -v /dev/sdb2
e2fsck 1.41.9 (22-Aug-2009)
e2fsck: Group descriptors look bad... trying backup blocks...
e2fsck: The ext2 superblock is corrupt when using the backup blocks
e2fsck: going back to original superblock
e2fsck: Device or resource busy while trying to open /dev/sdb2
Filesystem mounted or opened exclusively by another program?
resize2fs
Code:
[root@localhost dan]# resize2fs /dev/sdb2
resize2fs 1.41.9 (22-Aug-2009)
The filesystem is already 176793316 blocks long. Nothing to do!
gparted still sees the partitions, though. /dev/sdb1 is gone (as it should be).
I'm at a loss. Can anyone help?