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.

Unraid RC6: ZFS Pool "Unmountable: Unsupported or no file system"

Featured Replies

Out of nowhere the WebUI started crashing and the page would always go blank only coming back for a few seconds after refreshing the page many times, and I couldn't get the diagnostics because the page went blank in the middle of the process (through ssh it reported that there was no space left), but one thing that I've found odd is that Dockers kept working just fine.

The only way I found to get it working again was deleting disks.cfg from /boot/config and rebooting (and that was how I was able to generate the diagnostics file attached below), but after some time the problem always goes back.

So I'm pretty sure I've lost all my files, so before formatting them, is there any other useful data that I can attach here to prevent this from happening to me or other users? Before these problems begun I was trying to get Filerun (it's like Nexcloud) working with my ZFS volume (/mnt/zfs) as I had it working before reinstalling that docker, but it (filerun) couldn't recognize the files there, and at some point I tried running the docker on privileged status, I guess this might be the reason why my ZFS pool got corrupted.

Also, I had 5 Datasets in my ZFS pool, but now there is only 3 left with just a few files (but these where created by other dockers).

This ZFS pool was created with ZFS Master and Unassigned Devices Plugin (following SpaceInvaders video) and later on 6.12 I just straight up added to the pool and it was working just fine until now.

image.thumb.png.bb0bcc1e57bc9f4b198a093c1230b78b.pngimage.thumb.png.941eca022736a8f9ef4e6dabebd2894d.png

 

chriexpe.server-diagnostics-20230526-1001.zip

Solved by JorgeB

  • Author

Also on Main page my SSD (the only array device) and the pool keeps constantly showing and disappearing from there lol (after this webgui becomes inaccessible, it doesn't load).

image.thumb.png.4c6229c6467ff8c01492a674ef20ecbf.png

  • Community Expert

Diags are before array start, cannot see what the error is, I do see the pool is already online, pool cannot be online before Unraid tries to import it, export the pool using the command line:

zpool export zfs

start array and post new ones.

  • Author
12 minutes ago, JorgeB said:

Diags are before array start, cannot see what the error is, I do see the pool is already online, pool cannot be online before Unraid tries to import it, export the pool using the command line:

zpool export zfs

start array and post new ones.

Ok, I waited for the array to start (and all containers go up) and attached the diag file.

I did the command before and after starting the pool and got the same response:

cannot open 'zfs': no such pool

 

chriexpe.server-diagnostics-20230526-1226.zip

  • Community Expert
5 minutes ago, Chriexpe said:

I did the command before and after starting the pool and got the same response:

cannot open 'zfs': no such pool

Yes, that was my bad, pool is available to import, not online, stop array, unassign all pool devices, start array, stop array, re-assign all pool devices, post new diags.

  • Author
26 minutes ago, JorgeB said:

Yes, that was my bad, pool is available to import, not online, stop array, unassign all pool devices, start array, stop array, re-assign all pool devices, post new diags.

Well, it's stil ummountable, before doing this I also changed default file system to ZFS on Disk Settings and even tried with different pool names, but got the same results.

image.thumb.png.0e908eac1de72ba7e27e0b620e93429d.png

chriexpe.server-diagnostics-20230526-1307.zip

  • Community Expert

Most likely you have a corrupt pool, post the output of

zpool import zfs

 

  • Author
19 minutes ago, JorgeB said:

Most likely you have a corrupt pool, post the output of

zpool import zfs

 

RIP

root@chriexpe:~# zpool import zfs
cannot import 'zfs': insufficient replicas
        Destroy and re-create the pool from
        a backup source.

 

  • Community Expert
10 minutes ago, Chriexpe said:

RIP

 

Looks like it, kind of strange that the before importing it shows all pool devices available and online:

pool: zfs
     id: 15271653718495853080
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

    zfs         ONLINE
      raidz1-0  ONLINE
        sdd     ONLINE
        sdc     ONLINE
        sdb     ONLINE

 

The are a few import options you could try but assuming there's a backup best to just recreate and restore the pool.

 

  • Author
6 minutes ago, JorgeB said:

 

Looks like it, kind of strange that the before importing it shows all pool devices available and online:

pool: zfs
     id: 15271653718495853080
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

    zfs         ONLINE
      raidz1-0  ONLINE
        sdd     ONLINE
        sdc     ONLINE
        sdb     ONLINE

 

The are a few import options you could try but assuming there's a backup best to just recreate and restore the pool.

 

I've never done any backup of it, is there any other way to import it?

  • Author

Also it's odd that if I type just zpool import it output exactly what you've sent
root@chriexpe:~# zpool import
 

   pool: zfs
     id: 15271653718495853080
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        zfs         ONLINE
          raidz1-0  ONLINE
            sdd     ONLINE
            sdc     ONLINE
            sdb     ONLINE

 

  • Community Expert
  • Solution
1 minute ago, Chriexpe said:

Also it's odd that if I type just zpool import it output exactly what you've sent

That's normal, I see that because the output of that command comes with the diags.

 

There's a few options you can try, 1st one is to import in readonly mode:

 

zpool import -o readonly=on zfs

 

  • Author
5 hours ago, JorgeB said:

That's normal, I see that because the output of that command comes with the diags.

 

There's a few options you can try, 1st one is to import in readonly mode:

 

zpool import -o readonly=on zfs

 

Yup it did work, I was trying with -f and -F flags but had no success, now even tho unraid still reports the pool as unmountable I can access all files inside it, zpool status gives this result:
 

pool: zfs
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
  scan: scrub repaired 0B in 04:41:10 with 0 errors on Mon Feb 27 16:58:43 2023
config:

        NAME        STATE     READ WRITE CKSUM
        zfs         ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            sdd     ONLINE       0     0     1
            sdc     ONLINE       0     0     0
            sdb     ONLINE       0     0     0

errors: No known data errors

I created this diag file after importing this pool.

chriexpe.server-diagnostics-20230526-1603.zip

Edited by Chriexpe

  • Community Expert

Make sure you backup anything important that you can then try exporting and re-importing the pool in read/write mode now, if it still fails to import best to recreate.

  • Author
14 hours ago, JorgeB said:

Make sure you backup anything important that you can then try exporting and re-importing the pool in read/write mode now, if it still fails to import best to recreate.

Thanks! Unfortunately I couldn't import my pool so I needed to format all disks, but thanks to you I was able to save the files.

I decided to use the GUI to create this new ZFS pool and yeah, definitely Unraid need some polishing with it, for example a separate button to manage the pool instead of clicking in the main disk, or after changing the filesystem and creating the ZFS pool warn the user and format the pool (instead of just saying that the pool is unmountable like my case), and automatically add the datasets to shares.

image.thumb.png.a32f6446591862e328612d353485cace.png

Edited by Chriexpe

  • 1 month later...

For what it is worth for any one else struggling with adding new ZFS "Pool Devices"

 

None of the above advised helped, so did a "tail -f /var/log/syslog" and tried all the above again - no luck.

 

I added 2 x new SSD's following the examples:


Noticed on adding a ZFS "raid 0" in syslog that "/mnt/cache/*" was not empty (for some reason setting ZSF to "mirror" did not show the same error in the log).

 

Run "rm -R /mnt/cache/*" after moved all from "cache" to "array" and restarted the server.

 

All working now.

  • 1 month later...
On 7/7/2023 at 5:33 AM, LoneStar said:

Run "rm -R /mnt/cache/*" after moved all from "cache" to "array" and restarted the server.

Thanks with "rm -R /mnt/cache/*" I can now format my drives. 

  • 2 months later...
  • Community Expert
2 hours ago, xxbigfootxx said:

I've got this issue now on my nvme cache drive. 

Post the output of:

zpool import

 

Output: 
image.png.cf536c846e62c65c557a9ac4205fab40.png

  • Community Expert

Now output of:

zpool import cache

 

41 minutes ago, JorgeB said:

Now output of:

zpool import cache

 

This: 
image.png.0d37168dfb24097d99d20f28fd791ea7.png

  • Community Expert

Pool is damaged, if you don't have a backup try importing read-only:

zpool import -o readonly=on cache

If you have a backup destroy and re-create.

1 hour ago, JorgeB said:

Pool is damaged,

How'd it get damaged? It was working perfectly, then went offline for couple of hours and had to hard reboot it, would that have done it?

 

1 hour ago, JorgeB said:

If you have a backup destroy and re-create.

I have appdata backup, but not domain, iso and system, but they shouldn't matter too much right? 

 

Would XFS be better than ZFS for the new FS?

  • Community Expert
18 minutes ago, xxbigfootxx said:

How'd it get damaged?

Most likely some hardware issue, run memtest, but could also be a zfs issue.

 

19 minutes ago, xxbigfootxx said:

Would XFS be better than ZFS for the new FS?

Both are good options depending on your needs.

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.