Debian 12 bookworm
Sponsored Link

Create Striped Volume2023/07/18

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]

vgcreate vg_striped /dev/sdb1 /dev/sdc1

  Volume group "vg_striped" successfully created

# create striped volume

lvcreate -L 80G -i2 -I 64 -n lv_striped vg_striped

  Logical volume "lv_striped" created.

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                TunW0b-H267-TYaJ-fZP2-55o2-K4c1-8Vvl5C
  LV Write Access        read/write
  LV Creation host, time, 2023-07-17 20:42:24 -0500
  LV Status              available
  # open                 0
  LV Size                80.00 GiB
  Current LE             20480
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     512
  Block device           253:2

lvs -a -o vg_name,name,devices,size

  VG         LV         Devices                   LSize
  debian-vg  root       /dev/sda5(0)               78.56g
  debian-vg  swap_1     /dev/sda5(20112)          980.00m
  vg_striped lv_striped /dev/sdb1(0),/dev/sdc1(0)  80.00g
Matched Content