4,512
edits
add 50% to SSH section |
→Physical volume: width 50% |
||
Line 24: | Line 24: | ||
! Command | ! Command | ||
|- | |- | ||
| Initialize for use as LVM physical volume. | | style="width: 50%;" | Initialize for use as LVM physical volume. | ||
| <code>pvcreate /dev/sdb1</code> | | style="width: 50%;" | <code>pvcreate /dev/sdb1</code> | ||
|- | |- | ||
| Scanning for block devices. | | style="width: 50%;" | Scanning for block devices. | ||
| <code>lvmdiskscan</code> | | style="width: 50%;" | <code>lvmdiskscan</code> | ||
|- | |- | ||
| Display the physical volumes. | | style="width: 50%;" | Display the physical volumes. | ||
| <code>pvdisplay</code> | | style="width: 50%;" | <code>pvdisplay</code> | ||
|- | |- | ||
| Show all physical devices. | | style="width: 50%;" | Show all physical devices. | ||
| <code>pvscan</code> | | style="width: 50%;" | <code>pvscan</code> | ||
|- | |- | ||
| Prevent allocation of physical extents on the free space of one or more physical volumes. | | style="width: 50%;" | Prevent allocation of physical extents on the free space of one or more physical volumes. | ||
| <code>pvchange -x n /dev/sdb1</code> | | style="width: 50%;" | <code>pvchange -x n /dev/sdb1</code> | ||
|- | |- | ||
| Resize. | | style="width: 50%;" | Resize. | ||
| <code>pvresize</code> | | style="width: 50%;" | <code>pvresize</code> | ||
|- | |- | ||
| Remove LVM label. | | style="width: 50%;" | Remove LVM label. | ||
| <code>pvremove</code> | | style="width: 50%;" | <code>pvremove</code> | ||
|} | |} | ||