ExChange of Harddisks
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
Signature · 1 line
Sent through GMX FreeMail - http://www.gmx.net
Quoted 4 lines · Arne Kl�cker
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
Quoted 3 lines
Nils Juergens | [email protected] | icq 7090774 < If we all work hard, we can turn this company < around 360 degrees -- gruntbert(LOTD) <