Ce contenu n'est pas disponible dans la langue sélectionnée.
6.2. Displaying Information on Failed Devices
You can use the
-P
argument of the lvs
or vgs
command to display information about a failed volume that would otherwise not appear in the output. This argument permits some operations even though the metatdata is not completely consistent internally. For example, if one of the devices that made up the volume group vg
failed, the vgs
command might show the following output.
vgs -o +devices
[root@link-07 tmp]# vgs -o +devices
Volume group "vg" not found
If you specify the
-P
argument of the vgs
command, the volume group is still unusable but you can see more information about the failed device.
In this example, the failed device caused both a linear and a striped logical volume in the volume group to fail. The
lvs
command without the -P
argument shows the following output.
lvs -a -o +devices
[root@link-07 tmp]# lvs -a -o +devices
Volume group "vg" not found
Using the
-P
argument shows the logical volumes that have failed.
The following examples show the output of the
pvs
and lvs
commands with the -P
argument specified when a leg of a mirrored logical volume has failed.