6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_lv
Manages logical volumes.
Description
ibrix_lv creates logical volumes (file-system segments) from a volume group. You can specify
logical volume names or allow the names to be assigned automatically. Optionally, you can specify
a logical volume size (the minimum size is 1 GB). Additional memory allocation is rounded to the
next higher 32 MB. If you do not specify a size, the Fusion Manager evenly divides the whole
volume group among the logical volumes.
Linux lvcreate creates a logical volume in an existing volume group. With some forms of
ibrix_lv, you can set values for Linux lvcreate options.
Synopsis
Create logical volumes from the specified volume group and name them with the string LVNAME
followed by an underscore and a numeric suffix:
ibrix_lv -c [-S SIZE] [-o "OPTIONS"] -n COUNT -g VGNAME -s LVNAME
Numeric suffixes are assigned in sequential order beginning with 1. The maximum value of the
series is set by the value of COUNT. To specify logical volume size, include the -S SIZE option.
For example, to create three 64-GB logical volumes named ilv_i1, ilv_2, and ilv_3 from volume
group ivg1:
ibrix_lv -c -S 64000 -n 3 -g ivg1 -s ilv
To specify Linux lvcreate options, include the -o "OPTIONS" option. For example to set a
readahead value of 60 sectors, enter -o "-r 60".
Create logical volumes from the specified volume group and assign them the names in LVLIST:
ibrix_lv -c [-S SIZE] [-o "OPTIONS"] -g VGNAME -s LVLIST
To specify logical volume size, include the -S SIZE option. The following example creates two
64-GB logical volumes named ilv1 and ilv2 from volume group ivg1:
ibrix_lv -c -S 64000 -g ivg1 -s ilv1,ilv2
To specify lvcreate options, include the -o "OPTIONS" option.
List segment information:
ibrix_lv -l [-s LVLIST]
The command reports information for all segments or the segments specified in LVLIST.
Delete the segments specified in LVLIST:
ibrix_lv -d -s LVLIST
Options
DescriptionOptions
Specifies the size in MB of a logical volume. The minimum size is 1 GB. For sizes larger than
1 GB, the value is adjusted to the next higher 32 MB increment.
-S SIZE
Creates a logical volume.-c
Deletes a logical volume.-d
Specifies a volume group name.-g VGNAME
Lists logical volume information, including size in MB, name of file system, segment number,
volume group name, and any options.
-l
ibrix_lv 133