* [linux-lvm] Urgent, Moving disk from hdc to hdf in existing lvm
@ 2002-08-29 6:21 kalle
2002-08-29 6:29 ` Heinz J . Mauelshagen
2002-08-29 6:51 ` William Blunn
0 siblings, 2 replies; 3+ messages in thread
From: kalle @ 2002-08-29 6:21 UTC (permalink / raw)
To: linux-lvm
Hello!
We have a problem with one of our servers thats running lvm on linux-2.4.19.
We have 4 discs in the vg, hdb, hdc, hdg and hdh.
When we booted the server this morning hdc did not get online.
We've tried diffrent cables but there seems to be some problem with the secondary controller.
The disc gets online if we put it on the promise controller thats handeling hdg and hdh.
Is it possible to "reconfigure" the vg so that the disk that once was hdc will be hdf? Prefably without loosing data.
Unfortunately we dont have any spare box to move the disks to, so the reconfiguring has to be done with
the old hdc disk already beeing installed as hdf.
Any comments appreciated!
/Regards Kalle
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Urgent, Moving disk from hdc to hdf in existing lvm
2002-08-29 6:21 [linux-lvm] Urgent, Moving disk from hdc to hdf in existing lvm kalle
@ 2002-08-29 6:29 ` Heinz J . Mauelshagen
2002-08-29 6:51 ` William Blunn
1 sibling, 0 replies; 3+ messages in thread
From: Heinz J . Mauelshagen @ 2002-08-29 6:29 UTC (permalink / raw)
To: linux-lvm
Kalle,
any configuration change schould be happily covered by "vgscan ; vgchange -ay".
vgscan figures out all PVs by UUID and groupd them together no matter to
which changed path they are attached.
Regards,
Heinz -- The LVM Guy --
On Thu, Aug 29, 2002 at 06:19:27AM -0500, kalle@idlar.nu wrote:
> Hello!
>
> We have a problem with one of our servers thats running lvm on linux-2.4.19.
> We have 4 discs in the vg, hdb, hdc, hdg and hdh.
> When we booted the server this morning hdc did not get online.
> We've tried diffrent cables but there seems to be some problem with the secondary controller.
> The disc gets online if we put it on the promise controller thats handeling hdg and hdh.
>
> Is it possible to "reconfigure" the vg so that the disk that once was hdc will be hdf? Prefably without loosing data.
>
> Unfortunately we dont have any spare box to move the disks to, so the reconfiguring has to be done with
> the old hdc disk already beeing installed as hdf.
>
> Any comments appreciated!
>
>
> /Regards Kalle
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Urgent, Moving disk from hdc to hdf in existing lvm
2002-08-29 6:21 [linux-lvm] Urgent, Moving disk from hdc to hdf in existing lvm kalle
2002-08-29 6:29 ` Heinz J . Mauelshagen
@ 2002-08-29 6:51 ` William Blunn
1 sibling, 0 replies; 3+ messages in thread
From: William Blunn @ 2002-08-29 6:51 UTC (permalink / raw)
To: linux-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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-29 6:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29 6:21 [linux-lvm] Urgent, Moving disk from hdc to hdf in existing lvm kalle
2002-08-29 6:29 ` Heinz J . Mauelshagen
2002-08-29 6:51 ` William Blunn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.