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!

file transfer crashing NAS4Free

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

file transfer crashing NAS4Free

Post by adilux »

has anyone encountered crashes using FreeFileSync with Nas4free?

whenever i sync files from one server over to NAS4Free using FreeFileSync program over CIFS/SMB shares, my box hangs, and i need to hard shut down the server. nothing responds.

Lord Crc
Starter
Starter
Posts: 51
Joined: 17 Jun 2013 12:29
Status: Offline

Re: file transfer crashing NAS4Free

Post by Lord Crc »

Do you have swap available? Only time my nas4free box has crashed hard was when it ran out of memory and didn't have swap.

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

i checked and it says i have a 'default swap' 3GB and it is not enabled. Should i add more and enable it?
You do not have the required permissions to view the files attached to this post.

Lord Crc
Starter
Starter
Posts: 51
Joined: 17 Jun 2013 12:29
Status: Offline

Re: file transfer crashing NAS4Free

Post by Lord Crc »

Nah that should be sufficient. Are you using ZFS? Maybe try limiting ARC?

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

i believe i'm using ZFS, but where do i set the ARC ?
You do not have the required permissions to view the files attached to this post.

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

the nas box doesn't hang right away, the transfer of files would run for a bit and then hang. I've also tried transferring without FreeFileSync and still begins to hang, so i restart it as soon as i can.

Lord Crc
Starter
Starter
Posts: 51
Joined: 17 Jun 2013 12:29
Status: Offline

Re: file transfer crashing NAS4Free

Post by Lord Crc »

adilux wrote:i believe i'm using ZFS, but where do i set the ARC ?
How many physical disks do you have?

In any case, you can force it to use a lower amount of ARC by going to System|Advanced|loader.conf, then add a new variable called "vfs.zfs.arc_max" (without the quotes). To set the max to 2GByte, use the value "2G" (again without quotes). Not sure how much memory you have, if it's 3GB RAM you have, I would try going so low as 1GB as the max ARC value, just to test stability.

Here's from my computer, which has 16GB RAM, so I set the max ARC to 12GB to leave some room for other applications I run.

https://www.dropbox.com/s/4cfgef273rjh5 ... x.png?dl=0

Ignore the other values in that screenshot, and you don't need to fiddle with ARC min size.

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

I have 3 physical hdd on a hardware raid controller jbod.


Sent from my iPhone using Tapatalk

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

4gb of memory PowerEdge 1800


Sent from my iPhone using Tapatalk

Lord Crc
Starter
Starter
Posts: 51
Joined: 17 Jun 2013 12:29
Status: Offline

Re: file transfer crashing NAS4Free

Post by Lord Crc »

adilux wrote:I have 3 physical hdd on a hardware raid controller jbod.
I'm pretty sure you've set up something wrong then, because only one "disk" is shown in the image you posted, which seems to indicate you've set up a raid on the raid controller, not jbod.

For comparison, here's my setup, where I have 8 physical disks on a HBA card (thus no raid possible), in addition to two SSD's connected to the motherboard:
nas4free_disks.png
edit: and here's the pool, for reference:
nas4free_pool.png
You do not have the required permissions to view the files attached to this post.

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

Hmm ok I'll redo my disks thanks for pointing that out


Sent from my iPhone using Tapatalk

Lord Crc
Starter
Starter
Posts: 51
Joined: 17 Jun 2013 12:29
Status: Offline

Re: file transfer crashing NAS4Free

Post by Lord Crc »

I would start with redoing the disks and limit the ARC to 1G, and see if that helps.

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

the drives are plugged into the raid controller, if i don't initialize them on any type of array, the server can't see the drives, so i'll need to get to the machine physically to take them off the raid controller.
unless there's another way to make them JBOD on the raid controller.

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: file transfer crashing NAS4Free

Post by crowi »

which raid controller do you have?
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

Jack Foobar
experienced User
experienced User
Posts: 107
Joined: 07 Jul 2015 01:24
Status: Offline

Re: file transfer crashing NAS4Free

Post by Jack Foobar »

Just an FYI, you can flash your LSI card to IR firmware instead of IT, and you will have RAID. Although you won't have alot of memory to do RAID with, it'll still work. But not really recommended in a NAS setup when you're doing ZFS. IT is for ZFS. IR/RAID for UFS/flat filesystems.

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

crowi wrote:which raid controller do you have?
I have a Dell CERC Sata 1.5/6ch BIOS v4.1-0 [BUILD 7419]
controller #0 Dell Cerc SATA at PCI Bus:03, Dev:09, Func:00

raid controller,
options are limited to raid 0, 1, 5
if i don't initialize them, nas4free doesn't see any drives.

Lord Crc
Starter
Starter
Posts: 51
Joined: 17 Jun 2013 12:29
Status: Offline

Re: file transfer crashing NAS4Free

Post by Lord Crc »

adilux wrote:options are limited to raid 0, 1, 5
You really don't have an option for "Simple Volume" or "JBOD"?

adilux
Starter
Starter
Posts: 27
Joined: 30 Jul 2016 05:35
Status: Offline

Re: file transfer crashing NAS4Free

Post by adilux »

ok Finally, I'm at the machine, i pop open the case to find that there are only 2 SATA slots on the other raid controller (on-board), so that wont work. So made each disk a volume of it's own. Would that work? (oh and i added an extra physical disk)
the selection was
VOLUME or RAID1
but now i can't delete the old zfs volume

the VOLUME option probably didn't show up because i've been selecting multiple disks when creating the volume/raid configuration, so this time when i clicked on one it allowed me to select VOLUME
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “CIFS/SMB (Samba)”