Normally, volume groups are automatically activated during system startup. Unless you intentionally deactivate a volume group using vgchange, you will probably not need to reactivate a volume group.
However, LVM does require that a "quorum" of disks in a volume group be available. During normal system operation, LVM needs a quorum of more than half of the disks in a volume group for activation. If, during run time, a disk fails and causes quorum to be lost, LVM alerts you with a message to the console, but keeps the volume group active.
If there is no other way to make a quorum available, the -q option to the vgchange command will override the quorum check.
EXAMPLE:
vgchange -a y -q n /dev/vg01
When you replace a disk that was not online when you originally activated the volume group, use the activation command again to attach the now accessible disks to the volume group.
EXAMPLE:
vgchange -a y /dev/vg01
Monday, 14 March 2011
Activating a VG when quorum is lost
Labels:
Activating LVM,
Activating VG,
Linux,
LVM,
Override LVM Check,
quick howto,
Quorum Lost,
VG,
vgchange
Subscribe to:
Post Comments (Atom)
Thank you... Your tip has solved my problem...
ReplyDelete