[opensuse] OT: Expanding RAID size
OK, i know this is not an opensuse question but i want to see what others have to say about this. I currently have an ibm xserver running SLES 10 SP2 with 2 drives of 36gb a piece (this is an active/production server) in raid 1 (hardware). I want to replace those 2 drives with larger drives without losing any data. What i have tried so far is to remove one of the 36gb drives and install 1 of the larger drives and hope that it would rebuild and see the "extra" space. But this does not appear to work. What is the correct way to do this? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Chris Arnold wrote:
OK, i know this is not an opensuse question but i want to see what others have to say about this.
I currently have an ibm xserver running SLES 10 SP2 with 2 drives of 36gb a piece (this is an active/production server) in raid 1 (hardware). I want to replace those 2 drives with larger drives without losing any data. What i have tried so far is to remove one of the 36gb drives and install 1 of the larger drives and hope that it would rebuild and see the "extra" space. But this does not appear to work. What is the correct way to do this?
It doesn't work that way. In an existing raid you can only use drives of equal size. Bigger drives are just wasted. Just set up a second raid volume with the new drives and migrate the desired directories to the new volume. If you want to copy the complete content you will have to set up the second raid anyway, then copy all files and change the boot partition and maybe grub and /etc/fstab if the device numbering has changed. Some downtime is unavoidable. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sandy Drobic wrote:
Chris Arnold wrote:
OK, i know this is not an opensuse question but i want to see what others have to say about this.
I currently have an ibm xserver running SLES 10 SP2 with 2 drives of 36gb a piece (this is an active/production server) in raid 1 (hardware). I want to replace those 2 drives with larger drives without losing any data. What i have tried so far is to remove one of the 36gb drives and install 1 of the larger drives and hope that it would rebuild and see the "extra" space. But this does not appear to work. What is the correct way to do this?
It doesn't work that way. In an existing raid you can only use drives of equal size. Bigger drives are just wasted. Just set up a second raid volume with the new drives and migrate the desired directories to the new volume.
If you want to copy the complete content you will have to set up the second raid anyway, then copy all files and change the boot partition and maybe grub and /etc/fstab if the device numbering has changed.
Some downtime is unavoidable.
I believe if you use LVM, you can expand the RAID size, though he'd have to replace both drives before expanding. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, I use LVM, and what I have done about a year ago on xSeries 335: - exchange first disk - wait for rebuild to be complete - exchange second disk - wait for rebuild to be complete - boot to the serveraid tools, and create a second volume (disk) in the empty available space - boot linux and add that new volume to the LVM system - now you can use the new space without any restrictions, or special considerations. Instead of adding it to the lvm, you could also create a new mountpoint, and use the new space like that, of course. Hope this helps. mj Chris Arnold wrote:
OK, i know this is not an opensuse question but i want to see what others have to say about this.
I currently have an ibm xserver running SLES 10 SP2 with 2 drives of 36gb a piece (this is an active/production server) in raid 1 (hardware). I want to replace those 2 drives with larger drives without losing any data. What i have tried so far is to remove one of the 36gb drives and install 1 of the larger drives and hope that it would rebuild and see the "extra" space. But this does not appear to work. What is the correct way to do this? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Chris Arnold
-
James Knott
-
mourik jan c heupink
-
Sandy Drobic