Centos 7 / xfs : is there a reserved space setting for xfs like there is in ext4?
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
xfs does not have reserved space and I agree that 0.5TB is quite excessive for overhead. As a simple test I created a 1 and 2 GB file that I formatted as xfs. In either case the used space was the same, 33M as displayed by the df command.
What happens when you run the xfs_check and xfs_repair commands.
Phttt - it's only 8 and a bit percent ....
If I had to guess, I saw it's "ducks and drakes". The vendor sold you a 6 TB drive, and XFS formatted a 5.5 TiB filesystem. Disk sizes are a scam - 1000 versus 1024 for a k is just the start ...
Unfortunately, we've started using it (it's a backup system we needed stat), so I probably won't get a chance to run the cmds michaelk suggested, as they both require unmounting or at least making it read-only - not going to happen now...
Read this - there are other articles as well. The numbers start to get your attention as they get bigger.
Note also that the reserved space on ext? is in the filesystem, so would not show in this context anyway.
Last edited by syg00; 09-13-2019 at 05:18 AM.
Reason: oops - left out the "not"
syg00 is correct reserved space is part of the filesystem. From what I read and what I think are ~ real numbers is a bit different on my system so I will need to look into it a bit further. Yes it depends if 6TB is the manufactures disk size or the actual raw partition size and if the reference is decimal or binary.
The /boot partition on one of my systems is 1GB. Just for some quick numbers parted reports it as raw = 1074MB and formatted df -h = 1014MB which is about 5.6%
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.