Hi,
I read an article in the latest version of the BSD magazine related to tuning ZFS on FreeBSD.
I tried to install the two scripts to help monitor ZFS status: zfs-stats and zfs-mon.
http://www.freshports.org/sysutils/zfs-stats
I followed the "To add the package" instructions, but it failed with "pkg_add: pkg_add of dependency 'perl-5.12.4_3' failed!"
Has anyone managed to install and run these scripts on NAS4Free ?
Thanks
Ian
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
zfs-stats and zfs-mon
-
hagai
- NewUser

- Posts: 3
- Joined: 01 Mar 2013 15:42
- Status: Offline
Re: zfs-stats and zfs-mon
Hi,
I am also looking for some similar functionality (to zfs-stats) in N4F embedded..
does any one have an idea ?
what i could find is a Python port for FreeNas - http://doc.freenas.org/index.php/Arcstat
--
10'x, hagai
I am also looking for some similar functionality (to zfs-stats) in N4F embedded..
does any one have an idea ?
what i could find is a Python port for FreeNas - http://doc.freenas.org/index.php/Arcstat
--
10'x, hagai
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: zfs-stats and zfs-mon
first you need to setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports ... nt/Latest/
viewtopic.php?f=72&t=1732
viewtopic.php?f=72&t=2646
viewtopic.php?f=72&t=1732
viewtopic.php?f=72&t=2646
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
hagai
- NewUser

- Posts: 3
- Joined: 01 Mar 2013 15:42
- Status: Offline
Re: zfs-stats and zfs-mon
Is it safe to add packages to embedded system?
I read few contradictions advises across this forum..
I read few contradictions advises across this forum..
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: zfs-stats and zfs-mon
is not safe or unsafe, simply is not possible ( not enought space).
You have 2 options.
use full install
or
install packages inside a jail
You have 2 options.
use full install
or
install packages inside a jail
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
hagai
- NewUser

- Posts: 3
- Joined: 01 Mar 2013 15:42
- Status: Offline
Re: zfs-stats and zfs-mon
thanks for your reply.
there is another option, using mount_unionfs, described in the following post:
[HowTo] Install Packages On N4F Embedded
i was actually able to add zfs-stats package and run successfully the zfs-stats and zfs-mon scripts.
one small addition for whom might want to try it -
you should also "setenv PKG_TMPDIR /mnt/opt/tmp/" (or any other mount location you will be using), b4 pkg_add.
about the safety of adding packages to embedded N4F - not for me to tell, i am very new to this stuff/system.
great system BTW.
--
hagai
there is another option, using mount_unionfs, described in the following post:
[HowTo] Install Packages On N4F Embedded
i was actually able to add zfs-stats package and run successfully the zfs-stats and zfs-mon scripts.
one small addition for whom might want to try it -
you should also "setenv PKG_TMPDIR /mnt/opt/tmp/" (or any other mount location you will be using), b4 pkg_add.
about the safety of adding packages to embedded N4F - not for me to tell, i am very new to this stuff/system.
great system BTW.
--
hagai
-
ErrorCode67
- NewUser

- Posts: 1
- Joined: 09 Dec 2014 14:53
- Status: Offline
Re: zfs-stats and zfs-mon
Steps I used to install on 9.2.0.1 - Shigawire (revision 972)
# uname -a
FreeBSD xxxxxx.yyyyyyy.zzz 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0 r264973M: Sun Apr 27 13:37:49 CEST 2014 root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64
# setenv PACKAGESITE 'ftp://ftp.freebsd.org/pub/FreeBSD/ports ... nt/Latest/'
# pkg_add -r zfs-stats
# find / -name zfs-stats
/usr/local/bin/zfs-stats
# /usr/local/bin/zfs-stats -a
# uname -a
FreeBSD xxxxxx.yyyyyyy.zzz 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0 r264973M: Sun Apr 27 13:37:49 CEST 2014 root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64
# setenv PACKAGESITE 'ftp://ftp.freebsd.org/pub/FreeBSD/ports ... nt/Latest/'
# pkg_add -r zfs-stats
# find / -name zfs-stats
/usr/local/bin/zfs-stats
# /usr/local/bin/zfs-stats -a