16
votes
Accepted
How to get FreeNAS to spin down disks?
There are a handful of reasons disks might be accessed and spun up by the system. The following changes let my disks stay spun down.
S.M.A.R.T.
By default S.M.A.R.T. checks drives every 30 seconds, ...
15
votes
FreeNAS, Do I need 1GB per TB of usable storage, or 1GB of memory per TB of physical disc?
This topic is controversal, and still ongoing debate. I think the best answer is: "It depends". If you are going to need deduplication, you probably want to have huge amount of rams. There the 1 GB ...
13
votes
Accepted
Is it possible to change zfs raid-z1 to raid-z2 or raid-z3 on freenas?
Reshaping a RAID-Z to a different RAID-Z Level is not possible.
As explained by Shane, you have to determine the RAID-Z level on creation. the RAID level cannot be changed at any time later. It may be ...
12
votes
Accepted
Non-ECC memory with ZFS: a stupid idea?
I would argue that running FreeNAS with non-ECC RAM is a stupid idea, as is running it as a virtualized guest, when the data stored on the ZFS volume is important.
Joshua Paetzel, one of the FreeNAS ...
11
votes
How to restart web ui on freenas
For TrueNAS 12:
service middlewared restart
service nginx restart
11
votes
Accepted
Offline uncorrectable sectors in SSDs being used for ZFS L2ARC?
Those numbers are obviously bogus. Your SSD doesn't have that many sectors at all, let alone offline uncorrectable ones. Check for firmware updates for your SSD that will fix the problem. Otherwise, ...
10
votes
Accepted
How to check if RAM is running in ECC mode?
Today I found out that there is a commercial version of memtest86 (without the +) from PassMark that offers a free version too which thankfully included ECC-Checks.
In addition it also supports DDR4 ...
9
votes
Accepted
Data missing after ZFS replication on FreeNAS/TrueNAS
The difference can be related to different pool or dataset configuration (mirror vs raidz, ashift value, recordsize, compression, etc). If you sent data via send/recv, no data should be lost ever. ...
8
votes
Accepted
How to move iocage jails from one ZFS pool to another?
To move iocage from /mnt/OLD/iocage to /mnt/NEW/iocage:
Export jails
iocage stop JAILNAME
iocage export JAILNAME
This creates a dated .zip of the jail in /mnt/OLD/iocage/images.
Set up new pool
Use ...
7
votes
How to check if RAM is running in ECC mode?
Edited:
Bad new from your motherboard manual... :
I see you run BSD/linux, run that inside the OS; (Available for FreeNAS)
dmidecode -t 17
You should have a output like:
dmidecode 2.12
SMBIOS 2.5 ...
6
votes
Accepted
Risk of FreeNAS as Virtual File Server
General answer
If I cannot guarantee that I can follow these recommendations, am I more vulnerable to failure - especially catastrophic failure - than if I run a vanilla Linux system with EXT4/XFS, ...
6
votes
Accepted
RAID 6 array much faster than my RAID 10 array?
I would recommend using deskspeed.exe to be confident about numbers which you displaying to the community.
This article should help you at tunning Synology box
https://www.starwindsoftware.com/...
6
votes
zdb doesn’t recognize my pool?
For whatever reason, the cache path is different on FreeNAS. They haven't patched zdb to know where to look by default.
Add -U /data/zfs/zpool.cache <POOLNAME> to all uses of zdb to get it to ...
6
votes
Copying terabytes of hundreds of thousands of files in folder slow
The root cause for the slow transfer rate is, possibly, the fact that the workstation M2 drives need to do a lot of random reads.
The fast NVMe M2s (that you are most likely using, I think) are ...
5
votes
How to setup FreeNAS as a Windows Cluster storage target?
I used FreeNAS for a few months a while ago and gave up on it from too many bugs, especially around SMB, obviously, that is native to Windows environments. In you FreeNAS case I would suggest you ...
5
votes
Accepted
Shutting down host from within jail
As Kassandry said, you can't do this with a command within the jail itself.
What you could do, however, would be to create a separate user (who I will henceforth call closer on the host system. This ...
5
votes
On FreeNas what is the difference between the "Permission Type" and the "Share Type" setting?
I have looked for the same and the information was very limited.
So I did my own experiments and found that all this comes down to permissions applied to the root of the dataset.
If you set the ...
5
votes
How to check if RAM is running in ECC mode?
Using a Ryzen 7 processor, none of the mentioned tools worked for me either.
However with a recent enough Linux kernel, the tools in edac-utils, edac-ctl and edac-util can read out the ECC status and ...
5
votes
Accepted
Procedure/Effects of hot-removing a mirrored vdev disk
Disclaimer: I have not used FreeNAS personally, so some answers may not be the canonical way to do it - please consult the manual beforehand. That said, they are the way Oracle recommends it, so there ...
5
votes
Accepted
File server via SMB/CIFS
One server = single point of failure. I'd consider getting two of those and cluster them into HA file server.
1) Windows Server. You can use Standard or even free Hyper-V Server, and bring in free ...
5
votes
File server via SMB/CIFS
What is your total capacity? Also, how much RAM is used by ZFS?
In RAIDZ2 configuration your performance is limited by the slowest drive. It can be one or two drives with few bad sectors that slow ...
5
votes
How can I determine what permissions my user is missing for receiving a ZFS dataset?
When troubleshooting permission problems arising from zfs commands, analyze the zfs operation in terms of its component steps.
The sample command of zfs receive -duvF unpacks into several steps. Two ...
5
votes
Accepted
Building/Maintaining a Custom FreeNAS- and ZFS-based NAS
Just want to address a few of your points. Full disclosure, I am a proponent of ZFS. This is all IMHO.
RE: your needs:
It should not need constant tinkering and maintenance.
As long as all ...
5
votes
Accepted
How can I recover my ZFS pool, which suddenly went offline and reports that it was "last used by another system"?
zpool import -f tank, just like it says in the error dialog.
This is a fairly uncommon bug, but I've seen it happen before (maybe once or twice on 100+ machines over the last ten years); if something ...
4
votes
Accepted
ZFS vdevs accumulate checksum errors, but individual disks do not
The 0x0 and other hexadecimal numbers appear instead of filenames and other objects when metadata is corrupted. If you cannot get rid of it by destroying the objects that are affected (I understood ...
4
votes
iSCSI for VAAI/ODX, or NFS, on a file server with multiple distinct shares
Why not try to squeeze every drop of performance from the fast disk arrays? I realize that, to some people, this performance benefit from using iSCSI with VAAI/ODX over simple NFS approach may be not ...
4
votes
Trying to "zfs attach" a new disk, how to get correct specification for the disk I'm adding?
You have to specify also zpool to which you want to add disk.
# zpool list -v
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zroot ...
4
votes
Connecting Freenas to Windows Server 2016 with MPIO
I would suggest you to double check the RAID configuration you have and enabled MPIO policy. It seems to be a normal behavior for the case of RAID 5/6 usage, the write performance of those lack on ...
4
votes
Accepted
Why has performance plummeted after destroying and recreating a ZFS pool?
Turns out that the new pool just needed to be scrubbed.
Without a scrub, it seems that the ZFS database was quite confused, perhaps still mapped to information from the old, deleted pool, and every ...
4
votes
Accepted
Durability of RAID-Z3 vs 4-way mirror
Both RAIDZ3 and 4-way mirrors can lose up to 3 drives without data loss. However, you must consider that RAIDZ3 will have much lower read IOPS and higher resilver time after a disk replacement.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
truenas × 406zfs × 127
freebsd × 99
network-attached-storage × 33
iscsi × 22
raid × 20
samba × 19
raidz × 17
zpool × 16
storage × 15
linux × 14
networking × 14
vmware-esxi × 14
ldap × 12
server-message-block × 12
mac-osx × 10
nfs × 10
cifs × 10
ubuntu × 9
active-directory × 9
rsync × 9
jail × 9
openfiler × 9
windows × 8
backup × 8