Hi!
I've moved FreeBSD from an old disk to a new one. The disk has 50 GiB space available. Partitions are (it is a
gpt partitioned disk):
ZFS has 44GiB space available.
This seems ok too, since the zpool is sized 43.8GiB. But now:
Since autoexpand is set to true:
Any idea why zfs does not use the remaining ~20GiB of the partition?
I've moved FreeBSD from an old disk to a new one. The disk has 50 GiB space available. Partitions are (it is a
gpt partitioned disk):
Code:
# gpart show
=> 40 104857520 vtbd0 GPT (50G)
40 1024 1 freebsd-boot (512K)
1064 12582912 2 freebsd-swap (6.0G)
12583976 92273584 3 freebsd-zfs (44G)
ZFS has 44GiB space available.
Code:
# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zroot 43.8G 22.8G 20.9G - - 35% 52% 1.00x ONLINE -
This seems ok too, since the zpool is sized 43.8GiB. But now:
Code:
# df -h
Filesystem Size Used Avail Capacity Mounted on
zroot 20G 641M 20G 3% /
devfs 1.0K 0B 1.0K 0% /dev
zroot/home 20G 136K 20G 0% /home
zroot/tmp 20G 124M 20G 1% /tmp
zroot/usr 26G 6.1G 20G 24% /usr
zroot/usr/ports 23G 3.6G 20G 16% /usr/ports
zroot/usr/ports/distfiles 20G 128K 20G 0% /usr/ports/distfiles
zroot/usr/ports/packages 20G 96K 20G 0% /usr/ports/packages
zroot/usr/src 25G 5.5G 20G 22% /usr/src
zroot/var 26G 6.4G 20G 25% /var
zroot/var/crash 20G 96K 20G 0% /var/crash
zroot/var/db 20G 189M 20G 1% /var/db
zroot/var/db/pkg 20G 104M 20G 1% /var/db/pkg
zroot/var/empty 20G 96K 20G 0% /var/empty
zroot/var/log 20G 1.6M 20G 0% /var/log
zroot/var/mail 20G 120K 20G 0% /var/mail
zroot/var/run 20G 208K 20G 0% /var/run
zroot/var/tmp 20G 124K 20G 0% /var/tmp
procfs 8.0K 0B 8.0K 0% /proc
linprocfs 8.0K 0B 8.0K 0% /usr/compat/linux/proc
fdescfs 1.0K 0B 1.0K 0% /dev/fd
df
says the filesystem has 20 GiB available! And it seems this is all zfs can allocate.Since autoexpand is set to true:
Code:
# zpool get autoexpand zroot
NAME PROPERTY VALUE SOURCE
zroot autoexpand on local
Any idea why zfs does not use the remaining ~20GiB of the partition?