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.

Cant unraid stop when array already unmounted?

Featured Replies

Hey,

so ive got the standard "cant restart because something blablablablabla".

 

I killed all associated processes (mergefs and rclone). Still not working, so i tired to unmount it myself which worked flawlessly. 

 

root@Unraid-Server:~# fusermount -uz /mnt/cache/

 

now im getting

Sep 30 10:48:40 Unraid-Server emhttpd: Retry unmounting disk share(s)...
Sep 30 10:48:45 Unraid-Server emhttpd: Unmounting disks...
Sep 30 10:48:45 Unraid-Server emhttpd: shcmd (329): umount /mnt/cache
Sep 30 10:48:45 Unraid-Server root: umount: /mnt/cache: not mounted.
Sep 30 10:48:45 Unraid-Server emhttpd: shcmd (329): exit status: 32
Sep 30 10:48:45 Unraid-Server emhttpd: Retry unmounting disk share(s)...
Sep 30 10:48:50 Unraid-Server emhttpd: Unmounting disks...
Sep 30 10:48:50 Unraid-Server emhttpd: shcmd (330): umount /mnt/cache
Sep 30 10:48:50 Unraid-Server root: umount: /mnt/cache: not mounted.
Sep 30 10:48:50 Unraid-Server emhttpd: shcmd (330): exit status: 32
Sep 30 10:48:50 Unraid-Server emhttpd: Retry unmounting disk share(s)...

 

So does that mean it doesnt go on because its already unmounted? A little bit stupid if u ask me? Or is there something it does which i cant see? My guess is "not mounted" is the same error code like "cant unmount"?

 

If that is so, that should be changed.

 

Bestes thing is, i cant change settings (i would like to disable auto start...) while this whole crap is happening, so i have to hard restart and have the same problem again lol 

Edited by NewDisplayName

  • 1 month later...

Hi,

 

i am currently facing that problem during a critical shrink array operation:

Have you been able to find a solution to complete the stop array operation properly ?

I was thinking about mounting the drive manually via CLI, to see if that would fix that error but I am unsure whether this is a good idea.

 

  • Author

I didnt heared anything from limetech. I couldnt do anything just hard reset.

 

maybe @limetech can bring some light in the shadow... 

Edited by NewDisplayName

FYI, I found in a comment under one of SpaceInvaderOne's video on YouTube that someone figured out how to finalise the "stop array" operation when this problem occurs :

 

Quote

I created a local virtual disk using `dd if=/dev/zero of=diskX bs=1M count=310` (xfs requires at least 300mb disk), created filesystem with `mkfs -t xfs diskX` and mounted as `mount diskX /mnt/diskX`. Almost immediately after doing that, the stopping of the array was able to complete (cleanup the created virtual disks by running `rm diskX` after the array is stopped)

 

(link to source - see the "highlight reply" below the video)

 

I hope this workaround will help until, hopefully, this issue is fixed.

Edited by Opawesome

  • Author

I think the problem is that its not correctly handled on unraids side, so that would be probably a very easy fix if "already unmounted" = dont try to unmount... 

  • 1 month later...
On 11/4/2023 at 1:34 PM, Opawesome said:

FYI, I found a comment under one of SpaceInvaderOne's video on YouTube that someone figured out how to finalise the "stop array" operation when this problem occurs (link) :

 

 

I hope this workaround will help until, hopefully, this issue is fixed.

 

This worked for me as well.

  • Author

could u post it here? So it can help others?

  • Community Expert
18 minutes ago, NewDisplayName said:

could u post it here? So it can help others?

The workaround is a few posts above:

 

On 11/4/2023 at 5:34 PM, Opawesome said:

I created a local virtual disk using `dd if=/dev/zero of=diskX bs=1M count=310` (xfs requires at least 300mb disk), created filesystem with `mkfs -t xfs diskX` and mounted as `mount diskX /mnt/diskX`. Almost immediately after doing that, the stopping of the array was able to complete (cleanup the created virtual disks by running `rm diskX` after the array is stopped)

 

  • Author

ah i just followed the link... xD (btw forum smileys are broken)

Edited by NewDisplayName

  • 8 months later...

I was struggling to fix this with the directions.  There's a step missing that wasn't clear to me. In case it helps:

 

  1. Create a local virtual disk using `dd if=/dev/zero of=diskX bs=1M count=310` (where "X" is the disk number) in some folder like `/tmp`
  2. Created filesystem with `mkfs -t xfs diskX`
  3. Create a folder at `/mnt/diskX` (again where "X" is the disk number)
  4. Mount the local virtual disk as the missing drive with `mount diskX /mnt/diskX`. 
  • 6 months later...
On 9/4/2024 at 6:27 PM, tmchow said:

I was struggling to fix this with the directions.  There's a step missing that wasn't clear to me. In case it helps:

 

  1. Create a local virtual disk using `dd if=/dev/zero of=diskX bs=1M count=310` (where "X" is the disk number) in some folder like `/tmp`
  2. Created filesystem with `mkfs -t xfs diskX`
  3. Create a folder at `/mnt/diskX` (again where "X" is the disk number)
  4. Mount the local virtual disk as the missing drive with `mount diskX /mnt/diskX`. 

just want to say, this saved my bacon on a remote server.  thanks!

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

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.