February 17, 201115 yr 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
February 17, 201115 yr 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.
February 17, 201115 yr 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:~#
February 17, 201115 yr 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
February 17, 201115 yr 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:~#
February 17, 201115 yr 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
February 17, 201115 yr 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:~#
February 17, 201115 yr 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
February 17, 201115 yr 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.
February 17, 201115 yr Author This is odd: root@192:~# /root/mdcmd stop /root/mdcmd: line 11: echo: write error: Device or resource busy
February 17, 201115 yr 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.