Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Missing /sbin folder in unRAID

Featured Replies

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

 

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.

 

 

Did you perhaps rename /sbin, or change its permissions to make it not accessible?

 

What do you see when you type

ls -ld /sbin

  • 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

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)

 

 

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.