Re: LVM problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Recently I also suffered problems with LVM(2)
 
These are very basic things I presume U might have already done but just in case if not ...
 
imho pl boot with rescue disk (or mode)
As a precaution select read-only mount of file system
if required chroot to /mnt/sysimage
# mount  ! look for lvm things specifically a word - mapper
# pvdisplay
# vgdisplay
# lvdisplay
# pvscan
# vgscan
# lvscan
 
thiese will tell status of lvm things
Then check /etc/fstab (carefully)
 
U may then "very very carefully" use e2fsck or fsck [{("after dismounting the volumes")}] as you may you deem fit.
"very very carefully"  means, as a minimum, first read both manpages, try these commands in read-only mode + do not modify anything + verbose.
 
### use vgck with caution and also checkout /etc/lvm/lvm.conf
 
U may try in init 1 mode also but more caution requested.
 
good luck & Pl post if U get it right this way or anyway.
 
--
Anil Kumar Shrama
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux