Setup guide

Free PE / Size 2124556 / 8.10 TB
6 Create a new logical volume on vg00, using the following command:
lvcreate -l <Free_PE_value>-i <#_of_physical_volumes> -I 32
-n lvol1 vg00
where <Free_PE_value> is the Free PE value you noted in the
preceding step and <#_of_physical_volumes> is the number of
physical volumes. If we continue with the example used in the previous
steps, you would type:
lvcreate -l 2124556 -i 4 -I 32 -n lvol1 vg00
The output confirms the creation of the logical volume:
Logical volume “lvol1” created
NOTE If the command outputs several lines about a file descriptor leaked
on lvdisplay invocation, ignore them.
7 Check if the adsk_lvm startup script has been installed by the DKU to
enable automatic logical volume reassembly upon reboot:
chkconfig --list | grep adsk_lvm
If the script is properly configured, the command output is the following:
adsk_lvm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
If the command output is different, enable the script by typing:
chkconfig --add adsk_lvm
chkconfig adsk_lvm on
Creating the XFS Filesystem on the Logical
Volume
After having created the logical volume, you are now ready to create and
mount the XFS filesystem.
To create and mount an XFS filesystem:
1 Identify the optimal agsize value for your array by running the mkfs.xfs
command. Type:
mkfs.xfs -d agcount=128 -f /dev/vg00/lvol1
This command displays diagnostics information similar to the following
(your values may differ):
190 | Chapter 6 Advanced Configuration and Troubleshooting