Setup guide

4 Run the mkfs.xfs command again to create the XFS filesystem on the device /dev/vg00/lvol1 using the
value calculated in one of the previous steps. Type:
mkfs.xfs -d agsize=<new agsize> -f /dev/vg00/lvol1
For example (your values will vary):
mkfs.xfs -d agsize=4369068032 -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 typing 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.
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, perform the following procedure to create the mount point and mount the storage manually.
To create a mount point and mount the storage:
1 Create the directory that will serve as the mount point for the filesystem, if it does not exist. For example:
mkdir /mnt/StorageMedia
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. Type:
df -h
The output should list /dev/mapper/vg00-lvol1 mounted on your mount point directory. For example:
/dev/mapper/vg00-lvol1
814G 547G 267G 68% /mnt/StorageMedia
4 Using a text editor, add an entry in the /etc/fstab file so that the filesystem gets mounted automatically
at startup. For example:
/dev/vg00/lvol1 /mnt/StorageMedia xfs rw,noatime,inode64
5 Optional: confirm that the filesystem can mount automatically by rebooting the workstation and using
the command df -h again.
Creating a Mount Point and Mounting the Storage | 41