1xfs_estimate(8)             System Manager's Manual            xfs_estimate(8)
2
3
4

NAME

6       xfs_estimate - estimate the space that an XFS filesystem will take
7

SYNOPSIS

9       xfs_estimate [ -h ] [ -b blocksize ] [ -i logsize ]
10                    [ -e logsize ] [ -v ] directory ...
11       xfs_estimate -V
12

DESCRIPTION

14       For  each  directory  argument,  xfs_estimate  estimates the space that
15       directory would take if it were copied to an XFS filesystem.  xfs_esti‐
16       mate does not cross mount points.  The following definitions are used:
17              KB = *1024
18              MB = *1024*1024
19              GB = *1024*1024*1024
20
21       The xfs_estimate options are:
22
23       -b blocksize
24              Use  blocksize  instead  of the default blocksize of 4096 bytes.
25              The modifier k can be used after the number to  indicate  multi‐
26              plication by 1024.  For example,
27
28                   xfs_estimate -b 64k /
29
30              requests an estimate of the space required by the directory / on
31              an XFS filesystem using a blocksize of 64K (65536) bytes.
32
33       -v     Display more information, formatted.
34
35       -h     Display usage message.
36
37       -i, -e logsize
38              Use logsize instead of the default log size of 1000 blocks.   -i
39              refers  to  an internal log, while -e refers to an external log.
40              The modifiers k or m can be used after the  number  to  indicate
41              multiplication by 1024 or 1048576, respectively.
42
43              For example,
44
45                   xfs_estimate -i 1m /
46
47              requests an estimate of the space required by the directory / on
48              an XFS filesystem using an internal log of 1 megabyte.
49
50       -V     Print the version number and exits.
51

EXAMPLES

53       % xfs_estimate -e 10m /var/tmp
54       /var/tmp will take about 4.2 megabytes
55               with the external log using 2560 blocks or about 10.0 megabytes
56
57       % xfs_estimate -v -e 10m /var/tmp
58       directory                     bsize   blocks    megabytes    logsize
59       /var/tmp                       4096      792        4.0MB   10485760
60
61       % xfs_estimate -v /var/tmp
62       directory                     bsize   blocks    megabytes    logsize
63       /var/tmp                       4096     3352       14.0MB   10485760
64
65       % xfs_estimate /var/tmp
66       /var/tmp will take about 14.0 megabytes
67
68
69
70                                                               xfs_estimate(8)
Impressum