[...] > > Using pvscan sounds like a nice idea, although it will not work in all > > cases - > > there's the case of people having flushed their partition table, and as a > > result > > pvscan won't be able to find partitions with PV signatures on them. > > Ah ok. But do people really expect to be able to reuse a > filesystem/PV if they flush their partition table? >
Well, no, they don't, but if they use the same configuration file with setup-storage afterwards, the partition table will be recreated and pvcreate unexpectedly finds PV signatures. That's why I believe we can hardly get rid of the -ff, even though I don't quite like it. > > Another minor annoyance is that Linux::LVM doesn't support pvscan, > > so we'd need to parse output manually. In order to do that, could > > you send some pvscan output? I guess even if taken from a live > > system it would be just fine. > > Yeah sure. See attached files (the "_-X" says which option I used > for generating the according file, pvscan.txt provides the default > output if being executed without any options). > [...] Hmm, seems like the attachment got lost along the way :-) Best regards, Michael
pgpjcDBDq8dZ6.pgp
Description: PGP signature