All of lore.kernel.org
 help / color / mirror / Atom feed
* mdadm break / restore soft mirror
@ 2007-12-12 22:08 Brett Maton
  2007-12-12 22:27 ` Richard Scobie
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Brett Maton @ 2007-12-12 22:08 UTC (permalink / raw)
  To: linux-raid

Hi, 



  Question for you guys. 



  A brief history: 

  RHEL 4 AS 

  I have a partition with way to many small files on (Usually around a couple of million) that needs to be backed up, standard



  methods mean that a restore is impossibly slow due to the sheer volume of files. 

  Solution, raw backup /restore of the device.  However the partition is permanently being accessed. 



  Proposed solution is to use software raid mirror.  Before backup starts, break the soft mirror unmount and backup partition



  restore soft mirror and let it resync / rebuild itself. 



  Would the above intentional break/fix of the mirror cause any problems? 



Regards, 

Brett 



Brett Maton 

Linux Consultant 

RHCE #805007238628267 



-----------------------------------------------------------------------------------------------

This email, and the contents contained within, are private

and confidential between the sender and the individual(s)

to whom it is addressed.

The contents do not necessarily represent the views of Simplyhealth Group

Limited.



In the event of misdirection, the recipient is prohibited from 

using, copying or disseminating it or any information contained in it.

If you have received this email in error please notify Simplyhealth

immediately by telephone on 0845 075 2020, or by email to 

network.administrator@simplyhealth.co.uk



Simplyhealth Group Limited is registered and incorporated in England and Wales  

as a company limited by guarantee. Its registered office is at Hambleden House, 

Waterloo Court, Andover, Hampshire, SP10 1LQ, registered no. 5445654. We 

may record or monitor telephone calls to help improve our service and protect our 

members.

-----------------------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: mdadm break / restore soft mirror
@ 2007-12-13  7:02 Brett Maton
  2007-12-14  0:04 ` Neil Brown
  0 siblings, 1 reply; 12+ messages in thread
From: Brett Maton @ 2007-12-13  7:02 UTC (permalink / raw)
  To: Jeff Breidenbach, Neil Brown; +Cc: linux-raid

>>Proposed solution is to use software raid mirror.  Before backup starts,

>>break the soft mirror unmount and backup partition



>I use this method for backup once a week.



>One challenge is drives aren't great at steaming data quickly (for the resync)

>while also doing a lot of random access. Having a little extra redundancy (think

>3 or more drives in the RAID-1) can really help.



>>If you can be certain that the device that you break out of the mirror

>>is never altered, then you could add an internal bitmap while the

>>array is split and the rebuild will go much faster.



When the device is split from the mirror it will only be read as a raw device by the backup

software (NetBackup) and not actually mounted during the process so it really shouldn't be

modified in anyway at all.

Also during the backup window files will only be being created on remaining device (reports pdf's) so random access shouldn't be a problem either.



How do I create the internal bitmap?  man mdadm didn't shed any light and my brief excursion into google wasn't much more helpful.



The version I have installed is mdadm-1.12.0-5.i386 from RedHat which would appear to be way out of date!



Thanks for you help,

Brett

-----------------------------------------------------------------------------------------------

This email, and the contents contained within, are private

and confidential between the sender and the individual(s)

to whom it is addressed.

The contents do not necessarily represent the views of Simplyhealth Group

Limited.



In the event of misdirection, the recipient is prohibited from 

using, copying or disseminating it or any information contained in it.

If you have received this email in error please notify Simplyhealth

immediately by telephone on 0845 075 2020, or by email to 

network.administrator@simplyhealth.co.uk



Simplyhealth Group Limited is registered and incorporated in England and Wales  

as a company limited by guarantee. Its registered office is at Hambleden House, 

Waterloo Court, Andover, Hampshire, SP10 1LQ, registered no. 5445654. We 

may record or monitor telephone calls to help improve our service and protect our 

members.

-----------------------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-12-14 19:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 22:08 mdadm break / restore soft mirror Brett Maton
2007-12-12 22:27 ` Richard Scobie
2007-12-13  1:19 ` Neil Brown
2007-12-13  4:00   ` Jeff Breidenbach
2007-12-13  4:16     ` Neil Brown
2007-12-14  7:40       ` Jeff Breidenbach
2007-12-14  9:08         ` Neil Brown
2007-12-14 19:13           ` Jeff Breidenbach
2007-12-14 19:52             ` Jeff Breidenbach
2007-12-13 22:45 ` Bill Davidsen
  -- strict thread matches above, loose matches on Subject: below --
2007-12-13  7:02 Brett Maton
2007-12-14  0:04 ` Neil Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.