[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Urgent, Moving disk from hdc to hdf in existing lvm



> Is it possible to "reconfigure" the vg so that the disk that once 
> was hdc will be hdf? Prefably without loosing data.

The position of a PV within the LVM is controlled by the metadata stored within the PV, not the device identifier.

There is no reconfiguration per se necessary.

If your startup scripts don't do vgscan, then you will need to do one of these manually.

I think it is something like:

vgchange -an
vgscan
vgchange -ay

Of course if you have put your root filesystem in LVM then you are stuffed (and I have no sympathy for anyone in this situation).

Bill

The contents of this e-mail and any attachments are confidential and may
be legally privileged. If you have received this e-mail and you are not
a named addressee, please inform us as soon as possible on
+44 118 901 2999 and then delete the e-mail from your system. If you are
not a named addressee you must not copy, use, disclose, distribute,
print or rely on this e-mail. Any views expressed in this e-mail or any
attachments may not necessarily reflect those of Tao's management.
Although we routinely screen for viruses, addressees should scan this
e-mail and any attachments for viruses. Tao makes no representation or
warranty as to the absence of viruses in this e-mail or any attachments.
Please note that for the protection of our business, we may monitor and
read e-mails sent to and from our server(s).

Visit our website at http://tao-group.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]