Home > CPanel / WHM, Installation, Uncategorized > command to activate VG on LVM?

command to activate VG on LVM?

February 10th, 2018 Leave a comment Go to comments

Command to activate VG on LVM?

When you create a volume group, by default, it is activated. Sometimes you may need to activate it manually to make the kernel aware of volume groups.

To activate,

# vhchage -ay my_vg_name

To De-activate,

# vgchnage -an my_vg_name

A command to activate the VG in a cluster?

To activate exclusively on one node,

# vgchange -aey my_vg_name

To deactivate exclusively on one node,

# vgchange -aen my_vg_name

To activate only on the local node,

# vgchange -aly my_vg_name
To deactivate only on the local node,
# vgchange -aln my_vg_name

 

 

  1. No comments yet.
You must be logged in to post a comment.
%d bloggers like this: