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

DESCRIPTION

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

EXAMPLES

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