FakeMoth
Cadet
- Joined
- Aug 18, 2013
- Messages
- 7
Hi got a kind of a problem and I don't know how can I investigate further:
-have two pools on my FreeNAS: vol0, comprised of 3 Intel SSDs with a Intel M2 Optane SLOG and vol1 6x2TB Seagate;
-vol0 is shared via NFS on 10Gb/s to a couple of physical hosts, and I have a few KVM VMs running just fine for years;
-I am trying to backup the content of VMs (not the whole VM, working, as the hosts just scp on vol1): on vol0 works just fine, but they are producing 100GB/day in backups, so I don't want to ruin my SSDs plus is bad practice; used rsync and stuff to vol1, whatever;
-so the VM ssh-es into the host and just writes the backup on the mounted NFS share; they have publicc IPs, and I don't want to mount my internal NAS network in a VM running public services... so please do not recommend that;
-figured I have to mount some directory from vol1 to vol0; and I did after moving all the backups on vol1: mount_nullfs /mnt/vol1/Backups/DC/BIGSTORAGE /mnt/vol0/4-Backs/SSDSTORAGE;
-as I understand it this is the equivalent onf Linux mount --bind
-everything seemed fine, I can see in FreeNAS CLI the vol1 directories and files but in vol0, I can touch and mkdir stuff from the FreeNAS CLI in /mnt/vol0/4-Backs/SSDSTORAGE
But backups from VMs aren't writing on host, or host not writing on FreeNAS in the mounted dir and everything is happening as root:
.. upload failed! root@1.2.3.4's password:
scp: /mnt/4-Backs/SSDSTORAGE/NewDir: Input/output error
Killed by signal 1.
Ummm my reasoning was something like: if my NFS performance tanks when mounting vol1 directly in host, I should still use vol0 but let FreeNAS write with like 200MB/s directly, instead of 5MB/s via NFS :)
Guess I am wrong?
-have two pools on my FreeNAS: vol0, comprised of 3 Intel SSDs with a Intel M2 Optane SLOG and vol1 6x2TB Seagate;
-vol0 is shared via NFS on 10Gb/s to a couple of physical hosts, and I have a few KVM VMs running just fine for years;
-I am trying to backup the content of VMs (not the whole VM, working, as the hosts just scp on vol1): on vol0 works just fine, but they are producing 100GB/day in backups, so I don't want to ruin my SSDs plus is bad practice; used rsync and stuff to vol1, whatever;
-so the VM ssh-es into the host and just writes the backup on the mounted NFS share; they have publicc IPs, and I don't want to mount my internal NAS network in a VM running public services... so please do not recommend that;
-figured I have to mount some directory from vol1 to vol0; and I did after moving all the backups on vol1: mount_nullfs /mnt/vol1/Backups/DC/BIGSTORAGE /mnt/vol0/4-Backs/SSDSTORAGE;
-as I understand it this is the equivalent onf Linux mount --bind
-everything seemed fine, I can see in FreeNAS CLI the vol1 directories and files but in vol0, I can touch and mkdir stuff from the FreeNAS CLI in /mnt/vol0/4-Backs/SSDSTORAGE
But backups from VMs aren't writing on host, or host not writing on FreeNAS in the mounted dir and everything is happening as root:
.. upload failed! root@1.2.3.4's password:
scp: /mnt/4-Backs/SSDSTORAGE/NewDir: Input/output error
Killed by signal 1.
Ummm my reasoning was something like: if my NFS performance tanks when mounting vol1 directly in host, I should still use vol0 but let FreeNAS write with like 200MB/s directly, instead of 5MB/s via NFS :)
Guess I am wrong?
Last edited: