Decibel1000
Dabbler
- Joined
- Nov 13, 2012
- Messages
- 16
Hello people,
I'm having some issues that might be caused by not understanding very well the concept of FreeNAS using a thumb drive for the system volume (and this being R/O), however this is not the subject of this post.
I'm creating a backup script of several SMB shares that should start from the NAS server, so the files should be pulled from the FreeNAS server. For that to work I understand that I need the password data stored at the .nsmbrc file (root user) so the script can map the SMB shares without prompting for a password.
Without understanding very well how this system volume R/O concept works, I used the "mount -rw /" command to make the root user home directory R/W so I could make the changes I need. I could notice that after that the server started responding very slow to the terminal commands, but I kept going on. After having done the changes I made the system R/O again using the "mount -ur /" command to bring back the original volume attributes. After that the server froze, or almost froze. the only way I could bring it back was using a ctrl-alt-del from the console to a soft boot, and it took maybe 5 minutes to complete the restart.
After this restart the system was OK again. I went trough the whole procedure again trying to understand what happened and had the same results. After a restart the server came back to life again without issues.
So my question: what is happening? Is this procedure to alter configuration files wrong? I imagine that using the "mount -ur /" would also make the /var dir R/O. This might explain system hanging.
Thanks a ton for your help.
I'm having some issues that might be caused by not understanding very well the concept of FreeNAS using a thumb drive for the system volume (and this being R/O), however this is not the subject of this post.
I'm creating a backup script of several SMB shares that should start from the NAS server, so the files should be pulled from the FreeNAS server. For that to work I understand that I need the password data stored at the .nsmbrc file (root user) so the script can map the SMB shares without prompting for a password.
Without understanding very well how this system volume R/O concept works, I used the "mount -rw /" command to make the root user home directory R/W so I could make the changes I need. I could notice that after that the server started responding very slow to the terminal commands, but I kept going on. After having done the changes I made the system R/O again using the "mount -ur /" command to bring back the original volume attributes. After that the server froze, or almost froze. the only way I could bring it back was using a ctrl-alt-del from the console to a soft boot, and it took maybe 5 minutes to complete the restart.
After this restart the system was OK again. I went trough the whole procedure again trying to understand what happened and had the same results. After a restart the server came back to life again without issues.
So my question: what is happening? Is this procedure to alter configuration files wrong? I imagine that using the "mount -ur /" would also make the /var dir R/O. This might explain system hanging.
Thanks a ton for your help.