Ubuntu 16.04
Sponsored Link

Create Striped Volume2016/09/12

 
Create Striped Volume.
[1] For exmaple, create a Striped Volume with Phisical Volume /dev/sdb1 and /dev/sdc1.
# create vlume group "vg_striped" with /dev/sdb1 and /dev/sdc1

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

  Logical volume "vg_striped" 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                Lj7pM8-qBtr-Y12i-dADX-NWw6-W3Dh-1BuSYs
  LV Write Access        read/write
  LV Creation host, time node04.srv.world, 2016-09-14 16:16:01 +0900
  LV Status              available
  # open                 0
  LV Size                30.00 GiB
  Current LE             7680
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     512
  Block device           252:2

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

  VG         LV         Devices                   LSize
  ubuntu     root       /dev/sda2(996)            45.62g
  ubuntu     swap       /dev/sda2(0)               3.89g
  vg_striped lv_striped /dev/sdb1(0),/dev/sdc1(0) 50.00g
Matched Content