- 论坛徽章:
- 0
|
没有同名!,请问 lvm 相关服务是否只要开启
如下:就可以正常工作.
# systemctl list-unit-files
lvm2-lvmetad.service enabled
lvm2-monitor.service enabled
lvm2-pvscan@.service static
谢谢
[root@~]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 1198.0 GB, 1197998080000 bytes, 2339840000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
# Start End Size Type Name
1 2048 411647 200M EFI System EFI System Partition
2 411648 61851647 29.3G Microsoft basic
3 61851648 66045951 2G Linux swap
4 66045952 2339839966 1.1T Linux LVM
[root@~]# pvscan
PV /dev/sda4 lvm2 [1.06 TiB]
Total: 1 [1.06 TiB] / in use: 0 [0 ] / in no VG: 1 [1.06 TiB]
[root@~]# vgs
No volume groups found
# vgscan
Reading all physical volumes. This may take a while...
No volume groups found
|
|