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!

Add iperf or minor upgrade?

For "upgrading" from FreeNAS/NAS4Free Legacy to XigmaNAS and upgrading XigmaNAS to newer builds.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Hercules
NewUser
NewUser
Posts: 11
Joined: 27 Apr 2013 10:59
Status: Offline

Add iperf or minor upgrade?

Post by Hercules »

Hi Guys,

I have this:
Name freenas1.local
Version 0.69 Kwisatz Haderach (revision 4221)
built on Sun Jan 4 13:23:46 UTC 2009
OS Version FreeBSD 6.4-RELEASE-p1 (revision 199506)
Platform amd64-embedded on AMD Athlon(tm) Processor LE-1620 running at 2400MHz

which I am very happy with and have no reason to change. BUT I do want to get iperf onto it which came in with 0.7 I believe. I tried pkg_add but it returned an error as the urls appear to no longer work.

So my question is how can I either (a) get iperf onto it; or (b) upgrade with zero chance of having a problem with my RAID 5. Apparently I used geom.vinum to create the SoftRAID5 and that can be an issue? I have no idea I just saw that in another post when I was looking for something else.

I tried to find a 0.7 version (which supported my 64bit AMD) online to no avail.

Ideas?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Add iperf or minor upgrade?

Post by raulfg3 »

to add iperf , you need to locate it in port and set apropiate setenv packagesite:

eg:

Code: Select all

setenv PACKAGESITE "ftp://ftp.freebsd.org/pub/FreeBSD/ports/AMD64/packages-9-current/Latest/"


please revise using filezilla or firefox, that iperf package exist in path ftp://ftp.freebsd.org/pub/FreeBSD/ports ... nt/Latest/ and check that is compatible ( AMD or i386) with your system.
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

Hercules
NewUser
NewUser
Posts: 11
Joined: 27 Apr 2013 10:59
Status: Offline

Re: Add iperf or minor upgrade?

Post by Hercules »

OK thanks. With some tweaking of that path I had what I thought was a successful install by using

Code: Select all

pkg_add -r iperf
Typing iperf on the command line though results in a a "command not found" error despite /usr/local/bin being in the PATH.

So I typed

Code: Select all

/usr/local/bin/iperf

and got the following error:

Code: Select all

/libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required by "iperf"
I thought any dependencies would have been installed. Is this a path problem because of the first issue where it won't execute without the full path or is there something else missing in my old version?

Thanks for the help so far.

danic
Starter
Starter
Posts: 30
Joined: 26 Jun 2012 21:07
Status: Offline

Re: Add iperf or minor upgrade?

Post by danic »

You're running a old version of freenas. It is running "FreeBSD 6.4-RELEASE-p1". I don't think freebsd.org has the appropriate packages needed for freebsd 6.4. What 'setenv PACKAGESITE' location did you use? If you browse 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/' or 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/' you'll see that freebsd 6.4 is not in this list.

With some googling you might be able to figure out how to install specific packages from old FreeBSD 6.4 DVD.
Danic
Nas4Free - AMD X4 960T - GIGABYTE 990FXA-UD3 - 16GB RAM - IBM M1015/IT - Intel RS2WC080/IT- 6x 3TB - 4x 320GB - 3x 640GB - 120GB SSD - 240GB SSD

Hercules
NewUser
NewUser
Posts: 11
Joined: 27 Apr 2013 10:59
Status: Offline

Re: Add iperf or minor upgrade?

Post by Hercules »

Thanks that is the info I needed. I found all the old distros at the freebsd archive. This is the specific one I used.

Code: Select all

http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/6.4-RELEASE/packages/benchmarks/
For those in the future I first used pkg_delete to remove the iperf I had installed and then installed this correct version.

There is still some path problem where I have to change to /usr/local/bin and use ./iperf to get it to work but it is working. Thanks for the help guys!

User avatar
zoon01
Developer
Developer
Posts: 724
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

Re: Add iperf or minor upgrade?

Post by zoon01 »

You really should considering a upgrade to NAS4Free!

This FreeNAS builds are leak as hell if security is needed!
We also do not support this as those builds are very long end of life now.

Please upgrade the systems.

Regards,
zoon01
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz

Development system is same system in virtualbox.

Post Reply

Return to “Upgrade XigmaNAS”