Preparing file systems on Linux® systems
You must format ext4 or xfs file systems on each of the disk LUNs to be used by the IBM Storage Protect server.
Procedure
-
Using the list of device IDs that you generated previously, issue the mkfs
command to create and format a file system for each storage LUN device. Specify the device ID in the
command. See the following examples.
For the database, format ext4 file systems:
For storage pool LUNs, format xfs file systems:mkfs -t ext4 -T largefile -m 2 /dev/mapper/36005076802810c509800000000000012mkfs -t xfs /dev/mapper/3600507630081010578000000000002c3You might issue the mkfs command as many as 50 times, depending on how many different devices you have.
-
Create mount point directories for file systems.
Issue the mkdir command for each directory that you must create. Use the directory values that you recorded in the planning worksheets.
For example, to create the server instance directory by using the default value, issue the following command:
Repeat the mkdir command for each file system.mkdir /tsminst1 -
Add an entry in the /etc/fstab file for each file system so that file
systems are mounted automatically when the server is started.
For example:
/dev/mapper/36005076802810c509800000000000012 /tsminst1/TSMdbspace00 ext4 defaults 0 0 - Mount the file systems that you added to the /etc/fstab file by issuing the mount -a command.
-
List all file systems by issuing the df command.
Verify that file systems are mounted at the correct LUN and correct mount point. Also, verify the available space.The following example on an IBM® Storwize® system shows that the amount of used space is typically 1%:
[root@tapsrv04 ~]# df -h /tsminst1/* Filesystem Size Used Avail Use% Mounted on /dev/mapper/360050763008101057800000000000003 134G 188M 132G 1% /tsminst1/TSMalog - Verify that the user ID that you created in Creating the user ID and directories for the server instance has read and write access to the directories for the IBM Storage Protect server.