- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- root lvm corrupted
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 07:29 PM
тАО05-11-2009 07:29 PM
root lvm corrupted
i am having system which configured with Lvm, somehow it has not shutdown properly and root file system has corrupted which is in lvm.
the root file system is /dev/mapper/VolGroup00-LogVol00 /root
when start it throw error /dev/mapper/VolGroup00-LogVol00 corrupted do fource fsck for this,
how we can do fsck for this and make it work.
Os= Enterprise Linux WS release 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 07:44 PM
тАО05-11-2009 07:44 PM
Re: root lvm corrupted
1. Do not ever run forced FSCK on a mounted file system.
2. Yes if it is a minor error fsck-ext3 will help you out most of the time.
use install medial and boot this system to emergency mode.(type linux emergency on the splash screen prompt) this will bring the system up and by default it will not mount any file systems on fstab.
This is the safest way that you can fsck.
Good Luck...!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 07:47 PM
тАО05-11-2009 07:47 PM
Re: root lvm corrupted
fsck-ext3 /dev/hda etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 08:02 PM
тАО05-11-2009 08:02 PM
Re: root lvm corrupted
Yes, it should.
my recomendation is first just run the fsck-ext3 and see if it works.
fsck -p was a good option for me when i had these kind of problems.
any way its good to have a copy of /etc/lvm/*
Good Luck..!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 10:31 PM
тАО05-11-2009 10:31 PM
Re: root lvm corrupted
Boot appending the "emergency" option in GRUB.
If you boot with the installation media, don't run fsck to the partition, you must activate the LVM volume group and run fsck to the logical volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2009 03:12 AM
тАО05-12-2009 03:12 AM
Re: root lvm corrupted
I believe that you can do this in Linux rescue from your OS install disk if LVM is supported.
Once Knoppix is booted, open a command prompt and type the following.
# lvm vgchange --ignorelockingfailure -P -a y
This will make this LVM volumes available. See the lvm(8) - Linux man page for a description of these switches.
Then type
# lvm lvs
to display the logical volumes.
The devices should be listed in /dev ie: /dev/VolGroup00/LogVol100.
At this point you should be able to run fsck on the logical volume by typing the following with your logical volume name of course.
# fsck /dev/VolGroup00/LogVol100
Remember to always shutdown Linux properly so that the file systems don├в t get corrupted.
Use something like
shutdown -h now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2009 07:36 AM
тАО05-13-2009 07:36 AM
Re: root lvm corrupted
linux rescue
if vg00 not getting mounted automaically.
2.Try to activate the volume groups by running the commands below:
lvmdiskscan
vgchange -ay
3.If vg00 is acitaved Further fsck test can be done using:
tune2fs -l /dev/vg00/lv01 | grep Block
Take note of the Block size.
e2fsck -b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:16 PM
тАО05-21-2009 05:16 PM
Re: root lvm corrupted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 05:41 AM
тАО05-22-2009 05:41 AM
Re: root lvm corrupted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 07:06 AM
тАО05-22-2009 07:06 AM
Re: root lvm corrupted
# lvm vgchange --ignorelockingfailure -P -a y
# fsck /dev/VolGroup00/LogVol100