DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-02-18 14:33:33

djcult
Member
Registered: 2008-07-07
Posts: 12

How go to from RAID 1 to two seperate discs

I have two discs in a RAID 1 configuration.

I'd like to break the mirror and have two separate discs - then run an rsync job nightly to back one up to the other (as has been discussed here previously).

What's the best way to break the RAID 1 configuration and make the DNS treat the two discs separately?

I'm happy using mdadm if that helps.

TIA

Offline

 

#2 2010-02-18 14:37:10

djcult
Member
Registered: 2008-07-07
Posts: 12

Re: How go to from RAID 1 to two seperate discs

I found this http://dns323.kood.org/forum/viewtopic.php?id=5287.

BUT I was hoping not to have to reformat either disc.

Offline

 

#3 2010-02-18 17:16:53

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: How go to from RAID 1 to two seperate discs

There is AFAIK no easy way to undo a raid, without reformatting the disks, but it's possible to split it in two single disk raid1 arrays. You need to have shell access.
Remove one disk, bootup the box. It should show degraded. Now enter the command

Code:

/sbin/mdadm --grow -n1 --force /dev/md0

Reboot, and the box isn't degraded anymore.
Repeat for the other disk.

I don't know how the firmware will treat this. Possible it will only assemble and mount one disk. Then you'll have to assemble and mount the other manually.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB