mdadm - Swapping 500GB disks for 1TB


 
Thread Tools Search this Thread
Operating Systems Linux mdadm - Swapping 500GB disks for 1TB
# 1  
Old 01-09-2010
mdadm - Swapping 500GB disks for 1TB

Hi,

I have a three disk raid 5, with 500GB disks.

This is close to being full, and whilst I can just add another disk and rebuild to add another 500GB, I would prefer to replace with 1TB disks. So i have some questions.

Can I replace these disks one by one with bigger disks? I understand there is a risk here, as there was when I went from RAID 0 to RAID 5, but I am happy to accept them.

I plan to buy 2x1TB disks, and pair two of the old 500GB disks into a 1TB volume. Giving a raid 5 over 3 1TB disks.

I figured it was possible doing the below, but it will take me a week! Is there a better way?

Converting 1TB raid (3x500GB - Raid 5) to 2TB raid (3x1TB)

1) Add new 1TB disk to box
2) Copy data to new 1TB disk from old 1TB raid.
3) Remove old array
4) Add another 1TB disk and create RAID 0 with other disk.
5) wipe the old array, add two 500GB as 1TB volume
6) Convert 2TB RAID 0 to Raid 5.

I have done something similar, i.e. raid 0 - raid 5, but it took alot of time, and its a high risk strategy.

Anyone got any ideas?

Cheers

Si Smilie

Last edited by snoop2048; 01-09-2010 at 05:57 AM.. Reason: typo
# 2  
Old 01-11-2010
An easier way might be this. If you have enough space on the 1TB drive to fit all your data, then add 1 1TB drive after failing out 1 of the RAID 5 drives. Copy your data. Remove the other drives in the RAID 5 and use the remaining drives to create an md RAID 5 with 1 drive missing. You can specify that you are doing so
Copy the data from the single 1TB drive to the array, then add that drive to the array after initializing it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

MDADM Failure - where it came from?

Hello, i have a system with 6 sata3 seagate st3000dm01 disks running on stable Debian with software raid mdadm. i have md0 for root and md1 for swap and md2 for the files. i now want to add one more disk = sdh4 for md2 but i got this errors: The new disk is connected to an 4 port sata... (7 Replies)
Discussion started by: Sunghost
7 Replies

2. Shell Programming and Scripting

Splitting a file into chunks of 1TB

Hi I have a file with different filesystems with there sizes. I need to split them in chucks of 1TB. The file looks like vf_MTLHQNASF07_Wkgp2 187428400 10601AW1 vf_MTLHQNASF07_Wkgp2 479504596 10604AW1 vf_MTLHQNASF07_Wkgp2 19940 10605AID vf_MTLHQNASF07_Wkgp2 1242622044... (4 Replies)
Discussion started by: bombcan
4 Replies

3. Solaris

Hot swapping disks on V240 - blue light not lit after cfgadm -c unconfigure

Hot swapping a drive on V240. So, I do cfgadm -c unconfigure <disk>. Then cfgadm -al reports disk as unconfigured as expected. format then tells me there is no disk. BUT, blue light does not come on. Done the exact same command on my V440 and blue light does come on. V240 Server Admin... (0 Replies)
Discussion started by: psychocandy
0 Replies

4. UNIX for Advanced & Expert Users

Speed problems with tar'ing a 500Gb directory on an eSATA drive

I'm trying to compress a directory structure on an external hard drive, connected by eSATA cable to my linux (Ubuntu 10.04) desktop. The total volume is 500Gb with half a million files, ranging from Kb to Mb in size. The drive is 2Tb, with 0.8Tb free space before compression. running "tar -pcf... (10 Replies)
Discussion started by: omnisppot
10 Replies

5. Red Hat

mdadm for / and /boot

had this RHEL 5 installation with /dev/sda1 and /dev/sda2 running.. created two more partitions /dev/sdj1 and /dev/sdj2 , the same sized partition as /dev/sda trying to use mdadm to create RAID1 .. I cannot even do it in "rescue" mode, I wonder if it can be done.. it kept... (2 Replies)
Discussion started by: ppchu99
2 Replies

6. AIX

Can't backup more than ~1TB.

Hello all, I create a backup of a file system with hostA # find . | backup -iqvf /backup/hostA.fsA.backup After a while I get the following error message: backup medium write error: File too large Check backup media and rerun the backup /backup is a NFS mount and is the backup device... (5 Replies)
Discussion started by: petervg
5 Replies

7. UNIX for Advanced & Expert Users

mdadm container! How does it work

Hi everyone, I am not sure if I understand how mdadm --create /dev/md0 --level=container works? A device called /dev/md0 appears in /proc/mdstat but I am not sure how to use that device? I have 2 blank drives with 1 500GB partition on each. I would like to setup mirroring, but not in the... (0 Replies)
Discussion started by: hytron
0 Replies

8. UNIX for Advanced & Expert Users

mdadm question

Hello, I have 4 drives (500G each) in a raid 10, I got a power failior and this is the result? cat /proc/mdstat Personalities : md126 : inactive sdb sdc sdd sde 1953536528 blocks super external:-md127/0 md127 : inactive sdd(S) sde(S) sdb(S) sdc(S) 9028 blocks super... (3 Replies)
Discussion started by: rmokros
3 Replies

9. Solaris

Multiple Backups to USB 1TB Drives using dd

First of all, great web site! I have been using it for a while but just registered today. It's been a great resource for me. Now, on to my issue.;) I'm geographically separated from six (Sun v245s) development servers that I have been asked to backup and restore as development is done and... (11 Replies)
Discussion started by: ShawnD41
11 Replies

10. Solaris

500Gb Maxtor USB disk on Solaris 9

Does anyone succesfully is able to get the drive to work on Solaris 9? The OS recognizes the drive, however 'format -e' says "drive type unknown' I then set CHS manually, but only 120Gb shows. thanks. (2 Replies)
Discussion started by: tuan_quan
2 Replies
Login or Register to Ask a Question