Jump to content

Can't shut down due to an unmounted disk...


jbuszkie

Recommended Posts

Posted

I'm in the process of removing a disk from the array.

 

I ran these commands

umount /mnt/diskX
dd bs=1M if=/dev/zero of=/dev/mdX status=progress

 

where X was 9 and mdX was actually md9p1  (someone needs to update the docs)

I got them from here

 

When I tried to stop the array  it's now stuck on retry unmounting shares.  In the log I get this

Sep 21 10:51:21 Tower emhttpd: shcmd (3175801): umount /mnt/disk9
Sep 21 10:51:21 Tower root: umount: /mnt/disk9: not mounted.
Sep 21 10:51:21 Tower emhttpd: shcmd (3175801): exit status: 32
Sep 21 10:51:21 Tower emhttpd: Retry unmounting disk share(s)...
Sep 21 10:51:26 Tower emhttpd: Unmounting disks...

It looks like the shutdown script expects something from the umount command and doesn't check to see if it's already unmounted.

 

How can I re-mount the disk so the shutdown script can unmount it and I can have a clean shutdown?

 

 

 

 

 

Posted
1 minute ago, JonathanM said:

What is the output of "mount" at the console?

I did try to re-mount  by doing something like mount /dev/md9p1 and it complained about not being in fstab or something.

I then tried to mount to /mnt/disk9 and it also complained.  I ended up having to do a hard power cycle.
That seems to work ok and didn't start a parity check.

 

Jim

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...