X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=guestfish-actions.pod;h=47fb59b795f99725f82a1d431daf0fecdd657524;hb=68b7076d4b61f00c5a2fd9282f0a3c59d429c7df;hp=a79e33638160aeb7eccff181024ea4d61d50b2e8;hpb=8f9f02d483b87c787d089cf9329f5f1b81d3a77e;p=libguestfs.git diff --git a/guestfish-actions.pod b/guestfish-actions.pod index a79e336..47fb59b 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -629,6 +629,16 @@ and physical volumes. B. +=head2 lvremove + + lvremove device + +Remove an LVM logical volume C, where C is +the path to the LV, such as C. + +You can also remove all LVs in a volume group by specifying +the VG name, C. + =head2 lvs lvs @@ -730,6 +740,17 @@ This creates an LVM physical volume on the named C, where C should usually be a partition name such as C. +=head2 pvremove + + pvremove device + +This wipes a physical volume C so that LVM will no longer +recognise it. + +The implementation uses the C command which refuses to +wipe physical volumes that contain any volume groups, so you have +to remove those first. + =head2 pvs pvs @@ -942,8 +963,8 @@ to create a new zero-length file. tune2fs-l device -This returns the contents of the ext2 or ext3 filesystem superblock -on C. +This returns the contents of the ext2, ext3 or ext4 filesystem +superblock on C. It is the same as running C. See L manpage for more details. The list of fields returned isn't @@ -986,6 +1007,15 @@ Use C<-> instead of a filename to read/write from stdin/stdout. This creates an LVM volume group called C from the non-empty list of physical volumes C. +=head2 vgremove + + vgremove vgname + +Remove an LVM volume group C, (for example C). + +This also forcibly removes all logical volumes in the volume +group (if any). + =head2 vgs vgs