blob: 4a94f60fbd3d641e5ace73c11b8724501ca268a3 [file] [log] [blame]
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
%BOOK_ENTITIES;
]>
<!-- Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<section id="troubleshooting-dataloss-on-exported-primary-storage">
<title>Data Loss on Exported Primary Storage</title>
<formalpara>
<title>Symptom</title>
<para>Loss of existing data on primary storage which has been exposed as a Linux NFS server export on an iSCSI volume. </para>
</formalpara>
<formalpara>
<title>Cause</title>
<para>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</para>
</formalpara>
<formalpara>
<title>Solution</title>
<para>When setting up LUN exports, restrict the range of IP addresses that are allowed access by specifying a subnet mask. For example:</para>
</formalpara>
<programlisting>echo “/export 192.168.1.0/24(rw,async,no_root_squash)” &gt; /etc/exports</programlisting>
<para>Adjust the above command to suit your deployment needs.</para>
<formalpara>
<title>More Information</title>
<para>See the export procedure in the "Secondary Storage" section of the &PRODUCT; Installation Guide</para>
</formalpara>
</section>