1. Bicom Systems
  2. Solution home
  3. SERVERware
  4. HOWTOs

SERVERware 4 StandAlone Disk replacement and storage scaling

SERVERware 4 StandAlone Disk replacement and storage scaling

Initial storage of standalone server can be assembled from a single or two (or more) local disks. In the case that NETSTOR consists of only one disk, 3 more disks must be added for storage size to be increased while avoiding a single point of failure. Otherwise adding only one disk will increase storage size but at the same time increase the risk of data loss if one of those disks fails. In the case that NETSTOR consists of two disks, just 2 more disks must be added for storage size to be increased and ensure redundancy at the same time. In both cases, the resulting structure will be RAID10.


Expanding storage with 1 HDD


Insert a new HDD in a storage server's empty bay.


Connect through ssh to the server and using dmesg command, check the device name for a new HDD.


Use the following commands to create the partition and expand storage:

# parted /dev/<new device name> --script -- mktable gpt

# parted /dev/<new device name> --script -- mkpart "NETSTOR2" 1 -1

# zpool attach NETSTOR /dev/disk/by-partlabel/NETSTOR1 /dev/disk/by-partlabel/NETSTOR2 -f

Now restart the swhspared daemon to update GUI information.

~# /etc/init.d/swhspared restart

Adding 2 HDD’s and creating a mirror to ensure redundancy


Insert 2 new HDDs in the storage server's empty bays.


Connect through ssh to the server and using the dmesg command, check device names for new HDDs.


Use the following commands to create partitions and mirrors:

# parted /dev/<new device name 1> --script -- mktable gpt

# parted /dev/<new device name 1> --script -- mkpart "NETSTOR3" 1 -1

# parted /dev/<new device name 2> --script -- mktable gpt

# parted /dev/<new device name 2> --script -- mkpart "NETSTOR4" 1 -1

# zpool add NETSTOR mirror /dev/disk/by-partlabel/NETSTOR3 /dev/disk/by-partlabel/NETSTOR4 -f

Now restart the swhspared daemon to update GUI information.

~# /etc/init.d/swhspared restart