[OpenIndiana-discuss] ZFS; what the manuals don't say ...

Udo Grabowski (IMK) udo.grabowski at kit.edu
Tue Oct 23 15:32:36 UTC 2012


On 23/10/2012 17:18, Roy Sigurd Karlsbakk wrote:
>> Wouldn't walking the filesystem, making a copy, deleting the original
>> and renaming the copy balance things?
>>
>> e.g.
>>
>> #!/bin/sh
>>
>> LIST=`find /foo -type d`
>>
>> for I in ${LIST}
>> do
>>
>> cp ${I} ${I}.tmp
>> rm ${I}
>> mv ${I}.tmp ${I}
>>
>> done
>
> or perhaps
 > ....
And hardlinks ? This is a perfect way to completely trash your
system. There's no need to 'balance' zfs, over time filesystem
writes will balance roughly over the vdevs, only files never
touched again will stay where they are. So don't risk your
system just to get a few bytes/sec more out of it.
-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www-imk.fzk.de/asf/sat/grabowski/ www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026



More information about the OpenIndiana-discuss mailing list