Re: Raid0 and drive failure.

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

 



On Fri, Sep 16, 2011 at 05:06:03PM +0200, Henti Smith wrote:
> On Fri, Sep 16, 2011 at 4:49 PM, Leonidas Spyropoulos
> <artafinde@xxxxxxxxx> wrote:
> > On Sep 16, 2011 1:25 PM, "Henti Smith" <henti@xxxxxxxxxxxxxx> wrote:
> >> This is likely a newbie question, but I just need to confirm. If you
> >> have 3 x 100GB drives in RAID0 and one drive dies this will result in
> >> total data loss correct?
> >>
> > Yes the data are lost. Read more on how raid 0 works.
> 
> I have read on how raid 0 works, I was merely asking about the
> implementation of raid0 on btrfs.
> 
> >> Is there no way to loose only the data that resides (even partly) on
> >> the missing drive but retain the rest of the data ?
> 
> This is the more pertinent question, which it seem btrfs can't do currently.

   btrfs stripes its RAID-0 data across all available disks, so you'd
lose approximately 1/3 of the data for each file. In some cases, you
might get lucky and have a small file that resides entirely on the two
undamaged disks. In that case, it *might* be possible to recover your
data, but I think in general the amount of effort involved to get that
degree of recovery is probably far outweighted by the use of your
backups to restore all of the missing data...

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
       --- "Are you the man who rules the Universe?" "Well,  I ---       
                              try not to."                               

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux