linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] how to change UUID of PV of duplicate partition (followup)
@ 2017-01-06 19:10 Xen
  2017-01-06 19:19 ` David Teigland
  0 siblings, 1 reply; 6+ messages in thread
From: Xen @ 2017-01-06 19:10 UTC (permalink / raw)
  To: Linux lvm

I mean,

This is what I mean:

   Found duplicate PV 3U9ac3Ah5lcZUf03Iwm0cgMMaKxdflg0: using /dev/sdb4 
not /dev/sdc4
   Using duplicate PV /dev/sdb4 without holders, replacing /dev/sdc4
   Volume group containing /dev/sdb4 has active logical volumes
   Physical volume /dev/sdb4 not changed
   0 physical volumes changed / 1 physical volume not changed

It immediately replaced the good PV with the bad PV (that I was trying 
to change) so I cannot actually get to the "bad" PV (which is duplicate) 
to change it without booting an external system in which I can effect 
one disk in isolation.

But, after running that command my root filesystem was now mounted 
read-only instantly so even just attaching the disk basically causes the 
entire system to instantly fail.

Real good right.

Probably my entire fault right :-/.

"Let's cause this system to crash, we'll attach a harddisk." "Job done!"

Actually I guess in this case it replaced the bad with the good but 
behind the scenes something else happened as well. This time it is 
hiding /dev/sdc4, the other time it was hiding /dev/sdb4, it seems to be 
random.

Basically any eSata system that a disk gets attached to could cause the 
operating system to fail. The same would probably be true of regular USB 
disks.

Even inserting a USB stick could crash a system like this.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-06 20:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-06 19:10 [linux-lvm] how to change UUID of PV of duplicate partition (followup) Xen
2017-01-06 19:19 ` David Teigland
2017-01-06 19:21   ` Xen
2017-01-06 20:06     ` Zdenek Kabelac
2017-01-06 20:13       ` Xen
2017-01-06 20:11   ` Xen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).