[Ocfs2-users] how to find out the real size of a reflink ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Fri Jan 15 05:57:52 PST 2021



----- On Jan 14, 2021, at 6:52 PM, herbert van den bergh HERBERT.VAN.DEN.BERGH at ORACLE.COM wrote:

> From man mkfs.ocfs2:
> 
>       -C, --cluster-size cluster-size
>              Valid cluster size values are 4K, 8K, 16K, 32K, 64K, 128K,  256K,  512K  and
>              1M.  If  omitted,  a  value  will  be  heuristically determined based on the
>              expected usage of the file system (see the -T option). For volumes  expected
>              to  store  large files, like database files, while a cluster size of 128K or
>              more is recommended, one can opt for a smaller size as long as that value is
>              not smaller than the database block size.  For others, use 4K.
> 
> An extent is a series of blocks in a file. When a file grows, its last extent is
> grown if there are free blocks on disk following the extent, or a new extent is
> added using free blocks from someplace else on the disk. The filefrag -v
> command will list all extents of a file, and whether they’re shared with other
> files or not.
> 

Thanks.

Bernd
Helmholtz Zentrum München

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir.in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671




More information about the Ocfs2-users mailing list