Data disappears when you add LUNs to a volume group
Contributors
-
PDF of this doc site
-
Administration for Linux
-
Role-based access control in SnapDrive for UNIX
-
-
Installation and Administration for Solaris
-
Role-based access control in SnapDrive for UNIX
-
Creating and using Snapshot copies in SnapDrive for UNIX
-
-
Installation and Administration for IBM AIX
-
Role-based access control in SnapDrive for UNIX
-
-
![](https://docs.netapp.com/common/images/pdf-zip.png)
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Data on the LUN disappears, when you add an existing LUN to a volume group.
If you add an existing LUN to a volume group that is managed by the LVM, and then execute a pvcreate
command, the data is overwritten.
Workaround
If you need data that is on an existing LUN, you must migrate that data to a LUN that you create using the LVM. Complete the following steps.
-
Create new LUNs.
-
Place the LUNs under LVM control by using the
pvcreate
, thevgcreate
, and thelvcreate
commands. -
Copy data from the existing LUNs to the LUNs you created and placed under LVM control.