troubleshooting Question

LVM or FS corruption

Avatar of g0all
g0allFlag for Saint Pierre and Miquelon asked on
LinuxStorage
7 Comments1 Solution617 ViewsLast Modified:
Hi,

I've online shrinked online my lv_root partition and increased lv_home partition.

Bad thing to do, tried to run resize2fs on root partition and after receiving the error that this should be done offline my laptop doesn't boot anymore.

Used the live CD with CentOS and tried to find out what are the superblocks numbers. After that, I've managed to fsck the root partition (some errors where found).

Now, the problem is I cannot see any LV, VG or anything else related to my data. pvdisplay or vgdisplay shows nothing. In rescue mode any of these aren't seen.

When trying to boot in init 5, I get the following:

dracut: warning: no root device bloock:/dev/mapper/vg-home-lv_root found

dracut: warning: no root device bloock:/dev/mapper/vg-home-lv_root found
dracut: warning: no root device bloock:/dev/mapper/vg-home-lv_swap found
dracut: warning: boot has failed.


Please help me with this huge issue.
ASKER CERTIFIED SOLUTION
Kerem ERSOYNetwork and IT Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros