getoffmalawn
Cadet
- Joined
- Nov 26, 2011
- Messages
- 2
I started experiencing strange issues with NFS clients hanging the entire operating system. I thought it might have been the clients so I restarted, and everything would work for a little (about 5-10 minutes) then another hang. So I logged into the web ui and restarted NFS, thinking it might have gone a little funny. It took an unusually long time (about 1-2 minutes), but it said it had stopped/started, yet I had no access. I logged in via ssh, and, well, I'll let the command do the talking.
That set off alarm bells. I could run the two commands separately, but piping immediately resulted in seg faults. So I figured, maybe it's worth restarting FreeNAS altogether, and did so through the web ui. After it finished rebooting, I couldn't access the web ui, but I could ssh into the box and ping it. After ssh'ing in, I ran ls, and I'll let the output do the talking again.
So it would appear my system is royally messed up. I'm running FreeNAS on a cheap 4GB flash drive I bought specifically for it, about 2 weeks ago, so it would certainly seem that something has gone wrong with the drive. What can I do to diagnose the problem, and possibly fix it? I'd rather not go with a full reinstall if possible, although it's looking likely at this point.
Edit: I feel I should mention that I can run certain commands, like 'find .' to list all files in the current directory, I can change directories, etc, so for the most part the system is still functional at a low level, just quite broken.
Code:
[root@freenas] ~# ps aux | grep nfs Segmentation fault
That set off alarm bells. I could run the two commands separately, but piping immediately resulted in seg faults. So I figured, maybe it's worth restarting FreeNAS altogether, and did so through the web ui. After it finished rebooting, I couldn't access the web ui, but I could ssh into the box and ping it. After ssh'ing in, I ran ls, and I'll let the output do the talking again.
Code:
[root@freenas] ~# ls /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "environ"
So it would appear my system is royally messed up. I'm running FreeNAS on a cheap 4GB flash drive I bought specifically for it, about 2 weeks ago, so it would certainly seem that something has gone wrong with the drive. What can I do to diagnose the problem, and possibly fix it? I'd rather not go with a full reinstall if possible, although it's looking likely at this point.
Edit: I feel I should mention that I can run certain commands, like 'find .' to list all files in the current directory, I can change directories, etc, so for the most part the system is still functional at a low level, just quite broken.