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!

NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Posts only related to Release Builds, all others will be removed!
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
zoon01
Developer
Developer
Posts: 724
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by zoon01 »

The NAS4Free Team is pleased to announce the release of version 11.1.0.4.4729 - Atomics

Download build 11.1.0.4.4729
Please Read always the readme_11.1 file

For who wants to know a bit more, here are the
FreeBSD-11.1R-release_notes
and the
FreeBSD-11.1R-hardware_notes

Major Change!

cifs/smb note:
==============
From Samba 4.5.0 and up the default value for the "ntlm auth" option is changed from "yes" to "no".
This may have impact on very old clients which doesn't support NTLMv2 yet.
Only if you really need NTLMv1 Authentication you can set in Additional Parameters: "ntlm auth = yes".

BUILD 11.1.0.4.4729

Changes after release 11.0.0.4.4619
===============================
- Update translations.
- Webgui framework/code improvements.
- Add handling instructions for smartmontools for unkown USB mass storage devices.
- Upgrade php to 7.1.10.
- Upgrade tmux to 2.6.
- Upgrade syncthing to 0.14.39.
- Upgrade virtualbox-ose to 5.1.30.

Fixes
- Fix snmp start, hrPrinterTable: printcap entry for <noname?> has errors.
- Fix define class before inheriting.

Note:
Clear your browser's cache to avoid display issues after upgrade when coming from older release like past 11.0 series.
Make a new backup of your system configuration and store this on safe location.

Enjoy!

Regards,
The NAS4Free Team
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.

sleid
PowerUser
PowerUser
Posts: 774
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by sleid »

Update without any problem, thank you dev team.
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX

reun
NewUser
NewUser
Posts: 6
Joined: 14 Jun 2016 09:24
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by reun »

The embedded version updated OK from the previous version after commenting out these lines in /etc/rc.firmware there:

Code: Select all

exec </dev/console >/dev/console 2>/dev/console
I also saw that /etc/rc.firmware is quite different now, so I tried to “upgrade” from this version to the same version. Enable Firmware Update button worked fine, but the actual update hung:

Code: Select all

2803  -  I      0:00.01 /bin/sh /etc/rc.firmware upgrade /var/tmp/ftmp/firmware.img
Looks like the problem is still related to /dev/console, as the current code does something akin to:

Code: Select all

echo here | tee /dev/console
which also hangs on my system.

octave
experienced User
experienced User
Posts: 123
Joined: 30 Sep 2013 12:37
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by octave »

hi all

i have le litle problem with has on a cluster, it's loose parameter secondaray and primary position after stop for y or x action.
when i push hast master to slave status, both node reboot with no explain.
Project
Cluster Pfsense (end)
Cluster ESXI /Hyperv (standby)
Cluster NAS/SAN (in project)
---
2x Dell Poweredge C6100
2x SuperMicro X8dth-i (NAS/SAN Build) ISCSI

doktornotor
Advanced User
Advanced User
Posts: 189
Joined: 16 May 2017 00:22
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by doktornotor »

Yeah, commenting out that nonsense redirection helps... except for missing /var/tmp/ftpm; the rc.firmware script needs to create that directory if it doesn't exist *before* trying to create a ramdisk in there.

As for

Code: Select all

printf <something> | tee /dev/console
sigh... please revert this. What's the obsession with /dev/console here? Absolutely NOT needed, wanted or desired for updating firmware.

Victek
Starter
Starter
Posts: 47
Joined: 01 Jul 2012 20:23
Location: Barcelona - Spain
Contact:
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by Victek »

Thanks for the new release, please look at http://localhost/status_disks.php .. a delay of some seconds to show the UI and when it appears the discs workload almost zero.

Code: Select all

ada0	63.02GB	SanDisk SDSSDP064G	Boot SSD	142807400904	UFS			96.51 KiB/t, 0 tps, 0.00 MiB/s	7 °C	Online
da0	10.00TB	ST10000VN0004-1ZD101	hdd_1		ZA21NPIT	ZFS Storage Pool	13.88 KiB/t, 0 tps, 0.00 MiB/s	29 °C	Online
da1	10.00TB	ST10000VN0004-1ZD101	hdd_2		ZA21NJHG	ZFS Storage Pool	13.49 KiB/t, 0 tps, 0.00 MiB/s	28 °C	Online
da2	10.00TB	ST10000VN0004-1ZD101	hdd_3		ZA21XVFD	ZFS Storage Pool	14.04 KiB/t, 0 tps, 0.00 MiB/s	30 °C	Online

Checking http://localhost/diag_infos_disks.php correct..

Code: Select all

da0	ST10000VN0004-1ZD101	hdd_1		10.00TB	ZA21NPIT 	7200 rpm		6.0 Gb/s 	Available, Active 	mps0	Avago Technologies (LSI) SAS2008 	30 °C	Online 
da1	ST10000VN0004-1ZD101	hdd_2		10.00TB	ZA21NJHG	7200 rpm		6.0 Gb/s 	Available, Active 	mps0	Avago Technologies (LSI) SAS2008 	29 °C	Online 
da2	ST10000VN0004-1ZD101	hdd_3		10.00TB	ZA21XVFD	7200 rpm		6.0 Gb/s 	Available, Active 	mps0	Avago Technologies (LSI) SAS2008 	30 °C	Online 
ada0	SanDisk SDSSDP064G	Boot SSD	63.02GB	142807400904 	Solid State Device 	6.0 Gb/s 	Available, Active 	ahcich0	Intel Lynx Point AHCI SATA controller 	7 °C	Online
Build: XigmaNAS 12.1.0.4 amd64-embedded on Sandisk 64GB SSD. Supermicro X10SLL-F-Bios v3.3- IPMI v.3.88- Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz - 32GB Crucial DDR3 ECC (CT102472BD160B), LSI 2008-8i IT mode, Storage: 3x Seagate Ironwolf 10TB. Raidz. Enclosure; Fractal Design R6.

User avatar
ms49434
Developer
Developer
Posts: 828
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by ms49434 »

status_disks.php shows the size per transaction, the number of transactions per second and the throughoutput.
diag_infos_disks.php shows the interface speed which is 6Gb/s in your case.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

Victek
Starter
Starter
Posts: 47
Joined: 01 Jul 2012 20:23
Location: Barcelona - Spain
Contact:
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by Victek »

Thanks, indeed, and as you see the throughput is zero but I tested copying two threads and the throughput (112MBpsec) is indicated as:


da0 10.00TB ST10000VN0004-hdd_1 ZFS Storage Pool 64.73 KiB/t, 2 tps, 0.12 MiB/s
da1 10.00TB ST10000VN0004-hdd_2 ZFS Storage Pool 60.67 KiB/t, 2 tps, 0.10 MiB/s
da2 10.00TB ST10000VN0004-hdd_3 ZFS Storage Pool 61.40 KiB/t, 2 tps, 0.10 MiB/s

How can I translate these figures into MBps?..
Build: XigmaNAS 12.1.0.4 amd64-embedded on Sandisk 64GB SSD. Supermicro X10SLL-F-Bios v3.3- IPMI v.3.88- Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz - 32GB Crucial DDR3 ECC (CT102472BD160B), LSI 2008-8i IT mode, Storage: 3x Seagate Ironwolf 10TB. Raidz. Enclosure; Fractal Design R6.

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

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by zoon01 »

reun wrote:
19 Oct 2017 11:11
The embedded version updated OK from the previous version after commenting out these lines in /etc/rc.firmware there:

Code: Select all

exec </dev/console >/dev/console 2>/dev/console
I also saw that /etc/rc.firmware is quite different now, so I tried to “upgrade” from this version to the same version. Enable Firmware Update button worked fine, but the actual update hung:

Code: Select all

2803  -  I      0:00.01 /bin/sh /etc/rc.firmware upgrade /var/tmp/ftmp/firmware.img
Looks like the problem is still related to /dev/console, as the current code does something akin to:

Code: Select all

echo here | tee /dev/console
which also hangs on my system.
can you reflash this firmware after change console from sc to vt for me?

please add in System > Advanced > loader.conf first

name: kern.vty
value: vt

and then the second,

name: hw.vga.textmode
value: 1

Please reboot and re-flash,
Thanks
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.

reun
NewUser
NewUser
Posts: 6
Joined: 14 Jun 2016 09:24
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by reun »

zoon01 wrote:
19 Oct 2017 23:14
can you reflash this firmware after change console from sc to vt for me?

please add in System > Advanced > loader.conf first

name: kern.vty
value: vt

and then the second,

name: hw.vga.textmode
value: 1

Please reboot and re-flash,
Thanks
The behaviour is the same after these tunable changes. The script hangs and tee remains in ttydcd state:

Code: Select all

  PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
 2840 root            1  52    0  8320K  1932K ttydcd  1   0:00   0.00% tee
I don't have a screen attached. Never had.

BodgeIT
Starter
Starter
Posts: 74
Joined: 03 Jul 2012 17:39
Location: London
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by BodgeIT »

Updated on embedded, no dramas. Thanks guys.
NAS4Free: 11.4.0.4 - (7682) amd64-embedded
Mobo: Supermicro X9SCL-F, CPU: Xeon E3-1230v2; RAM: Crucial 32GB ECC
System: IBM M1015it SAS controller(SAS2008 v20); Intel Dual 1Gb Server Nic; Thermaltake 1KW PSU;

Storage: Raidz1(3x Toshiba N300 6TB), Raidz1(3x WD Red 3TB), UFS(1x 1TB) Utility disk, ZFS Cache(64Gb SSD)

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

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by zoon01 »

reun can you test this build:

http://www.zoonsnas.nl/Latest_NAS4Free_ ... .0.4.4738/

and report back to us
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.

doktornotor
Advanced User
Advanced User
Posts: 189
Joined: 16 May 2017 00:22
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by doktornotor »

zoon01 wrote:
20 Oct 2017 20:54
reun can you test this build:

http://www.zoonsnas.nl/Latest_NAS4Free_ ... .0.4.4738/

and report back to us
With rc.firmware from trunk:

Code: Select all

Oct 20 22:32:07 nas4free root: Perform Embedded Upgrade: mount /cf in read-write mode - failed.
Oct 20 22:32:07 nas4free root: Perform Embedded Upgrade: force mount /cf in read-write mode - failed.
Other than that, and the still missing mkdir -p ${FTMP}, it works.

doktornotor
Advanced User
Advanced User
Posts: 189
Joined: 16 May 2017 00:22
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by doktornotor »

Fixed with this patch (this is against r4738):

Code: Select all

--- /etc/rc.firmware 2017-10-20 20:05:19.000000000 +0200
+++ /etc/rc.firmware    2017-10-20 23:18:19.290128000 +0200
@@ -40,6 +40,10 @@
 #
        # Create efficient memory file system.
        if ! df | grep -qw ${FTMP}; then
+               if [ ! -d ${FTMP} ]; then
+                   /bin/mkdir -p -m 1777 ${FTMP}
+               fi
+
                /sbin/mount -t tmpfs -o size=${SIZE},mode=1777 tmpfs ${FTMP} > /dev/null 2>&1
                if [ $? -ne 0 ]; then
                        /usr/bin/logger -p console.err "${program}: ${topic} - mount command failed."
@@ -250,6 +254,19 @@
                sleep 2
        fi
 #
+       if /sbin/mount | /usr/bin/grep -qw /cf; then
+               topic="unmount /cf before remounting in read-write mode"
+               /usr/bin/logger -p console.debug "${program}: ${topic} - processing."
+#
+               /sbin/umount -f /cf
+               if [ $? -ne 0 ]; then
+                       /usr/bin/logger -p console.err "${program}: ${topic} - failed."
+                       RESULT=1
+               else
+                       /usr/bin/logger -p console.debug "${program}: ${topic} - success."
+               fi
+       fi
+#
        if [ ${RESULT} -eq 0 ]; then
                topic="mount /cf in read-write mode"
                /usr/bin/logger -p console.debug "${program}: ${topic} - processing."
As for the first hunk, already explained the missing directory issue.

As for the /cf remount, my guess would be it takes too much time before the image is unpacked, so the previously unmounted /cf gets remounted meanwhile (readonly) and then the subsequent attempt to remount it read/write fails.

rth
Starter
Starter
Posts: 19
Joined: 21 Dec 2014 17:34
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by rth »

Updated embedded version with no problems on a HP N40L microserver with 2GB ram and 3 discs in a ZFS array

doktornotor
Advanced User
Advanced User
Posts: 189
Joined: 16 May 2017 00:22
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by doktornotor »

As for this commit: https://sourceforge.net/p/nas4free/code/4760/

1/ No it's not created via lighttpd when you relocate lighttpd_uploaddir via rc.conf. There's a perfectly good reason to do that to avoid filling a ramdisk with a large upload...
2/ Why would anyone break firmware upgrade because of this? mkdir it instead of producing annoying needless fatal failure... Ugh. Or, honor $lighttpd_uploaddir instead.

reun
NewUser
NewUser
Posts: 6
Joined: 14 Jun 2016 09:24
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by reun »

zoon01 wrote:
20 Oct 2017 20:54
reun can you test this build:

http://www.zoonsnas.nl/Latest_NAS4Free_ ... .0.4.4738/

and report back to us
This version works on my system without any changes to /etc/rc.firmware!

vicmarto
NewUser
NewUser
Posts: 13
Joined: 19 Apr 2016 02:37
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by vicmarto »

I'm experimenting in my Mac the same bug described here:

https://bugs.freenas.org/issues/20095

Cordel
NewUser
NewUser
Posts: 7
Joined: 28 Apr 2014 12:50
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by Cordel »

N4F - 11.1.0.4.4729 released - embeded
So I have been trying to research why this update has introduced lag when selecting different sections in the webGUI and I see CURL errors in the logs that really haven't helped me track down whats going on.
My knowledge of the internals for NAS4Free are fairly low, as I have not ever had an issue on this system or N4F so never needed under the hood so to speak. This system is now around ten years old though and on a closed network.

Code: Select all

Nov  3 19:40:07 nas sudo:     root : TTY=unknown ; PWD=/usr/local/www ; USER=vboxusers ; COMMAND=/usr/local/bin/VBoxManage showvminfo --machinereadable 9d97f6f9-d326-4e87-a1b6-3971efe92988
Nov  3 19:40:17 nas root: CURL error: Resolving timed out after 5787 milliseconds
Nov  3 19:40:23 nas root: CURL error: Resolving timed out after 5750 milliseconds
Nov  3 19:40:29 nas root: CURL error: Resolving timed out after 5850 milliseconds
Nov  3 19:44:25 nas root: CURL error: Resolving timed out after 5784 milliseconds
Nov  3 19:44:30 nas root: CURL error: Resolving timed out after 5727 milliseconds
Nov  3 19:44:36 nas root: CURL error: Resolving timed out after 5779 milliseconds
Nov  3 19:44:45 nas root: CURL error: Resolving timed out after 5704 milliseconds
Nov  3 19:44:50 nas root: CURL error: Resolving timed out after 5694 milliseconds
Nov  3 19:44:56 nas root: CURL error: Resolving timed out after 5574 milliseconds
Nov  3 19:47:26 nas login: login on ttyu0 as root
Nov  3 19:54:01 nas smbd[2778]: [2017/11/03 19:54:01.863825,  2] ../source3/smbd/server.c:800(remove_child_pid)
Nov  3 19:54:01 nas smbd[2778]:   Could not find child 4015 -- ignoring
So in my quest to trouble shoot whats going on, I tied into my serial port for console access (server board with no video) and found that the only option I can get to work as expected is option 6 to go into the shell. All other options return nothing but a single cairrage return and hang, and nothing even echos on the screen including carriage returns produce no activity in the screen. Ctrl-c will break out and the option menu is re-output.

I seen the update to NAS4Free-x64-embedded-11.1.0.4.4812 so naturally figured the thing to do is update. Updating from the webGUI I get to the screen that the server will reboot, though it never does even after 24hrs.

So I downloaded the USB live image and loaded a USB drive to upgrade, still have the same issues in the console menu as described above. Can't configure interfaces, set an IP, upgrade, or any other option except go to the shell.

So I'm at a complete stand still, not sure where else to look as I have found little in the logs to point me in any direction.

I found this thread and tried:

Code: Select all

please add in System > Advanced > loader.conf first

name: kern.vty value: vt

and then the second,

name: hw.vga.textmode value: 1

Please reboot and re-flash,
The update is hung, and the system is not rebooting. Any direction would be appreciated.

Code: Select all

nas: log# ls -lah /var/tmp/ftmp/
total 175780
drwxrwxrwt  2 root  wheel    64B Nov  3 19:46 .
drwxrwxrwt  6 root  wheel   448B Nov  3 20:28 ..
-rw-r--r--  1 root  wheel   172M Nov  3 19:46 firmware.img
nas: log#

Cordel
NewUser
NewUser
Posts: 7
Joined: 28 Apr 2014 12:50
Status: Offline

Re: NAS4Free 11.1.0.4.4729 released (FreeBSD 11.1-RELEASE-P1)

Post by Cordel »

So I managed to fix most of my issues, as there seems to be erroneous characters in the rc.firmware file attached to most of the lines with:

Code: Select all

</dev/console >/dev/console 2>/dev/console
But I was unable to solve why most of the console menu via serial does not work. The only option I can get to function through all recent versions including NAS4Free-x64-*-11.1.0.4.4812 is option to go to shell. All the rest of the options from the serial console menu are not functional. Every function that includes cdialog just hangs.

Post Reply

Return to “Release Builds”