Re: bug: corrupt filesystem, cannot delete tmp files created just before crash.

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

 



On Thu, Jul 18, 2013 at 04:21:28PM +0100, Hugo Mills wrote:
> On Thu, Jul 18, 2013 at 11:11:03AM -0400, Sandy McArthur wrote:
> > Should I interpret the different used amounts (902.01GB vs 902.03GB)
> > on my recovered RAID1 filesystem as that not all data is actually
> > mirrored and so I should run a balance? The devices in the filesystem
> > below are the same make/model drives.
> > 
> > # btrfs fi show
> > Label: 'mcmedia'  uuid: 92b3345e-2589-423c-a228-d569bf94ab58
> > Total devices 2 FS bytes used 905.33GB
> > devid    2 size 2.73TB used 902.01GB path /dev/sdc1
> > devid    1 size 2.73TB used 902.03GB path /dev/sdb1
> > 
> > Btrfs v0.20-rc1-358-g194aa4a
> > 
> > # btrfs fi df /mnt/media/
> > Data, RAID1: total=894.00GB, used=892.99GB
> > Data: total=12.01GB, used=11.56GB
> 
>               ^^^^^^^ This is unmirrored data.
> 
> # btrfs balance start -dconvert=raid1,soft /mountpoint
> 
> is the incantation you need: convert your data to RAID-1, and ignore
> anything which has already been converted.
> 

Build btrfs-next and boot into that first if you can before you do this as there
is a slight bug with balance that will corrupt data if you crash.  Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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