From Wanos Wiki
Jump to: navigation, search

Document migrated. An updated Change Datastore Drive Guide can be found in the Wanos Documentation site

Change DataStore Location

Wanos offers the option to modify your DataStore location by switching partitions, physical disks or USB drives/sticks.

How to change DataStore Location

1. Determine your new partition or drive by running:

fdisk -l

In this example, a new disk called sdb has been added.
fdisk.png
2. Run the following commands in the exact order:

/tce/etc/wanos/wanos-fdisk sdX

Replace "X" in sdX with the correct value on the target drive. In this example, b was used = sdb.

reboot
mkfs.ext3 /dev/sdXX

Replace "XX" in sdXX with the correct value of the target drive and partition. In this example, b and 1 was used = sdb1. if unsure, run the fdisk -l command.

reboot

3. Set the DataStore in Wanos web UI. Configure > System Settings In this example, sdb1 was used.
datastore1.png
Scroll to the bottom part of the page, click the Submit button, click OK on the dialog box and Wanos will reboot.
datastore2.png

Note: When clearing the DataStore, remember to do so manually on all the peers.

Example Commands

sudo /tce/etc/wanos/wanos-fdisk sda
sudo reboot
sudo mkfs.ext3 /dev/sda2
sudo reboot

Set the datastore to sda2 in the gui