LVM file system 格式化
root@zhou:/home/ubuntu# pvs PV VG Fmt Attr PSize PFree /dev/sdc3 klas00 lvm2 a-- <3.64t 0 root@zhou:/home/ubuntu#
root@zhou:/home/ubuntu# pvs PV VG Fmt Attr PSize PFree /dev/sdc3 klas00 lvm2 a-- <3.64t 0 root@zhou:/home/ubuntu# vgscan Reading volume groups from cache. Found volume group "klas00" using metadata type lvm2 root@zhou:/home/ubuntu# vgdisplay -v klas00 --- Volume group --- VG Name klas00 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 4 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size <3.64 TiB PE Size 4.00 MiB Total PE 953555 Alloc PE / Size 953555 / <3.64 TiB Free PE / Size 0 / 0 VG UUID 7EB0fc-tqpd-h6EU-tbZP-V9i4-FiwF-agWNsV --- Logical volume --- LV Path /dev/klas00/swap LV Name swap VG Name klas00 LV UUID A8rnrm-G5Jy-yhB9-NE6A-wmE0-Ah37-BReoye LV Write Access read/write LV Creation host, time localhost, 2020-04-21 10:36:43 +0800 LV Status available # open 0 LV Size 4.00 GiB Current LE 1024 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 --- Logical volume --- LV Path /dev/klas00/home LV Name home VG Name klas00 LV UUID ioExZc-sJ7U-VCQS-IZSF-Cn91-Nf8V-6TBV4A LV Write Access read/write LV Creation host, time localhost, 2020-04-21 10:36:44 +0800 LV Status available # open 0 LV Size 3.58 TiB Current LE 939731 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1 --- Logical volume --- LV Path /dev/klas00/root LV Name root VG Name klas00 LV UUID MRRxfE-HEbB-ApXU-deQl-Qjkh-WYhe-7Wm4ER LV Write Access read/write LV Creation host, time localhost, 2020-04-21 10:36:55 +0800 LV Status available # open 0 LV Size 50.00 GiB Current LE 12800 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:2 --- Physical volumes --- PV Name /dev/sdc3 PV UUID RRB3p6-rwHe-pesY-APhZ-kEvv-Gwlu-RzSCRK PV Status allocatable Total PE / Free PE 953555 / 0 root@zhou:/home/ubuntu#