Physical storage needs to be assigned before virtual cartridges can be created. On FreeBSD disks available through the CAM system (camcontrol devlist) and accessible using atacontrol list will be visible for addition or deletion. On Linux disks available through the SCSI subssytem (check /proc/scsi/scsi for reference) and created by mdadm (software raid) will be visible for addition or deletion. Disks with mounted partitions or of size less than 4GB are ignored.
Adding a Disk
On QUADStor startup the system is scanned for all available disks. Available disks do not include disks with mounted partitions. Available disks include software raid disks created using gvinum or mdadm. On linux LVM volumes can also be configured, however once configured the LVM volume should not be resized. Disk partitions can no longer be configured as physical storage.
In order to view the available disks and to configure the storage, Click on the “Physical Storage” menu and select the “View Storage” Submenu
The physical storage detected by the system is listed in the “View Storage” page and is as shown in the figure below
- Click on the “Add” link to add a disk which can be used for virtual disks
In the next page the storage pool for the disk can be selected as shown in the figure below.
Click on Submit to add the disk. Initialization of the disk will take a few minutes. Wait for the initialization to complete before adding another disk
A disk that was added can be removed later by clicking on the “Remove” link for the disk
In case newer disk storage has been attached to the system, click on the “Rescan” button to rescan for attached storage devices
The first disk added to a pool is considered as the master disk for the pool. This disk can only be removed when all other configured disks and virtual tapes in the pool are removed.
Command line configuration
List all disks
Listing all configured disks
/quadstorvtl/bin/bdconfig -l -c
Listing all disks excluding configured disks
/quadstorvtl/bin/bdconfig -l -e
Add a disk
/quadstorvtl/bin/bdconfig -a -d <devicepath> -g <pool name> Where <devicepath> is the value listed under the "Name" column in the output of a bdconfig -l
/quadstorvtl/bin/bdconfig -a -d /dev/sda adds /dev/sda to the Default pool
Remove a configured disk
/quadstorvtl/bin/bdconfig -x -d <devicepath>