Dante
2011-Sep-05 21:56 UTC
Re: Any chance to recovery btrfs raid-0 after accidental format of one volume?
Bad case of user error here but I managed to reformat one half of a btrfs volume that was set up with metadata raid-1 and data raid-0. I can mount the remaining half degraded, and can see all of the files, but half their content is missing. I’m just wondering whether, since all the metadata is intact, and since (most of) the data on the partition that I reformatted has not actually been over-written, whether it is conceivable that I can recover most of my files by somehow reincorporating the second volume into the array? The important stuff is all backed up (I hope) so this is more of academic interest... -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Dante
2011-Sep-06 23:00 UTC
RE: Any chance to recovery btrfs raid-0 after accidental format of one volume?
> > Bad case of user error here but I managed to reformat one half of a > > btrfs volume that was set up with metadata raid-1 and data raid-0.> It won''t help you - but did you format it with mkfs.btrfs, while it was mounted?No I formatted as ext4 while off-line. Thanks for the feedback. I guess I just kiss the files goodbye and move on. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hugo Mills
2011-Sep-06 23:12 UTC
Re: Any chance to recovery btrfs raid-0 after accidental format of one volume?
On Wed, Sep 07, 2011 at 09:00:21AM +1000, Dante wrote:> > > Bad case of user error here but I managed to reformat one half of a > > > btrfs volume that was set up with metadata raid-1 and data raid-0. > > > It won''t help you - but did you format it with mkfs.btrfs, while it was mounted? > > No I formatted as ext4 while off-line. > > Thanks for the feedback. > > I guess I just kiss the files goodbye and move on.In this instance, it''s almost certainly going to be faster to recover from your backups than it is to attempt to reconstruct the few files that you can from the bits that aren''t missing. 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 --- Don''t worry, he''s not drunk. He''s like that all the time. ---