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.'

NOTE: In case of provisioned disks it is recommended to use eager/thick provisioning instead of thin provisioning

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

Add Disk

  • 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.

Select storage pool

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

QUADStor software does not do raid management. If RAID protection is needed, first the RAID disks needs to be created which can then be detected by the QUADStor system. Data corresponding to a virtual tape can be stored on any configured disk which would mean that for proper RAID protection all configured disks should be RAID disks. 

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

/quadstorvtl/bin/bdconfig -l

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 

For example

/quadstorvtl/bin/bdconfig -a -d /dev/sda adds /dev/sda to the Default pool

Remove a configured disk

/quadstorvtl/bin/bdconfig -x -d <devicepath>