Hello.
I'm trying to learn how to extend the zfs storage filesystem of nomadBSD that I have installed on the disk da1. It's size is 298 GB ; the filesystem size of nomadBSD is 3.3G but I have 295 Gb left on the disk :
According with this site,where the OP asked the same :
this is how is my situation :
According with the post,the command to issue could be :
but I'm not sure,because the file system nomadbsd-zroot has a reservation property set to none,while on the example explained in the website it is set to 200G. So,I presume that I can't do it so easily. I would like to gather more informations before issuing random commands. Anyway I tried and it seems that a part of the problem has been solved ?
what to do now ???
I'm trying to learn how to extend the zfs storage filesystem of nomadBSD that I have installed on the disk da1. It's size is 298 GB ; the filesystem size of nomadBSD is 3.3G but I have 295 Gb left on the disk :
Code:
# gpart show
=> 63 625142385 da1 MBR (298G)
63 1985 - free - (993K)
2048 81920 1 efi (40M)
83968 7022592 2 freebsd [active] (3.3G)
7106560 618035888 - free - (295G)
According with this site,where the OP asked the same :
Extend zfs storage filesystem
Hello, Need to ask the question regarding extending the zfs storage file system. currently after using the command, df -kh u01-data-pool/data 600G 552 48G 93% /data /data are only 48 gb remaining and | The UNIX and Linux Forums
www.unix.com
this is how is my situation :
Code:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
nomadbsd-zroot 2.37G 772M 96K /mnt/nomadbsd-zroot/nomadbsd-z
root
nomadbsd-zroot/ROOT 2.37G 772M 96K none
nomadbsd-zroot/ROOT/default 2.37G 772M 2.37G /mnt/nomadbsd-zroot
nomadbsd-zroot/usr 584K 772M 96K /mnt/nomadbsd-zroot/usr
nomadbsd-zroot/usr/obj 96K 772M 96K /mnt/nomadbsd-zroot/usr/obj
nomadbsd-zroot/usr/ports 296K 772M 104K /mnt/nomadbsd-zroot/usr/ports
nomadbsd-zroot/usr/ports/distfiles 96K 772M 96K /mnt/nomadbsd-zroot/usr/ports/
distfiles
nomadbsd-zroot/usr/ports/packages 96K 772M 96K /mnt/nomadbsd-zroot/usr/ports/
packages
nomadbsd-zroot/usr/src 96K 772M 96K /mnt/nomadbsd-zroot/usr/src
nomadbsd-zroot/var 424K 772M 96K /mnt/nomadbsd-zroot/var
nomadbsd-zroot/var/audit 104K 772M 104K /mnt/nomadbsd-zroot/var/audit
nomadbsd-zroot/var/crash 96K 772M 96K /mnt/nomadbsd-zroot/var/crash
nomadbsd-zroot/var/mail 128K 772M 128K /mnt/nomadbsd-zroot/var/mail
zroot 405G 40.3G 96K /zroot
zroot/ROOT 393G 40.3G 96K none
zroot/ROOT/13.1-RELEASE-p2_2022-11-11_174736 8K 40.3G 321G /
zroot/ROOT/13.1-RELEASE-p3_2022-11-17_193042 8K 40.3G 343G /
zroot/ROOT/13.1-RELEASE_2022-09-01_041825 8K 40.3G 308G /
zroot/ROOT/31-03-2022-a 512K 40.3G 43.4G /
zroot/ROOT/31-03-2022-b 393G 40.3G 312G /
zroot/tmp 14.9M 40.3G 14.9M /tmp
zroot/usr 11.2G 40.3G 96K /usr
zroot/usr/home 192K 40.3G 192K /usr/home
zroot/usr/ports 11.2G 40.3G 11.2G /usr/ports
zroot/usr/src- 96K 40.3G 96K /usr/src-
zroot/var 1.26G 40.3G 96K /var
zroot/var/audit 96K 40.3G 96K /var/audit
zroot/var/crash 1.11G 40.3G 1.11G /var/crash
zroot/var/log 3.89M 40.3G 3.89M /var/log
zroot/var/mail 130M 40.3G 130M /var/mail
zroot/var/tmp 18.1M 40.3G 18.1M /var/tmp
zroot2 348G 551G 348G /zroot2
zroot2/ROOT 296K 551G 96K none
zroot2/ROOT/default 200K 551G 200K /
zroot2/tmp 96K 551G 96K /tmp
zroot2/usr 392K 551G 96K /usr
zroot2/usr/home 96K 551G 96K /usr/home
zroot2/usr/ports 104K 551G 104K /usr/ports
zroot2/usr/src 96K 551G 96K /usr/src
zroot2/var 5.11M 551G 96K /var
zroot2/var/audit 96K 551G 96K /var/audit
zroot2/var/crash 96K 551G 96K /var/crash
zroot2/var/log 4.62M 551G 4.62M /var/log
zroot2/var/mail 96K 551G 96K /var/mail
zroot2/var/tmp 112K 551G 112K /var/tmp
# zfs list -t all -o space -r nomadbsd-zroot
NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD
nomadbsd-zroot 772M 2.37G 0B 96K 0B 2.37G
nomadbsd-zroot/ROOT 772M 2.37G 0B 96K 0B 2.37G
nomadbsd-zroot/ROOT/default 772M 2.37G 0B 2.37G 0B 0B
nomadbsd-zroot/usr 772M 584K 0B 96K 0B 488K
nomadbsd-zroot/usr/obj 772M 96K 0B 96K 0B 0B
nomadbsd-zroot/usr/ports 772M 296K 0B 104K 0B 192K
nomadbsd-zroot/usr/ports/distfiles 772M 96K 0B 96K 0B 0B
nomadbsd-zroot/usr/ports/packages 772M 96K 0B 96K 0B 0B
nomadbsd-zroot/usr/src 772M 96K 0B 96K 0B 0B
nomadbsd-zroot/var 772M 424K 0B 96K 0B 328K
nomadbsd-zroot/var/audit 772M 104K 0B 104K 0B 0B
nomadbsd-zroot/var/crash 772M 96K 0B 96K 0B 0B
nomadbsd-zroot/var/mail 772M 128K 0B 128K 0B 0B
# zpool list nomadbsd-zroot
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
nomadbsd-zroot 3.25G 2.37G 900M - - 53% 72% 1.00x ONLINE /mnt/nomadbsd
-zroot
# zfs get refquota,quota,refreservation,reservation nomadbsd-zroot
NAME PROPERTY VALUE SOURCE
nomadbsd-zroot refquota none default
nomadbsd-zroot quota none default
nomadbsd-zroot refreservation none default
nomadbsd-zroot reservation none default
According with the post,the command to issue could be :
Code:
# zfs set quota=290g nomadbsd-zroot
but I'm not sure,because the file system nomadbsd-zroot has a reservation property set to none,while on the example explained in the website it is set to 200G. So,I presume that I can't do it so easily. I would like to gather more informations before issuing random commands. Anyway I tried and it seems that a part of the problem has been solved ?
Code:
# zfs set quota=290g nomadbsd-zroot
# zfs get refquota,quota,refreservation,reservation nomadbsd-zroot
NAME PROPERTY VALUE SOURCE
nomadbsd-zroot refquota none default
nomadbsd-zroot quota 290G local
nomadbsd-zroot refreservation none default
nomadbsd-zroot reservation none default
what to do now ???