Product SiteDocumentation Site

22.3. Data Loss on Exported Primary Storage

Symptom
Loss of existing data on primary storage which has been exposed as a Linux NFS server export on an iSCSI volume.
Cause
It is possible that a client from outside the intended pool has mounted the storage. When this occurs, the LVM is wiped and all data in the volume is lost
Solution
When setting up LUN exports, restrict the range of IP addresses that are allowed access by specifying a subnet mask. For example:
echo “/export 192.168.1.0/24(rw,async,no_root_squash)” > /etc/exports
Adjust the above command to suit your deployment needs.
More Information
See the export procedure in the "Secondary Storage" section of the CloudStack Installation Guide