[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] Can not use vgimportclone multiple times for the attached disk
- From: "Sarkar, Kaushik" <Kaushik Sarkar netapp com>
- To: <linux-lvm redhat com>
- Subject: [linux-lvm] Can not use vgimportclone multiple times for the attached disk
- Date: Thu, 1 Apr 2010 16:10:13 +0530
Hi,
I successfully mounted the associated logical volume from the backup of
the same machine.
Before SCSI scan I have only /dev/sda2
After SCSI bus scan (rescan-scsi-bus.sh) I can see the new disk attached
to my RHEL machine.
# vgimportclone -n NEWVG /dev/sdc2
It successfully rename the VG.
#vgchange -ay NEWVG
I am able to mount the logical volumes associated with this VG to verify
the backup.
After verifying I un-mounted logical volume and remove the volume group.
Vgremove -f NEWVG
But the new disk /dev/sdc2 still attached
I tried to do vgimportclone again it fails
# vgimportclone -n NEWVG /dev/sdc2
Fatal: /dev/sdc2 is not a PV., error: 5
I tried to remove the physical volume labeling then tried from the fresh
but still no luck.
#Pvremove -f /dev/sdc2
# rescan-scsi-bus.sh
# vgimportclone -n NEWVG /dev/sdc2
Fatal: /dev/sdc2 is not a PV., error: 5
What went wrong? What is the correct step to achieve it.
Thnx&Rgds,
KauShik SarKar
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]