* [linux-lvm] ExChange of Harddisks
@ 2000-08-30 14:22 Arne Klöcker
2000-08-30 18:10 ` Nils Juergens
0 siblings, 1 reply; 4+ messages in thread
From: Arne Klöcker @ 2000-08-30 14:22 UTC (permalink / raw)
To: linux-lvm
Hello,
i want to change my actual Setup (1 IDE Disk, 3 SCSI Disks, 1 Logical
Device which has 1 FS => This is used as one big volume for a private
fileserver). The Remianing Space on the SCSI Disks should be enough to hold the Data
from the IDE Disk.
Now i want to exchange the IDE Disk with a bigger SCSI Disk.
I dont really know how to do this.
I added 1 of the SCSI Disks after installing the LVM so i generally know
how to change the size of the ext2fs (i dont remember which tool i installed
for this.. ) but tips are appreciated...
Scanning the archive i stumbled over an article where vgreduce was
mentioned, could i use this tool too, or is it just for emty PVs ?
Im kind of stuck and any help is apreciated...
TIA
Arne Kl�cker
--
Sent through GMX FreeMail - http://www.gmx.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] ExChange of Harddisks
2000-08-30 14:22 [linux-lvm] ExChange of Harddisks Arne Klöcker
@ 2000-08-30 18:10 ` Nils Juergens
0 siblings, 0 replies; 4+ messages in thread
From: Nils Juergens @ 2000-08-30 18:10 UTC (permalink / raw)
To: linux-lvm
On Wed, 30.08.00, Arne Kl�cker <a.kloecker@gmx.net> wrote:
> i want to change my actual Setup (1 IDE Disk, 3 SCSI Disks, 1 Logical
> Device which has 1 FS => This is used as one big volume for a private
> fileserver). The Remianing Space on the SCSI Disks should be enough to
> hold the Data from the IDE Disk.
If i understand your setup right you can just move the physical extents from
your IDE-Drive to the SCSI-Drives. You do this with "pvmove <device>",
<device> being the physical volume you want to remove. You can, if you
want, also specify to which PV's the PE's get moved to (see manpage).
If i am not mistaken, this can even be done without unmounting the
filesystem(s).
Dont forget to remove the PV from your VG before you remove the drive.
have fun,
Nils
--
> Nils Juergens | nils@muon.de | icq 7090774 <
> If we all work hard, we can turn this company <
> around 360 degrees -- gruntbert(LOTD) <
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] ExChange of Harddisks
@ 2000-08-30 20:36 Arne Klöcker
2000-08-31 21:51 ` Nils Juergens
0 siblings, 1 reply; 4+ messages in thread
From: Arne Klöcker @ 2000-08-30 20:36 UTC (permalink / raw)
To: linux-lvm
Hello Nils,
> If i understand your setup right you can just move the physical extents
from
> your IDE-Drive to the SCSI-Drives. You do this with "pvmove <device>",
> <device> being the physical volume you want to remove.
I did this, but it stopped with an Error 208 leaving 1 PE on the IDE
Disk...
Any Ideas ?
Arne
--
Sent through GMX FreeMail - http://www.gmx.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] ExChange of Harddisks
2000-08-30 20:36 Arne Klöcker
@ 2000-08-31 21:51 ` Nils Juergens
0 siblings, 0 replies; 4+ messages in thread
From: Nils Juergens @ 2000-08-31 21:51 UTC (permalink / raw)
To: linux-lvm
On Wed, 30.08.00, Arne Kl�cker <a.kloecker@gmx.net> wrote:
> > If i understand your setup right you can just move the physical
> > extents from your IDE-Drive to the SCSI-Drives. You do this with
> > "pvmove <device>", <device> being the physical volume you want to
> > remove.
> I did this, but it stopped with an Error 208 leaving 1 PE on the IDE
> Disk...
Well, i had similar problems with pvmove before, but was to lazy to work
it out. But if you post some strace/debug output we might be able to
track this down. Might be some work but being able to clean PVs to
remove them is quite important, IMHO.
'later,
Nils
--
> Nils Juergens | nils@muon.de | icq 7090774 <
> If we all work hard, we can turn this company <
> around 360 degrees -- gruntbert(LOTD) <
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-08-31 21:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-30 14:22 [linux-lvm] ExChange of Harddisks Arne Klöcker
2000-08-30 18:10 ` Nils Juergens
-- strict thread matches above, loose matches on Subject: below --
2000-08-30 20:36 Arne Klöcker
2000-08-31 21:51 ` Nils Juergens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox