David Coulson on 29 Aug 2007 20:23:45 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] How to break a software RAID mirror?


cat /proc/mdstat

RAID0 isn't mirrored. It's just data across two disks (striped). If you break this type of RAID, the array is useless and data is gone.

RAID1 is mirrored.

Daniel.G.Roberts@sanofi-aventis.com wrote:
I think I am running mirrored pair..RAID0..how can I tell for sure?
Thanks
Dan 

-----Original Message-----
From: plug-bounces@lists.phillylinux.org
[mailto:plug-bounces@lists.phillylinux.org] On Behalf Of David Coulson
Sent: Wednesday, August 29, 2007 4:04 PM
To: Philadelphia Linux User's Group Discussion List
Subject: Re: [PLUG] How to break a software RAID mirror?

What RAID level.

You can break RAID-1, and it'll keep working. It'll complain it's
missing part of the array, but it will still work.

mdadm has a fail (mdadm -f /dev/md0 /dev/sdb1 or something) option that
will allow you to fake a failed drive, then you can use mdadm to take it
out of the array.

Daniel.G.Roberts@sanofi-aventis.com wrote:
  
Hi All

My system has two scsi disks that are software RAIDED together and 
mounted.
I also have a third disk which has a bootable linux OS.
My question is..
Can I safely break the software mirror between the first two scsi 
disks without losing data on the first disk so that I can use the 
second disk for something brand new?
Thanks for any advice?!
Sincerely
DAn

    
________________________________________________________________________
___
  
Philadelphia Linux Users Group         --
    
http://www.phillylinux.org
  
Announcements -
    
http://lists.phillylinux.org/mailman/listinfo/plug-announce
  
General Discussion  --
    
http://lists.phillylinux.org/mailman/listinfo/plug
  
  
    
________________________________________________________________________
___
Philadelphia Linux Users Group         --
http://www.phillylinux.org
Announcements -
http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --
http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
  
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug