cloudstack/docs/tmp/en-US/html/troubleshooting-dataloss-on-exported-primary-storage.html

14 lines
3.4 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>22.3. Data Loss on Exported Primary Storage</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="troubleshooting.html" title="Chapter 22. Troubleshooting" /><link rel="prev" href="troubleshooting-working-with-server-logs.html" title="22.2. Working with Server Logs" /><link rel="next" href="troubleshooting-recover-lost-virtual-router.html" title="22.4. Recovering a Lost Virtual Router" /></head><body><p id="title"><a class="left" href="http://cloudstack.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.cloudstack.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="troubleshooting-working-with-server-logs.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="troubleshooting-recover-lost-virtual-router.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="troubleshooting-dataloss-on-exported-primary-storage" lang="en-US"><div class="titlepage"><div><div><h2 class="title" id="troubleshooting-dataloss-on-exported-primary-storage">22.3. Data Loss on Exported Primary Storage</h2></div></div></div><div class="formalpara"><h5 class="formalpara" id="idp42307296">Symptom</h5>
Loss of existing data on primary storage which has been exposed as a Linux NFS server export on an iSCSI volume.
</div><div class="formalpara"><h5 class="formalpara" id="idp21953984">Cause</h5>
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
</div><div class="formalpara"><h5 class="formalpara" id="idp38832632">Solution</h5>
When setting up LUN exports, restrict the range of IP addresses that are allowed access by specifying a subnet mask. For example:
</div><pre class="programlisting">echo “/export 192.168.1.0/24(rw,async,no_root_squash)” &gt; /etc/exports</pre><div class="para">
Adjust the above command to suit your deployment needs.
</div><div class="formalpara"><h5 class="formalpara" id="idp41867584">More Information</h5>
See the export procedure in the "Secondary Storage" section of the CloudStack Installation Guide
</div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="troubleshooting-working-with-server-logs.html"><strong>Prev</strong>22.2. Working with Server Logs</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="troubleshooting-recover-lost-virtual-router.html"><strong>Next</strong>22.4. Recovering a Lost Virtual Router </a></li></ul></body></html>