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.

Unable to shutdown 4.7

Featured Replies

I'm unable to shut down or restart. Share and emhttp are stopped. powerdown, reboot, and shutdown now have no effect. syslog attached. I did a hard restart and parity was checked with no errors but I am still unable to do a clean shutdown. Thanks.

 

Edit: I'm pretty sure that the problem is disk3 with a high reallocated sector count and I have a pre-cleared drive ready to replace it. I would like to be able to shutdown cleanly before I switch it out.

syslog2-17.txt.zip

I'm unable to shut down or restart. Share and emhttp are stopped. powerdown, reboot, and shutdown now have no effect. syslog attached. I did a hard restart and parity was checked with no errors but I am still unable to do a clean shutdown. Thanks.

 

Edit: I'm pretty sure that the problem is disk3 with a high reallocated sector count and I have a pre-cleared drive ready to replace it. I would like to be able to shutdown cleanly before I switch it out.

type

mount

see which disks are still mounted.

You must stop all processes using the disk before they can be un-mounted.

 

To see the process IDs holding disks busy type:

fuser -mv /mnt/disk* /mnt/user/*

 

Joe L.

  • Author

These are my results:

root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# fuser -mv /mnt/disk* /mnt/user/* 
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
root@192:~# 

 

These are my results:

root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# fuser -mv /mnt/disk* /mnt/user/* 
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
root@192:~# 

 

OK, disk 3 is still mounted.

Now type

fuser -cu /dev/md3

 

  • Author

It has no effect:

root@192:~# fuser -cu /dev/md3
root@192:~# powerdown
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# fuser -cu /dev/md3
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# 

 

It has no effect:

root@192:~# fuser -cu /dev/md3
root@192:~# powerdown
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# fuser -cu /dev/md3
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# 

 

All "fuser" would do is let you know if there is a process active.  Apparently, there is not.

 

Try un-mounting disk3

Type:

umount /dev/md3

 

  • Author

Not found:

root@192:~# umount /dev/md3
umount: /dev/md3: not mounted
umount: /mnt/disk3: not found
umount: /dev/md3: not mounted
umount: /mnt/disk3: not found
root@192:~# 

 

Not found:

root@192:~# umount /dev/md3
umount: /dev/md3: not mounted
umount: /mnt/disk3: not found
umount: /dev/md3: not mounted
umount: /mnt/disk3: not found
root@192:~# 

 

and yet you still see it when you type

mount

???

  • Author

No it's gone.

 

Here is a script of our session:

root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# fuser -mv /mnt/disk* /mnt/user/* 
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/disk*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
Cannot stat /mnt/user/*: No such file or directory
root@192:~# 
root@192:~# fuser -cu /dev/md3
root@192:~# powerdown
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# fuser -cu /dev/md3
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
/dev/md3 on /mnt/disk3 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# umount /dev/md3
umount: /dev/md3: not mounted
umount: /mnt/disk3: not found
umount: /dev/md3: not mounted
umount: /mnt/disk3: not found
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# powerdown
root@192:~# mount
fusectl on /sys/fs/fuse/connections type fusectl (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sde1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)
nfsd on /proc/fs/nfs type nfsd (rw)
root@192:~# 

 

I'm not sure why it unmounted. It still won't go off.

You should now be able to type

/root/mdcmd stop

and stop the array

 

 

 

  • Author

This is odd:

root@192:~# /root/mdcmd stop
/root/mdcmd: line 11: echo: write error: Device or resource busy

This is odd:

root@192:~# /root/mdcmd stop
/root/mdcmd: line 11: echo: write error: Device or resource busy

I agree.  Other than shutting off power, I have no clue.

 

Joe L.

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.