Search This Blog

Thursday, May 5, 2011

Creating Striped Logical Volume

Two new lvcreate options are required to implement striping. –i determine the number of disks to stripe across and –I sets the stripe size.

Create a striped LV, striped across 2 disks, with an 8k stripe size. –i and –I must be specified when the logical volume is first created. There is no way to change the number of size of the stripes in existing logical volumes.

# lvcreate –n data –i 2 –I 8 –L 128 vg01

Create a stripe logical volume, striped across two specific disks, with an 8K stripe size.

# lvcreate –n data –i 2 –I 8 vg01
# lvextend –L 128 /dev/vg01/data /dev/dsk/c0t0d0 /dev/dsk/c1t0d0

Display a striped logical volume. Note the two striping-related lines in the header information. Stripes report the number of disks you have striped across. Stripe Size reports the stripe size in kilobytes.

No comments:

Post a Comment