On Tuesday 08 of May 2012 12:00:00 Helmut Hullen wrote:
> Hallo, Fajar,
> 
> Du meintest am 08.05.12:
> >>> And you can use three BTRFS filesystems the same way as three Ext4
> >>> filesystems if you prefer such a setup if the time spent for
> >>> restoring the backup does not make up the cost for one additional
> >>> disk for you.
> >> 
> >> But where's the gain? If a disk fails I have a lot of tools for
> >> repairing an ext2/3/4 system.
> > 
> > It won't work if you use it in RAID0 (e.g. with LVM spanning three
> > disks, then use ext4 on top of the LV).
> 
> But when I use ext2/3/4 I neither need RAID0 nor do I need LVM.
> 
> > As others said, if your only concern is "if a disk is dead, I want to
> > be able to access data on other disks", then simply use btrfs as
> > three different fs, mounted on three directories.
> 
> But then I don't need especially btrfs.
> 
> > btrfs will shine when:
> > - you need checksum and self-healing in raid10 mode
> > - you have lots of small files
> > - you have highly compressible content
> > - you need snapshot/clone feature
> 
> For my video collection (mpeg2) nothing fits ...
> 
> The only advantage I see with btrfs is
> 
>         adding a bigger disk
>         deleting/removing a smaller disk
> 
> with really simple commands.

Playing the Devil's advocate here (not that I don't use The Other Linux FS 
;)

I don't see btrfs commands much different from
pvcreate /dev/new-disk
vgextend videos-volume-42 /dev/new-disk
pvmove /dev/old-disk /dev/new-disk
vgreduce videos-volume-42 /dev/old-disk
resize2fs /dev/videos-volume-42/logical-volume

Unlike with shrinking, there's really no place for error. Messing up those 
commands will give quite clear error messages and definetly won't destroy 
data (unless a hardware error occurs). And the FS on the LV is online all 
the time, just like with btrfs.

The only difference is that with btrfs you can both extend and shrink the FS 
online, with ext2/3/4 you can only extend online...

Regards,
-- 
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawerów 30/85
tel. +48 (22) 646-61-51, 646-74-24
www.qbs.com.pl
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to