添加大小均为 10G 的虚拟磁盘,配置 raid-5 磁盘。
添加大小均为 10G 的虚拟磁盘,配置 raid-5 磁盘。
创建 LVM 命名为/dev/vg01/lv01,大小为 100G,格式化为 ext4,挂在到本地目
录/webdata,在分区内建立测试空文件 disk.txt
[root@storagesrv ~]
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 19G 0 part
├─centos-root 253:0 0 17G 0 lvm /
└─centos-swap 253:1 0 2G 0 lvm [SWAP]
sdb 8:16 0 10G 0 disk
sdc 8:32 0 10G 0 disk
sdd 8:48 0 10G 0 disk
sde 8:64 0 10G 0 disk
sdf 8:80 0 10G 0 disk
sdg 8:96 0 10G 0 disk
sdh 8:112 0 10G 0 disk
sdi 8:128 0 10G 0 disk
sdj 8:144 0 10G 0 disk
sdk 8:160 0 10G 0 disk
sdl 8:176 0 10G 0 disk
sdm 8:192 0 10G 0 disk
sdn 8:208 0 10G 0 disk
sr0 11:0 1 4.2G 0 rom
[root@storagesrv ~]
[root@storagesrv ~]
[root@storagesrv ~]
[root@storagesrv ~]
[root@storagesrv ~]
--- Logical volume ---
LV Path /dev/centos/swap
LV Name swap
VG Name centos
LV UUID uR2how-ZAht-cG0G-9i1s-lcnE-RxnH-iCHcdq
LV Write Access read/write
LV Creation host, time localhost, 2022-04-01 11:54:25 -0400
LV Status available
LV Size 2.00 GiB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:1
--- Logical volume ---
LV Path /dev/centos/root
LV Name root
VG Name centos
LV UUID ogcqfJ-fNdW-2BaJ-d237-tUJT-Wv3p-u8Q1Ct
LV Write Access read/write
LV Creation host, time localhost, 2022-04-01 11:54:25 -0400
LV Status available
LV Size <17.00 GiB
Current LE 4351
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:0
--- Logical volume ---
LV Path /dev/vg01/lv01
LV Name lv01
VG Name vg01
LV UUID QuU2P3-siBK-7Lc0-Rp9Z-tIAI-eyxS-q6ewtJ
LV Write Access read/write
LV Creation host, time storagesrv, 2022-05-17 14:24:57 -0400
LV Status available
LV Size 100.00 GiB
Current LE 25600
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 22528
Block device 253:2
[root@storagesrv ~]
[root@storagesrv ~]
[root@storagesrv ~]
[root@storagesrv ~]
[root@storagesrv ~]
[root@storagesrv webdata]
[root@storagesrv webdata]
disk.txt lost+found
[root@storagesrv webdata]