from small one page howto to huge articles all in one place
 

search text in:





Poll
What does your sytem tell when running "ulimit -u"?








poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

187354

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

250584

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

137943

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





xfs_estimate

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

xfs_estimate - estimate the space that an XFS filesystem will take  

SYNOPSIS

xfs_estimate [ -h ] [ -b blocksize ] [ -i logsize ]
                   [ -e logsize ] [ -v ] directory ...

xfs_estimate -V
 

DESCRIPTION

For each directory argument, xfs_estimate estimates the space that directory would take if it were copied to an XFS filesystem. xfs_estimate does not cross mount points. The following definitions are used:
KB = *1024
MB = *1024*1024
GB = *1024*1024*1024

The xfs_estimate options are:

-b blocksize
Use blocksize instead of the default blocksize of 4096 bytes. The modifier k can be used after the number to indicate multiplication by 1024. For example,

       xfs_estimate -b 64k /
requests an estimate of the space required by the directory / on an XFS filesystem using a blocksize of 64K (65536) bytes.
-v
Display more information, formatted.
-h
Display usage message.
-i, -e logsize
Use logsize instead of the default log size of 1000 blocks. -i refers to an internal log, while -e refers to an external log. The modifiers k or m can be used after the number to indicate multiplication by 1024 or 1048576, respectively.
For example,

       xfs_estimate -i 1m /
requests an estimate of the space required by the directory / on an XFS filesystem using an internal log of 1 megabyte.
-V
Print the version number and exits.
 

EXAMPLES


% xfs_estimate -e 10m /var/tmp
/var/tmp will take about 4.2 megabytes
        with the external log using 2560 blocks or about 10.0 megabytes

% xfs_estimate -v -e 10m /var/tmp
directory                     bsize   blocks    megabytes    logsize
/var/tmp                       4096      792        4.0MB   10485760

% xfs_estimate -v /var/tmp
directory                     bsize   blocks    megabytes    logsize
/var/tmp                       4096     3352       14.0MB   10485760

% xfs_estimate /var/tmp
/var/tmp will take about 14.0 megabytes


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 18.4 ms