Ubuntu 22.04
Sponsored Link

Create Striped Volume2022/09/13

 
Create Striped Volume.
[1] For example, create a Striped Volume with Physical Volume [/dev/sdb1] and [/dev/sdc1].
# create volume group [vg_striped] with [/dev/sdb1] and [/dev/sdc1]

root@dlp:~#
vgcreate vg_striped /dev/sdb1 /dev/sdc1

  Volume group "vg_striped" successfully created

# create striped volume

root@dlp:~#
lvcreate -L 50G -i2 -I 64 -n lv_striped vg_striped

  Logical volume "lv_striped" created.

root@dlp:~#
lvdisplay /dev/vg_striped/lv_striped

  --- Logical volume ---
  LV Path                /dev/vg_striped/lv_striped
  LV Name                lv_striped
  VG Name                vg_striped
  LV UUID                PVBTEB-0TSY-YBdE-6PNk-8kt3-jc3p-lPS1hk
  LV Write Access        read/write
  LV Creation host, time dlp.srv.world, 2022-09-13 01:39:26 +0000
  LV Status              available
  # open                 0
  LV Size                50.00 GiB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     512
  Block device           253:1

root@dlp:~#
lvs -a -o vg_name,name,devices,size

  VG         LV         Devices                   LSize
  ubuntu-vg  ubuntu-lv  /dev/sda3(0)              77.00g
  vg_striped lv_striped /dev/sdb1(0),/dev/vdc1(0) 50.00g
Matched Content