Menu
Index
Copyright © SoftNAS, LLC.

How to Migrate Data Disks to New SoftNAS VM

 
 
You may need to migrate data disks, along with their associated storage pools and volumes, from one SoftNAS instance to another. Some such cases can be:
 
 
 
 
 
SoftNAS contains a feature known as Storage Pool Import.  The Import feature scans the attached data disks to identify any pools that are currently offline that are eligible to be imported and made active again.  This feature is also handy should you ever accidentally delete a pool.
 
To move one or more storage pools (with its associated volumes) from one SoftNAS instance to another, follow the steps given below.
 
1.  Make sure that there are no active workloads on NFS shares, CIFS shares or iSCSI targets making use of the storage pool and volumes
 
Note:  Do not attempt to move a volume that's active or data loss could occur.
 
2. Detach the inactive disk devices from the SoftNAS VM or EC2 instance.
 
 
 
3.  Copy or move the disks (as appropriate) to the destination (if required)
 
4.  Attach the disk devices to the new SoftNAS VM or EC2 instance.
 
 
  
 
5. Log into the destination SoftNAS StorageCenter user-interface.
 
6. In the Left Navigation Pane, select the Storage Pools option under the Storage section.
 
7. Click the Import option in the toolbar. 
 
The Import Pools dialog will be displayed.
 
It has two sections such as Deleted Pools Available for Import and Foreign Pools Available for Import.
 
The Foreign Pools are the storage pools created on a different SoftNAS system. 
 
8.  If the pools are ready to import, there will be a button labeled Import <poolname>, where poolname will be the pool that's available to import.  Click that button.
 
9.  You will need to select the Force Import checkbox, to force the system to import foreign pools from another system.
 
10. For each volume, configure the volume's Snapshots to use the desired schedule.
 
Note: They are not imported automatically, but can be manually copied from the old system by copying the snapshots.ini and schedules.ini files in the /var/www/softnas/snserver folder.
 
11. For each NFS and CIFS share you want, create the appropriate NFS exports and CIFS shares (they are not imported automatically.
 
12. For each iSCSI target (if any), define the appropriate iSCSI devices and targets.
 
Note: They are not imported automatically, but can be manually copied from the old system by copying the file /etc/tgt/targets.conf to the new system, then restart the iSCSI Server.
 
The data disks will now be ready for use.
 
13.  Click the Refresh button on the Storage Pools panel.
 
14.  Similarly, navigate to the Volumes and LUNs panel and view the volumes.