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.

Cache Drive failed after update from 7.0.0 to 7.0.1

Featured Replies

Samsung_SSD_970_EVO_500GB_S5H7NC0MB51513E (nvme0n1) (over 5 years old)

 

Currently visible 169 GB used.

Clicking on "Browse /mnt/cache" shows as empty.

SMART overall-health: Failed

Unable to to run SMART test.

With the array stopped I can remove the drive but I then see "Start will remove the missing pool disk and then bring the array on-line.
Yes, I want to do this" check box.

If I click yes I get:

"Wrong Pool State

cache - too many wrong or missing devices"

 

I did not have a second cache drive when this failed. I also, did not think to back up the drive before the update. This drive was where docker and it's apt's were.

 

My goal is at this point is to replace the current drive with 2 larger NVME drives. If recovery of the old drive is possible, great I can figure out how to do the drive swap.  On the other hand, if recovery of the old drive is not possible then I need help removing it from UNRAID. As well as, fixing Docker once the new drive is in place.

 

Thank you in advance for your help.

hades-diagnostics-20250314-0117.zip

Solved by JorgeB

  • Author

Sadly, no luck with this.

 

1) Mount filesystem read only (safe to use)

 

root@Hades:~# mount -o rescue=all,ro /dev/nvme0n1 /temp
mount: /temp: /dev/nvme0n1 already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.

 

root@Hades:~# mount -o degraded,rescue=all,ro /dev/nvme0n1 /temp
mount: /temp: /dev/nvme0n1 already mounted or mount point busy.
       dmesg(1) may have more information after failed mount system call.

 

dmesg

[38412.773565] NFSD: Using UMH upcall client tracking operations.
[38412.773569] NFSD: starting 90-second grace period (net f0000000)
[38442.687286] squashfs: Unknown parameter 'rescue'
[38454.596144] NFSD: Using UMH upcall client tracking operations.
[38454.596149] NFSD: starting 90-second grace period (net f0000000)
[39623.186853] squashfs: Unknown parameter 'degraded'
[39697.927781] squashfs: Unknown parameter 'rescue'
[39753.924741] squashfs: Unknown parameter 'rescue'

 

2) BTRFS restore (safe to use):

 

root@Hades:~# btrfs restore -v /dev/nvme0n1 /mnt/disk2/restore
No valid Btrfs found on /dev/nvme0n1
Could not open root, trying backup super
No valid Btrfs found on /dev/nvme0n1
Could not open root, trying backup super
No valid Btrfs found on /dev/nvme0n1
Could not open root, trying backup super

  • Community Expert
30 minutes ago, TillallR1in7 said:

mount: /temp: /dev/nvme0n1 already mounted or mount point busy.

This is not a filesystem error, reboot to clear everything, and try again with a different mount point, e.g., /x, you need to create it first:

 

mkdir /x

 

  • Author

Sorry that I left out the step of me doing the "mkdir/temp" in my last post.

 

This is what I get when I rebooted with the array not started.

 

root@Hades:~# mkdir /x

root@Hades:~# mount -o rescue=all,ro /dev/nvme0n1 /x
mount: /x: wrong fs type, bad option, bad superblock on /dev/nvme0n1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
 

dmesg(1):

 

[  342.559885] squashfs: Unknown parameter 'rescue'
[  342.560001] fuseblk: Unknown parameter 'rescue'
[  342.560027] UDF-fs: bad mount option "rescue=all" or missing value
[  342.560047] xfs: Unknown parameter 'rescue'
[  342.560192] ntfs3: Unknown parameter 'rescue'
[  463.350373] squashfs: Unknown parameter 'rescue'
[  463.350474] fuseblk: Unknown parameter 'rescue'
[  463.350498] UDF-fs: bad mount option "rescue=all" or missing value
[  463.350517] xfs: Unknown parameter 'rescue'
[  463.350662] ntfs3: Unknown parameter 'rescue'

  • Community Expert

Try

mount -t btrfs -o rescue=all,ro /dev/nvme0n1 /x

Any syslog errors post them

  • Author

root@Hades:~# mount -t btrfs -o rescue=all,ro /dev/nvme0n1 /x
mount: /x: wrong fs type, bad option, bad superblock on /dev/nvme0n1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

 

Mar 14 12:56:01 Hades nginx: 2025/03/14 12:56:01 [crit] 9344#9344: *73 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.28, server: , request: "POST /webGui/include/ProcessStatus.php HTTP/1.1", subrequest: "/auth-request.php", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.0.175", referrer: "http://192.168.0.175/webGui/include/Boot.php"
Mar 14 12:56:01 Hades nginx: 2025/03/14 12:56:01 [error] 9344#9344: *73 auth request unexpected status: 502 while sending to client, client: 192.168.0.28, server: , request: "POST /webGui/include/ProcessStatus.php HTTP/1.1", host: "192.168.0.175", referrer: "http://192.168.0.175/webGui/include/Boot.php"
Mar 14 12:56:01 Hades rc.php-fpm: PHP-fpm daemon...  Started.
Mar 14 12:56:01 Hades emhttpd: shcmd (44): /etc/rc.d/rc.nginx start
Mar 14 12:56:01 Hades rc.nginx: Starting Nginx server daemon...
Mar 14 12:56:02 Hades rc.nginx: Nginx server daemon...  Already started.
Mar 14 12:56:10 Hades sysDrivers: SysDrivers Build Complete
Mar 14 12:56:10 Hades webgui: Successful login user root from 192.168.0.28
Mar 14 12:58:22 Hades kernel: squashfs: Unknown parameter 'rescue'
Mar 14 12:58:22 Hades kernel: fuseblk: Unknown parameter 'rescue'
Mar 14 12:58:22 Hades kernel: UDF-fs: bad mount option "rescue=all" or missing value
Mar 14 12:58:22 Hades kernel: xfs: Unknown parameter 'rescue'
Mar 14 12:58:22 Hades kernel: ntfs3: Unknown parameter 'rescue'
Mar 14 13:00:23 Hades kernel: squashfs: Unknown parameter 'rescue'
Mar 14 13:00:23 Hades kernel: fuseblk: Unknown parameter 'rescue'
Mar 14 13:00:23 Hades kernel: UDF-fs: bad mount option "rescue=all" or missing value
Mar 14 13:00:23 Hades kernel: xfs: Unknown parameter 'rescue'
Mar 14 13:00:23 Hades kernel: ntfs3: Unknown parameter 'rescue'
Mar 14 13:11:50 Hades kernel: squashfs: Unknown parameter 'rescue'
Mar 14 13:11:50 Hades kernel: fuseblk: Unknown parameter 'rescue'
Mar 14 13:11:50 Hades kernel: UDF-fs: bad mount option "rescue=all" or missing value
Mar 14 13:11:50 Hades kernel: xfs: Unknown parameter 'rescue'
Mar 14 13:11:50 Hades kernel: ntfs3: Unknown parameter 'rescue'

hades-syslog-20250314-1735.zip

Edited by TillallR1in7

  • Community Expert
42 minutes ago, TillallR1in7 said:

mount -t btrfs -o rescue=all,ro /dev/nvme0n1 /x

Sorry, missed that you are not specifying the partition, missing p1 after the device, it should be:

 

mount -t btrfs -o rescue=all,ro /dev/nvme0n1p1 /x

 

  • Author

Good news, with the addition of "p1" I did not get an error. With array started, under "USER SHARES" I'm able to see "appdata, domains, and isos" shares that were set to use cache. All three are showing as empty of files. I did adjust them to use Array now. 

 

The two images are showing the change since the command worked. The physical drives are now showing as unmountable and is now asking if I want to format them.

 

Screenshot from 2025-03-14 14-52-19.png

Screenshot from 2025-03-14 14-51-46.png

  • Community Expert
2 minutes ago, TillallR1in7 said:

I'm able to see "appdata, domains, and isos" shares that were set to use cache. All three are showing as empty of files. I did adjust them to use Array now. 

Would be better to just disable Docker and VM Manager in Settings until you get cache fixed.

  • Author

Do you think at this point I would be good to swap out the old drives for the new drives? Then recreate my docker image on the new ones.

 

I don't want to make it worst and I'm lacking in my confidence at the moment to make a good decision.

 

Ignore this as I am still getting the same issues from the top of the post.

 

With the array stopped I can remove the drive but I then see "Start will remove the missing pool disk and then bring the array on-line.
Yes, I want to do this" check box.

If I click yes I get:

"Wrong Pool State

cache - too many wrong or missing devices"

Edited by TillallR1in7

  • Community Expert
11 hours ago, TillallR1in7 said:

Do you think at this point I would be good to swap out the old drives for the new drives?

You can not do a standard replacement since they are mounted read only, but you can try and copy anything important somewhere else.

  • Author

At the moment the, thing you had me do did  get the 3 shares that were set to cache to show. Those shares are empty.

Under "POOL DEVICES" the physical drive is showing "Unmountable: wrong or no file system"

Under "ARRAY OPERATION" "Unmountabale disk persent:" listing the physical drive for cache and a check box to Format said disk.

 

If there is a way to access that drive in this current state, I'm at a loss as to how.

 

I truly do appreciate the help.

  • Community Expert

Shares won't work since the pool is mounted manually, you need to manually browser the mountpoint, e.g.:


 

cd /x
ls -l

 

  • Author

My issues again seemed to be syntax errors on my part.  On the bright side I did get most of the files moved. Some of the appdata files failed to copy and that is ok with me.  Mostly Plex metadata.

 

root@Hades:/x# cp -r /x/system /mnt/disk2/restore
root@Hades:/x# cp -r /x/appdata /mnt/disk2/restore

 

With the files sitting on array "disk2" in the "restore" share, how do I get the drive to the point of reformatting?

  • Community Expert

You can just click on the pool and "Erase pool"

  • Author

I thank you for all your help JorgeB.

 

Just for completeness if anyone else finds this helpful.

 

Using "Erase pool" removed the second drive but not the failed drive. For the failed drive I need to use "Remove Pool"

I chose not to set a new "Cache Pool" and redirected the "Docker vDisk location:" to the new location "/mnt/user/system/docker/docker.img" then enabled Docker.

Had to run the "New Permissions" tool on all drives to fix any read only issues I was having with some of my docker containers.

  • Community Expert
10 hours ago, TillallR1in7 said:

I chose not to set a new "Cache Pool" and redirected the "Docker vDisk location:" to the new location "/mnt/user/system/docker/docker.img" then enabled Docker.

So your Docker/VM related files are on the array. They will not perform as well, and will keep array disks spunup since these files are always open.

 

10 hours ago, TillallR1in7 said:

Had to run the "New Permissions" tool on all drives to fix any read only issues I was having with some of my docker containers.

It is generally not recommended to run New Permissions on appdata.

  • Author

That was just to get things running. I put in new physical drives and moved everything moved to the new cache drive. 

 

As to using New Permissions, multiple docker containers were failing due to files being set as read only that should not have been. My guess is that somehow with me needing to set the bad drive as read only, when I moved the files to the temp location they were set to read only. Thank you for the heads up that New Permissions is not the best idea to use on appdata.

  • Community Expert
6 hours ago, TillallR1in7 said:

I put in new physical drives and moved everything moved to the new cache drive. 

So did you get appdata, domains, and system shares moved completely to the new cache drive, with nothing remaining on the array? How did you do the move?

  • Author

Turned off Docker and set the shares to use Cache as primary drive with array as secondary storage. Then set move to so it would move everything to Cache. Move did it's thing. Once I verified everything was on Cache, I changed the shares to not use a secondary storage. Once I turned on Docker again everything worked without issue.

 

Only had one Krusader file that did not want to move. It was a cache file inside of Krusader, so I deleted Krusader and reinstalled it to avoid any issues.

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.