Hi all. Not sure where to post this, so figured I'd start here. I have a LVM2 partition that has become unreadable. I've scoured dozens of threads about the topic and have hit a wall, so any advice is appreciated. Below is what I think shows what my major problem is:
First, a simple mount attempt gives me:
$ sudo mount /dev/VolGroup00/LogVol01 /fluffy_main/
mount: /dev/mapper/VolGroup00-LogVol01 is write-protected, mounting read-only
mount: /dev/mapper/VolGroup00-LogVol01: can't read superblock
$ sudo dmesg | tail -n18
[4396115.450550] Buffer I/O error on device dm-1, logical block 153599984
[4396115.450553] Buffer I/O error on device dm-1, logical block 153599984
[4396115.450557] Buffer I/O error on device dm-1, logical block 153599998
[4396115.450559] Buffer I/O error on device dm-1, logical block 153599998
[4396115.450563] Buffer I/O error on device dm-1, logical block 0
[4396115.450565] Buffer I/O error on device dm-1, logical block 0
[4396115.450569] Buffer I/O error on device dm-1, logical block 1
[4396115.450573] Buffer I/O error on device dm-1, logical block 153599999
[4396115.450577] Buffer I/O error on device dm-1, logical block 153599999
[4396115.450579] Buffer I/O error on device dm-1, logical block 153599999
[4396115.451072] EXT4-fs (dm-1): unable to read superblock
[4396115.451109] EXT4-fs (dm-1): unable to read superblock
[4396115.451136] EXT4-fs (dm-1): unable to read superblock
[4396115.451256] EXT4-fs (dm-1): unable to read superblock
[4396115.451284] EXT4-fs (dm-1): unable to read superblock
[4396115.451309] EXT4-fs (dm-1): unable to read superblock
[4396115.451337] isofs_fill_super: bread failed, dev=dm-1, iso_blknum=16, block=32
[4396115.451365] FAT-fs (dm-1): unable to read boot sector
I then tried checking the LVM through fsck:
$ sudo e2fsck -fv /dev/dm-1
e2fsck 1.42.7 (21-Jan-2013)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/dm-1
Could this be a zero-length partition?
with a similar dmesg output to above (Buffer I/O error...).
I found other possible superblocks to try and rebuild the filesystem:
$ sudo mke2fs -n /dev/sde2
mke2fs 1.42.7 (21-Jan-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
43376640 inodes, 173505280 blocks
8675264 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
5295 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000
But none of these are able to be read using e2fsck.
Low number superblocks give me this error:
$ sudo e2fsck -f -b 32768 /dev/VolGroup00/LogVol01
e2fsck 1.42.7 (21-Jan-2013)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/VolGroup00/LogVol01
Could this be a zero-length partition?
$ sudo dmesg | tail
[4396348.465272] Buffer I/O error on device dm-1, logical block 8192
[4396348.465275] Buffer I/O error on device dm-1, logical block 8192
[4396348.465388] Buffer I/O error on device dm-1, logical block 16384
[4396348.465391] Buffer I/O error on device dm-1, logical block 16384
[4396348.465412] Buffer I/O error on device dm-1, logical block 32768
[4396348.465414] Buffer I/O error on device dm-1, logical block 32768
[4396348.465434] Buffer I/O error on device dm-1, logical block 65536
[4396348.465436] Buffer I/O error on device dm-1, logical block 65536
[4396348.465467] Buffer I/O error on device dm-1, logical block 131072
[4396348.465471] Buffer I/O error on device dm-1, logical block 131072
While higher numbered superblocks give me this error:
$ sudo e2fsck -f -b 20480000 /dev/VolGroup00/LogVol01
e2fsck 1.42.7 (21-Jan-2013)
e2fsck: Invalid argument while trying to open /dev/VolGroup00/LogVol01
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
$ sudo dmesg | tail
[4396444.356681] quiet_error: 318 callbacks suppressed
[4396444.356684] Buffer I/O error on device dm-1, logical block 5120000
[4396444.356687] Buffer I/O error on device dm-1, logical block 5120000
[4396444.356860] Buffer I/O error on device dm-1, logical block 10240000
[4396444.356864] Buffer I/O error on device dm-1, logical block 10240000
[4396444.356896] Buffer I/O error on device dm-1, logical block 20480000
[4396444.356900] Buffer I/O error on device dm-1, logical block 20480000
[4396444.356929] Buffer I/O error on device dm-1, logical block 40960000
[4396444.356933] Buffer I/O error on device dm-1, logical block 40960000
[4396444.356966] Buffer I/O error on device dm-1, logical block 81920000
[4396444.356970] Buffer I/O error on device dm-1, logical block 81920000
Anyways, I am stuck as to what I can possibly do from here or what else I should look for. If anyone has any other ideas or can point me towards a resource that can help me along, I would be most grateful!