From: liam@landv.org.uk
To: linux-lvm@redhat.com
Subject: [linux-lvm] Exposing the same VG from two different disks
Date: Fri, 05 Jun 2009 15:18:58 +0200 [thread overview]
Message-ID: <24264124.2266451244207938283.JavaMail.servlet@kundenserver> (raw)
Hi,
I'm not sure if what I'm trying to do is possible or not but hopefully someone out there can help!!
I have a volume group which consists of a LUN (/dev/emcpowerv1) in an EMC cabinet. To backup up the disk I use EMC technology to synchronise a second LUN (/dev/emcpoweraf1) with the first, when the synchronisation is complete I then break the connection. At this point I have two identical volume groups exposed to the same host. What I would like to do is rename the second volume group and mount its logical volumes. However I can't because (understandably) LVM doesn't like having two identical volume groups so when I issue pvchange -u I get...
# pvchange -u /dev/emcpoweraf1
Found duplicate PV dXiYI6nVqu8UpXO2mlaWiKKPKSBPrRbn: using /dev/emcpowerv1 not /dev/emcpoweraf1
get_pv_from_vg_by_id: vg_read failed to read VG !
/dev/emcpowerv1: write failed after 0 of 4096 at 4096: Operation not permitted
pv_write with new uuid failed for /dev/emcpowerv1.
0 physical volumes changed / 1 physical volume not changed
Notice I issue the command against /dev/emcpoweraf1 but it complains about writing to /dev/emcpowerv1.
does anyone have any ideas?
Thanks in advance
Liam
next reply other threads:[~2009-06-05 13:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 13:18 liam [this message]
2009-06-05 13:50 ` [linux-lvm] Exposing the same VG from two different disks Bryn M. Reeves
2009-06-05 14:34 ` Stuart D. Gathman
-- strict thread matches above, loose matches on Subject: below --
2009-06-16 12:45 liam
2009-06-17 14:27 liam
2009-06-19 4:39 ` chris procter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24264124.2266451244207938283.JavaMail.servlet@kundenserver \
--to=liam@landv.org.uk \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox