Questions tagged [truenas]
TrueNAS (formerly FreeNAS) is a network attached storage (NAS) server appliance distribution based on the FreeBSD operating system
418
questions
0
votes
2
answers
116
views
Why ssh-keygen & ssh-copy-id create files with incorrect permissions
I have a FreeBSD host (sh) that I just set up last week, and it is doing these two weird things that seem to be related:
ssh-keygen ON this host is creating both private and pub keys with 775 file ...
1
vote
0
answers
87
views
truenas NFS on kubernetes
I am using the following link to setup my k3s setup with Truenas. I am only interested in NFS. I will not be doing ISCSI. After I applied the "helm upgrade --install --create-namespace --values ...
0
votes
0
answers
67
views
HPE Dl380 Gen 10 + P822 + SAS Disks + Truenas +HBA Mode
Hi I have a DL380 Gen10 server and an P822 SAS expander laying around which I want to repurpose as a truenas box. I have a bunch of 2TB SAS drives which I want to use for this. I have managed to ...
0
votes
0
answers
85
views
Enlarged my TrueNAS boot pool instead of mirroring. How can I fix it?
In Problems trying to replace disk in truenas mirrored boot, I was trying to fix a failed drive on my mirrored TrueNAS boot pool. I flailed around and eventually got it booted with just one drive of ...
0
votes
1
answer
162
views
Problems trying to replace disk in truenas mirrored boot
I have a TrueNAS box (TrueNAS-13.0-U5.3) and my boot pool is mirrored 32GB flash drives. One of the drives, da2, is getting errors, so I want to replace it.
I already have a new drive plugged in, da1, ...
0
votes
1
answer
194
views
Logging Source IP of SMB Login Attempts
We have an TrueNAS System running TrueNAS-13.0-U5.3. It is bound to Active Directory and used solely for SMB file sharing. Recently there have been periodic event where SMB service quality is degraded ...
0
votes
0
answers
107
views
Trigger OS shell script post kubernetes container boot
I am running truenas scale 23.01 with kubernetes. On the system I have a container X and a small app Y running natively that interacts with this container through its local IP and port.
Whenever ...
0
votes
1
answer
200
views
TrueNas Encryption method changed - Is the data safe?
just a quick question of understanding. I have a TrueNas Scale server and I just changed the Encryption method from key to passphrase. Now I wonder if I need to rewrite the whole dataset for this to ...
1
vote
1
answer
254
views
mellanox connectx-3 (cx312a) link down though light is blinking
I have a system running TrueNas Scale. For some odd reasons, the system does not see the link is up even though dmesg reports it up and the light is blinking on the port. I'm not sure if this is optic'...
9
votes
1
answer
783
views
Finding which process is reading from disk constantly on FreeBSD
EDIT: This ended up being a scrub process. Run zpool status -v and read the scan status for your pool clearly.
I have a TrueNAS server running FreeBSD and this morning at 12 AM the disks started to be ...
1
vote
0
answers
146
views
Multi-node OpenStack with iSCSI storage
I’m trying to deploy a multi-node OpenStack environment using Kolla, Ansible, and Ubuntu server. I successfully added a partition to my Cinder storage using iSCSI. But I can't configure OpenStack to ...
1
vote
0
answers
144
views
Does the default zabbix SNMP trueNAS template catch disk failures?
I understand this might be a very basic question, but I would like to know the answer to this question before accidentally losing all the data on the NAS due to multiple drive failures with the first ...
0
votes
1
answer
158
views
TrueNAS SMB Share Inaccessible by NetBIOS Name
I'm currently working on a TrueNAS server to create a file share for a computer lab, and I've got everything working except for being able to connect to the share via it's custom NetBIOS name.
I can ...
1
vote
1
answer
275
views
TrueNAS Scale update error: mount failed: Operation not permitted.
I am unable to update from TrueNAS-SCALE-22.02.4 to Bluefin. Independently on whether I let the GUI download the update or whether I provide it manually, I get the following Error:
[EFAULT] Invalid ...
2
votes
1
answer
124
views
Filenames change when RSYNC to NAS with CIFS or NFS
I have noticed that after a RSYNC to a Truenas core 13 NAS with either a nfs or cifs mounted folder, file names will change. Source device Kubuntu 22.04
example: Pirates of the Caribbean: At World'...
0
votes
0
answers
388
views
Setup kerberos with nfsv4 for no_root_squash mounts
I am very new to kerberos and nfs. Kindly help to know if this is feasible. The NFS server is Truenas scale and client is ubuntu 22.04 desktop.
nfs v4 is enabled in Truenas server and exports /export/...
0
votes
1
answer
1k
views
Understanding Samba VFS Operations for Full Audit
We have a TrueNAS System running TrueNAS-12.0-U8 for which we are required to log all successful and all failed file access attempts for a specific SMB share. The Samba version is 4.13.
Per guidance ...
0
votes
0
answers
268
views
Can access truenas server with ipaddress
I am setting up truenas for the first time and I am having some networking issues. Hardware setup looks like this: server that is running Truenas is connected to a switch via ethernet cable => a ...
1
vote
2
answers
441
views
Will disk compression impact the performance of a MySQL database?
I've recently setup a TrueNAS storage server and hosted on it is a MySQL database. It's about 3GB; I'm not too concerned with how much space it's utilising.
By default, TrueNAS enables LZ4 compression ...
0
votes
1
answer
94
views
KVM guest low network speed
I have a KVM guest VM running RHEL 8.7 (12vCPU, 24GB RAM) and a hypervisor with 10Gb NICs.
I'm getting weird results when using iperf3 on my guest machine as a client and a TrueNAS server as a server. ...
0
votes
1
answer
264
views
My ZFS pool seems to be self-destructing, any ideas?
Context
I recently noticed my freeNAS telling me it had issues with one drive.
I had about 16 bad sectors, went through the smart tests etc.
I bought a new drive, same capacity, went to install it, ...
2
votes
1
answer
856
views
iperf3 errors and retransmissions on ESXi
When running iperf3 to test a 100G connection between a VMware ESXi box and a TrueNAS Core box, I'm seeing the following on the ESXi box:
The message "iperf3: getsockopt - Function not ...
0
votes
1
answer
311
views
jackett pkg outdated. is it possible to manually install the latest update?
The pkg and port listed for Jackett on FreeBSD is Version v0.20.989 however, the most up to date version is v0.20.2189. This version difference is causing some of my trackers to fail and will not ...
-2
votes
1
answer
39
views
Allow specific multiple phones on differing LTE networks [closed]
I'd like for me and a few others to access my server just from a web browser without the use of a vpn. But the ip addresses of the devices always change because of LTE networks
What kind of firewall ...
0
votes
1
answer
49
views
trying to get an md5 from badly named files
I am trying to get the md5 from a lot of files. I would use ls to list files and md5 to get a hash of all the files from multiple directories like so
md5 `ls -R /`
this would work if the names of the ...
0
votes
1
answer
4k
views
How to mount a NFS share with server user
I have the following setup:
There is a Debian 10 PC with user A (uid: 1000, gid: 1000) and want to mount a NFS share provided by a server running TrueNAS (12.0-U8.1), which is owned by user B (uid: ...
1
vote
0
answers
464
views
ZFS checksum error: how to recover from a replica?
ZFS can automatically repair checksum errors if the drive with the error is part of a pool set up with redundancy.
What about the case when the checksum error is on a pool without redundancy, but ...
0
votes
1
answer
252
views
ssh over DS-lite into TrueNAS - Connection refused
ssh into a TrueNAS behind a FRITZ!Box attached to a DSlite connection does not work, I always just get a "Connection refused".
Inside the LAN where the TrueNAS is placed, web and ssh to it ...
1
vote
1
answer
1k
views
VMware vSphere 7.0 U3 + TrueNAS Core 13.0: can't create VMFS6 datastore from TrueNAS iSCSI disk. Why?
I have a bare metal server running vSphere/ESXi 7.0 U3d, and a bare metal NAS running TrueNAS Core 13.0. The NAS has a single pool shared via iSCSI; the pool is running all defaults (lz4 compression+...
1
vote
0
answers
1k
views
FreeNAS unable to resolve hostnames, ping of any external IP returns host's ip instead
The internal IP address of my router changed, and ever since TrueNAS has been misbehaving. None of the jails can resolve a hostname anymore. In troubleshooting this, I discovered that the client ...
0
votes
1
answer
325
views
How should I migrate a zfs pool to Windows Storage Spaces?
I have a single hard drive that I want to migrate to Windows Storage Spaces ReFS file system for better Windows compatibility. Obviously copying all the data to another disk and back is a last resort; ...
0
votes
1
answer
99
views
How to install UWP apps on a Truenas SMB share
Overview:
Is it possible to install a UWP app on truenas via a smb network share? I know the whole encryption thing and acl will cause issues, but is there either a way to spoof encryption/acl?
...
1
vote
1
answer
291
views
How to export shares so that users don't create file as root
I am trying to export home directories from my NAS to ubuntu clients - the server is a TrueNAS Scale, which is Debian based.
Kerberos works, so users get the proper tickets to authenticate to the ...
2
votes
0
answers
92
views
NAS solution for a synced two geo-location Active - Active
We are looking for an open source solution to NAS.
We are going to use it on two different server farms with two different geo-location (expected capacity is 10TB).
It should have the following ...
0
votes
1
answer
927
views
How to improve TCP tolerance to out-of-order delivery in Linux balance-rr bonds and/or FreeBSD roundrobin laggs?
I have 3 servers networ kwise configured as follows
A is a DELL R710 is running Linux 5.13.19-1-pve Proxmox VE 7.1 and has 4 NICs teamed in a balance-rr mode bond.
B is a DELL R610 is running Linux 5....
0
votes
0
answers
319
views
VMware lock prevention error
I have a TrueNas connected via a 10Gbit interface to a CRS326-24S+2Q+ running switchOS. I also have a 10Gbit interface connected to VMware connected to the same switch. They are both on the same VLAN ...
0
votes
0
answers
157
views
Assigning hard disks directly from the pool vs syncing back to zfs/block host
What are the specific pros and cons, perhaps even conventions, of attaching a volume to a VM directly from a proxmox zfs pool VS mounting the volume through a file/block storage solution like TrueNAS (...
0
votes
1
answer
690
views
Reload partition table on FreeBSD
I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS).
I don't have hdparm nor gfdisk nor partprobe.
What's the standard way of doing ?
PS: my pkg doesn't work behind a firewall ...
0
votes
1
answer
535
views
Strange behaviour of rsync between debian an truenas
I want to use rsync to backup data from webserver to Truenas.
The webserver runs Debian 11 and Truenas is at 12.0-U5
The backup is saved on the webserver in an encrypted format using restic. Since it'...
1
vote
1
answer
1k
views
Are Samsung B-Die and C-Die Compatible?
I am building a NAS (running TrueNAS/FreeNAS) using a SuperMicro A2SDi-8C+-HLN4F motherboard. I ordered 2 sticks of this Samsung C-Die RAM from a supplier but they could only send me 1 as it was the ...
2
votes
1
answer
1k
views
ZFS Pool Data Backup and Restore
I currently have a zfs raidz2 pool stuck in a resilvering loop as I was trying to replace the 3TB disks with 8TB disks. After letting the first replacement disk resilver online for over a week it ...
0
votes
1
answer
777
views
Error replacing ZFS disk
I’m trying to replace a disk in a TrueNAS ZFS pool and I’m getting the error cannot replace 5885333735856859460 with ada6: already in replacing/spare config; wait for completion or use 'zpool detach'
...
0
votes
1
answer
440
views
How to correctly benchmark sequential read speeds on 2.5" hard drive with fio on FreeBSD?
Like suggested in https://askubuntu.com/a/991311 I tested the read speed of a 2.5" spinning hard drive on a TrueNAS/FreeBSD system.
For "Sequential READ speed with big blocks":
fio --...
0
votes
1
answer
2k
views
Testing zpool IO performance
To test the write speed of a 2.5 inch SATA3 spinning hard drive (some old Seagate one) installed in my TrueNAS system I used dd if=/dev/zero of=/mnt/pool/test.dd bs=1024 count=1m (found this in ...
2
votes
1
answer
939
views
Recovering data from TrueNAS pool in Ubuntu
I am having a heck of a time trying to get my data off my drives that were in a pool in TrueNAS. I installed Ubuntu on another drive in the same server and loaded Ubuntu 21.04 and installed zfsutils. ...
0
votes
1
answer
419
views
How to change Samba idmap mathetically for all files and folders in order to keep ACLs and perms?
I've got an old FreeNAS 9.2 system that has a bunch of Windows shares authenticated via Active Directory services. At some point, the IDMAP by default was changed in TrueNAS for Samba/AD integrations, ...
2
votes
1
answer
1k
views
ZFS pool continually DEGRADED or FAULTED
I've got a pool in raidz1-0 with 5 drives in it. I'm not sure exactly when, but all of the sudden all the drives went from always being ONLINE with no read, write or checksum errors to randomly ...
7
votes
1
answer
1k
views
Data missing after ZFS replication on FreeNAS/TrueNAS
In order to use the new encryption method in TrueNAS 12 I copied all data from a legacy encrypted FreeNAS pool to a newly formatted pool via a replication task.
After replication there seems to be ...
1
vote
0
answers
151
views
Why is chmod returning 'no file or directory' while the file exists?
When setting up sonarr in truenas I get the error above.
iocage exec radarr mkdir /usr/local/etc/rc.d
nano /usr/local/etc/rc.d/radarr
then I fill in the script I need to fill in, I save.
Then I try ...
1
vote
2
answers
275
views
Samba share available space is smaller than zfs poll size
I have a FreeNas server with zfs pool. Configuration: 6 x 2TB disks in RAIDZ2. 15.5 TB raw space of disks.
# zpool list -v
NAME SIZE ALLOC FREE EXPANDSZ FRAG ...