lvm


[root@vds-node03 etc]# vgs
File descriptor 7 (pipe:[142140]) leaked on vgs invocation. Parent PID 16989: bash
[root@vds-node03 etc]# vgcreate local_lvm /dev/sda5
File descriptor 7 (pipe:[142140]) leaked on vgcreate invocation. Parent PID 16989: bash
  Can't open /dev/sda5 exclusively.  Mounted filesystem?
  Unable to add physical volume '/dev/sda5' to volume group 'local_lvm'.
[root@vds-node03 etc]# umount /vds
[root@vds-node03 etc]# vgcreate local_lvm /dev/sda5
File descriptor 7 (pipe:[142140]) leaked on vgcreate invocation. Parent PID 16989: bash
WARNING: xfs signature detected on /dev/sda5 at offset 0. Wipe it? [y/n]: y
  Wiping xfs signature on /dev/sda5.
  Physical volume "/dev/sda5" successfully created
  Volume group "local_lvm" successfully created
[root@vds-node03 etc]# vgs
File descriptor 7 (pipe:[142140]) leaked on vgs invocation. Parent PID 16989: bash
  VG        #PV #LV #SN Attr   VSize VFree
  local_lvm   1   0   0 wz--n- 1,73t 1,73t
[root@vds-node03 etc]#

Читать дальше →