Stupid question regarding ZFS and `df -h` output
Aleksander Alekseev
afiskon at devzen.ru
Sun Apr 10 12:58:03 UTC 2016
Hello, Dean
Thanks for your reply.
> What is the output of "gpart show" as well as "zpool status" I am
> guessing that part of the disk is used for swap outside of zfs. gpart
> show will list the gpart partitions that were created and zpool
> status will show the devices that the zfs is created on giving a
> better picture as to why you are only seeing 95G instead of the 128.
```
$ sudo gpart show
Password:
=> 34 250069613 ada0 GPT (119G)
34 6 - free - (3.0K)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 245872640 3 freebsd-zfs (117G)
250068992 655 - free - (328K)
$ sudo zpool status
pool: zroot
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
errors: No known data errors
```
Right, there is a swap partition. But I personally still don't
understand why ZFS partitions size is 117G and `df` shows weird numbers
like 95G and 74G.
--
Best regards,
Aleksander Alekseev
http://eax.me/
More information about the freebsd-questions
mailing list