Setup guide

meta-data=/dev/vg00/lvol1 agcount=128, agsize=1066667 blks
= sectsz=512 attr=0
data = bsize=4096 blocks=134400000, imaxpct=25
= sunit=16 swidth=64 blks, unwritten=1...
2 From the diagnostic information printed in the previous step, note: agsize on the first line, sunit
and swidth on the fourth line.
3 Depending on the values of sunit and swidth, calculate a new agsize value using one of the following
three methods:
If the values of sunit and swidth are both equal to 0, multiply the agsize value by 4096. For
example (your values will differ): 1066667 * 4096 = 4369068032. Proceed using the value calculated
above as the new agsize value.
If the command displays a warning message about the agsize being a multiple of the stripe width,
multiply the agsize value by 4096, and subtract the sunit value multiplied by 4096. For example
(your values will differ):
1066667 * 4096 = 4369068032
16 * 4096= 65536
4369068032 - 65536 = 4369002496
Continue using the value calculated above as the new agsize value.
If the values of sunit and swidth are not equal to 0, and no warning message appears, proceed to
step 4 using the agsize value displayed by the mkfs.xfs command in step 1.
4 Run mkfs.xfs again to create the XFS filesystem on the device /dev/vg00/lvol1 using the value
calculated in one of the previous steps: mkfs.xfs -d agsize= <new agsize> -f /dev/vg00/lvol1. The
filesystem is created on the storage array.
NOTE If the command fails, redo your calculations starting from step 1.
5 Verify that the storage can be mounted by running one of the following commands:
For HP Z800 systems: mount /mnt/StorageMedia
For older systems: mount /mnt/stoneMedia
The storage should mount, as the DKU installation script should have created the mount point directory
for your storage (/mnt/StorageMedia on HP Z800 workstations, or /mnt/stoneMedia on older
workstations), as well as the corresponding entry in the /etc/fstab file. If you receive an error message
and the storage does not mount, follow the instructions in the next section to manually mount the
storage.
Manually Creating a Mount Point and Mounting the Storage
If the mount point directory for your storage was not created automatically by the DKU, or if the storage
does not mount, create the mount point and mount the storage manually:
1 Create the directory that will serve as the mount point for the filesystem, if it does not exist. For
example: mkdir /mnt/StorageMedia
WARNING Do not use the word stonefs as the name for your mount point directory. Stonefs is a reserved
word, and can cause issues if used as the mount point directory name.
2 Mount the XFS filesystem from the logical volume /dev/vg00/lvol1 on the directory you created in
the previous step. For example: mount -av -t xfs -o rw,noatime,inode64 /dev/vg00/lvol1
/mnt/StorageMedia . The filesystem is mounted as /mnt/StorageMedia.
3 Confirm that the storage is now mounted: df -h. The output should list /dev/mapper/vg00-lvol1
mounted on your mount point directory.
Configure storage | 37