Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i've Debian installed RAID 1 2x 160GB HD, i want to delete it but i'm totally noob in linux, i don't want to install fresh image and start from scratch again, i cannot do backup because i've nearly 140GB already used.

share|improve this question
    
This is software raid using mdadm? or hardware raid? –  stew Feb 9 '12 at 14:35
    
@stew Software RAID 1 –  iLearnSomethingNew Feb 9 '12 at 14:54
    
As I understand your question, you are asking how to untie a software raid 1 so you have both disks available. Is that correct? –  Posipiet Feb 9 '12 at 15:16
    
yes @Posipiet they're available –  iLearnSomethingNew Feb 9 '12 at 15:32
    
So you have no backup? I would wor k on that first... –  Zoredache Feb 9 '12 at 16:41

1 Answer 1

There are a few ways your system can be setup to boot, but a common method using mdadm is to boot read-only from a single device, then remount the root read-write as the raid pair.

It is most likely that editing your /etc/fstab to repoint /dev/mdadm* to /dev/hda* will break the pair. After that, /dev/hdb* will be a backup of where you were when you rebooted. You can obliterate and use as you wish.

Keep in mind that there are many ways in Linux to create a software raid pair, so measure thrice then cut. LVM is different than mdadm, etc.

share|improve this answer
    
i still cannot figure out how to do it, but i've checked i've mdadm in the server –  iLearnSomethingNew Mar 11 '12 at 12:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.