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.

ZFS support partition for VDEV

Featured Replies

Hi,

 

I have this specific configuration:

Quote

root@Tower /m/u/s/docker# zpool list -v
NAME            SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
buffer         7.25T  21.5M  7.25T        -         -     0%     0%  1.00x    ONLINE  -
  sdd1         3.64T  12.9M  3.62T        -         -     0%  0.00%      -    ONLINE
  sdg1         3.64T  8.59M  3.62T        -         -     0%  0.00%      -    ONLINE
  indirect-2       -      -      -        -         -      -      -      -    ONLINE
tank           46.5T  33.5T  13.0T        -         -     0%    72%  1.00x    ONLINE  -
  raidz1-0     45.5T  33.4T  12.0T        -         -     0%  73.5%      -    ONLINE
    sdj1       10.9T      -      -        -         -      -      -      -    ONLINE
    sdf1       9.10T      -      -        -         -      -      -      -    ONLINE
    sde1       9.10T      -      -        -         -      -      -      -    ONLINE
    sdh1       9.10T      -      -        -         -      -      -      -    ONLINE
    sdi1       9.10T      -      -        -         -      -      -      -    ONLINE
special            -      -      -        -         -      -      -      -         -
  mirror-3     1016G  45.1G   971G        -         -     1%  4.44%      -    ONLINE
    nvme0n1p2     1T      -      -        -         -      -      -      -    ONLINE
    nvme1n1p2     1T      -      -        -         -      -      -      -    ONLINE
logs               -      -      -        -         -      -      -      -         -
  nvme0n1p1      16G   392K  15.5G        -         -     0%  0.00%      -    ONLINE
  nvme1n1p1      16G   224K  15.5G        -         -     0%  0.00%      -    ONLINE
cache              -      -      -        -         -      -      -      -         -
  nvme0n1p3     868G   867G   301M        -         -     0%  100.0%      -    ONLINE
  nvme1n1p3     868G   867G   300M        -         -     0%  100.0%      -    ONLINE
root@Tower /m/u/s/docker# 

(buffer will sool retire, that's a temporary storage and a test pool, hence the indirect-2 thing).

As you can see, logs, cache, and special are from partition from 2 SSD's.


This seems not supported by the gui and wont mount

Quote

Oct 23 15:21:24 Tower root: cannot import 'tank' as 'tank': I/O error


Issue is partly solved if I manuallyI import the pool this way:

/usr/sbin/zpool import -f -m -N -o autoexpand=on  -d /dev/sdj1 -d /dev/sdf1 -d /dev/sde1 -d /dev/sdh1 -d /dev/sdi1 -d /dev/nvme0n1p1 -d /dev/nvme1n1p1 -d /dev/nvme0n1p2 -d /dev/nvme1n1p2 -d /dev/nvme0n1p3 -d /dev/nvme1n1p3  9470125657551839798 tank

 

This command is from emhttp but with ssd partitions added.

 

GUI still report unmountable, but ZFS master plugin show correctly the datasets mounted, and my containers/vm work.

2 questions please:

Are logs and cache partitions necessary for importing? (I think so)

Can I manually edit tank~{subpool}.cfg files so the pool mount automatically without error?

 

Thank you,

Reynald

Solved by JorgeB

  • Community Expert
  • Solution
23 minutes ago, Reynald said:

This seems not supported by the gui and wont mount

It's not supported and AFAIK there are no plans to support that in the near future.

 

You won't be able to import that pool using the GUI, can still import in the CLI, but it won't be part of the user shares.

  • Author

Thanks for your answer.

It appears that I have disk stats:

image.thumb.png.45bb67facefaf23bbf2d2f2d228abbe4.png

And shares are working:

image.thumb.png.047f36641cf821288f1d250894e1ecdd.png

 

What is missing is then mount dependant functions:

  • pool usage
  • pool information and operations (scrub, etc...)
  • ...

It was working with this configuration right after I set up the subpool with cli, and until rebooting . The culprit is at mounting during emhttp startup.

I will live with that. 

 

 

Edited by Reynald

  • 1 month later...

So the command works manually, obviously zpool import would find it, but needs to happen during emhttp startup somehow to pop out user shares?

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.