December 27, 201213 yr Im running unRAID version 5.0rc8a. This a system that has been upgraded from v4.7. The issue that I am seeing is that I don't have a /sbin folder this is causing alot of issue when tring to run certain commands one of which is a preclear on two new drives. it sees a the prompt ./preclear_disk.sh: line 1313: sfdisk: command not found Sorry: Device /dev/sdh is busy.: 127 when i do a search for sfdisk it only comes up with the below symbolic link which is colored red lrwxrwxrwx 1 root root 17 2012-09-17 17:49 sfdisk -> ../../sbin/sfdisk also I cannot shutdown the array using shutdown or poweroff. It like the whole /sbin structure is gone. Any help please Thank you
December 28, 201213 yr looks like one of your add-ons removed it. (or you fat-fingered it yourself) All you can do is reboot (if you still have the command to do so...) If not, there is always the power button. You might try to stop the array first, but that might be impossible since the umount command is in /sbin too. Joe L.
December 28, 201213 yr Did you perhaps rename /sbin, or change its permissions to make it not accessible? What do you see when you type ls -ld /sbin
December 28, 201213 yr Author I have rebooted a few times and that did not work. There was some permissions work done that might not have needed to be done when i upgraded from 4.7 to 5.0 but the system has been rebooted since. I ran the ls -ld /sbin and it come back with nothing. ls -ld /sbin /bin/ls: cannot access /sbin: No such file or directory Does the /sbin get created every time after a reboot is it part of the bzroot and bzimage. Thank you
December 28, 201213 yr I have rebooted a few times and that did not work. There was some permissions work done that might not have needed to be done when i upgraded from 4.7 to 5.0 but the system has been rebooted since. I ran the ls -ld /sbin and it come back with nothing. ls -ld /sbin /bin/ls: cannot access /sbin: No such file or directory Does the /sbin get created every time after a reboot is it part of the bzroot and bzimage. Thank you yes, it gets re-created every time you reboot. If it is not there after you reboot, then one of your add-ons is interfering, or your bzroot/bzimage is corrupt. (or you have some bad RAM)
January 3, 201313 yr Author Joe I wanted to thank you for all your help in getting my system back online and functioning as designed. I did the following to get my /sbin folder structure back online 1st I disabled all the plugins that I run one of which was OpenSSH 2nd I stopped the array and shut it down. Since /sbin was not there the shutdown command did not work so I needed to hit the power button 3rd rebooted the system and /sbin was there. This was verified using the monitor connected to the unRAID system. I then decided to check using putty (just for kicks) so I started OpenSSH (I didn’t want to us telnet) and SSH’ed into the box. When looking for /sbin it was not there and it was gone from the terminal. Stopping OpenSSH did not bring the folder back so I rebooted again and after the system came up /sbin was there. I have disabled OpenSSH and am using telnet to access the box remotely.
Archived
This topic is now archived and is closed to further replies.