Re: Increasing Space in Software Raid
- From: "nilesh vaghela" <nileshj.vaghela@xxxxxxxxx>
- Date: Wed, 30 Jan 2008 08:57:37 +0530
Hi,
can use
Grow Grow (or shrink) an array, or otherwise reshape it in some way.
Currently supported growth options including changing the
active size of component devices in RAID level 1/4/5/6
and changing the number of active devices in RAID1.
Try to add two hdd with grow , once if you feel everything ok just
remove the old partition with mdadm.
Or manual method.
create /dev/mdN
with your new two hdd and boot with rescue mode and try something like
tar , dump etc to copy all the data to new raid device.
Change your mounting device in fstab and grub.
Reboot and check.
Thanx
On Jan 30, 2008 8:07 AM, <culkinj3@xxxxxxxxxxxx> wrote:
Hello
I have a server running RHEL 4 and it has a software Raid (1) of 2 250
gb Sata disks. I want to upgrade this to two 750 gb disks in a Raid 1
configuration. There is not another SATA slot available.
Here is some more information
# df -ah
/dev/md1 229G 196G 21G 91% /
none 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /dev/pts
usbfs 0 0 0 - /proc/bus/usb
/dev/md0 99M 11M 83M 12% /boot
none 505M 0 505M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
automount(pid2042) 0 0 0 - /var/autofs/bacula
/dev/sdc1 451G 340G 88G 80% /mnt/usb
#
cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda3[0]
242983040 blocks [2/1] [U_]
md0 : active raid1 sda1[0]
104320 blocks [2/1] [U_]
unused devices: <none>
# cat /etc/fstab
/dev/md1 / ext3 defaults 1 1
/dev/md0 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sdb2 swap swap defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/sdc1 /mnt/usb ext3 defaults 0 0
Any suggestions/tips?
-- John C.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Increasing Space in Software Raid
- From: culkinj3
- Increasing Space in Software Raid
- Prev by Date: Increasing Space in Software Raid
- Next by Date: DNS Configure
- Previous by thread: Increasing Space in Software Raid
- Next by thread: RE: Increasing Space in Software Raid
- Index(es):
Relevant Pages
- Re: asrock mobo - raid sata disks
... distro on 2 sata disks connected in raid-1 mode. ... I see that this mobo lets
define raid arrays, but when installing linux ... Nearly all SATA RAID functionality
available directly from the motherboard ... (comp.os.linux.hardware) - RE: Raid / mirroring
... Output of cat /proc/mdstat was ... Thanks for you help Greg ...
Subject: Raid / mirroring ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
... (RedHat) - Strange problem with Device Mapper
... I've a machine that has been installed with Intel Soft Raid on top ... of 2
SATA disks. ... I'm trying to have this work as a RAID-1 array. ... ends
in a lock when the partition is larger than 10Go (well, ... (Linux-Kernel) - Re: Strange problem with Device Mapper
... I've a machine that has been installed with Intel Soft Raid on top ... of 2
SATA disks. ... I'm trying to have this work as a RAID-1 array. ... ends
in a lock when the partition is larger than 10Go (well, ... (Linux-Kernel) - Re: raid 5/6 with different controller
... (one integrated in the mother board: 6 sata disks, ... RAID and doesn't
work with Linux. ... Which leaves Linux software raid. ... To UNSUBSCRIBE,
email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User)