Use a local disk attached to a Commvault Flex Open node as storage for a disk library. During this procedure, the disk is formatted, mounted, and configured for automatic mounting after system restarts.
Requirements
-
Log on to the Commvault Flex Open node with root or
sudoprivileges. -
Verify that the target disk isn't in use. This procedure formats the disk and permanently deletes all existing data on the disk.
Caution
Formatting the disk permanently deletes all existing data on the device.
Procedure
-
Open the Commvault Base directory.
cd /opt/Commvault/Base -
Identify the disk that you want to use for the disk library.
Run either of the following commands:
lsblkOr:
fdisk -lRecord the device name, for example,
/dev/sdc. -
Create a mount point.
mkdir -p /disk1 -
Format and mount the disk.
./CVSDS -W -l <device_name> -w <mount_path> [-j <filesystem_type>]Parameter Description -WFormats and mounts the device. -l <device_name>Specifies the device to format, for example, /dev/sdc.-w <mount_path>Specifies the mount point, for example, /disk1.-j <filesystem_type>Optional. Specifies the file system type. The default is xfs.Example:
./CVSDS -W -l /dev/sdc -w /disk1 -j xfsThe utility:
-
Formats the disk.
-
Mounts the file system.
-
Creates an entry in
/etc/fstab. -
Temporarily pauses SELinux and ransomware protection during formatting and automatically resumes protection after the operation completes. This behavior is supported only on Commvault Flex Open.
-
-
Verify that an entry similar to the following exists in
/etc/fstab:/dev/sdc /disk1 xfs defaults,nofail 0 0The entry allows the file system to mount automatically after a reboot.
-
Create the disk storage in Command Center by using the steps in Configuring Disk Storage.
When you add the backup location, select the Commvault Flex Open node as the MediaAgent and enter the mount path that you configured in this procedure, for example,
/disk1.