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 wird nicht automatisch Importiert geht nur manuell. Unraid 7 Beta2

Featured Replies

Hallo

wie importiere ich es das ich es endlich in Unraid verwalten kann?

Manueller Import:
 

root@Tower:~# zpool status
  pool: QNAPZFS
 state: ONLINE
  scan: resilvered 0B in 00:22:58 with 0 errors on Tue Jul 30 09:42:59 2024
config:

        NAME                                            STATE     READ WRITE CKSUM
        QNAPZFS                                         ONLINE       0     0     0
          raidz1-0                                      ONLINE       0     0     0
            ata-WDC_WD4001FFSX-68JNUN0_WD-WMC5D0D7LTZU  ONLINE       0     0     0
            ata-WDC_WD4001FFSX-68JNUN0_WD-WCC5D7KUKYPJ  ONLINE       0     0     0
            ata-WDC_WD4001FFSX-68JNUN0_WD-WMC5D0D5NH7C  ONLINE       0     0     0
            ata-WDC_WD4003FFBX-68MU3N0_VBG9L6RR         ONLINE       0     0     0
            ata-WDC_WD4003FZEX-00Z4SA0_WD-WCC5D0CJL5YC  ONLINE       0     0     0
        logs
          sda1                                          ONLINE       0     0     0

errors: No known data errors

  pool: QNAPZFS2
 state: ONLINE
  scan: scrub repaired 0B in 01:07:45 with 0 errors on Thu Jun  8 16:44:30 2023
config:

        NAME                                          STATE     READ WRITE CKSUM
        QNAPZFS2                                      ONLINE       0     0     0
          raidz1-0                                    ONLINE       0     0     0
            ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N5YF8H99  ONLINE       0     0     0
            ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N5EXDXX2  ONLINE       0     0     0
            ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N4JC7Z2D  ONLINE       0     0     0
            ata-ST3000VN000-1H4167_W300S9DZ           ONLINE       0     0     0
            ata-ST3000VN000-1H4167_W300SJ43           ONLINE       0     0     0

errors: No known data errors
root@Tower:~# 


 

root@Tower:~# zfs get all QNAPZFS
NAME     PROPERTY              VALUE                                 SOURCE
QNAPZFS  type                  filesystem                            -
QNAPZFS  creation              Fri Nov 20 19:00 2020                 -
QNAPZFS  used                  10.2T                                 -
QNAPZFS  available             4.21T                                 -
QNAPZFS  referenced            10.2T                                 -
QNAPZFS  compressratio         1.05x                                 -
QNAPZFS  mounted               yes                                   -
QNAPZFS  quota                 none                                  default
QNAPZFS  reservation           none                                  default
QNAPZFS  recordsize            1M                                    local
QNAPZFS  mountpoint            /QNAPZFS                              default
QNAPZFS  sharenfs              off                                   default
QNAPZFS  checksum              on                                    default
QNAPZFS  compression           lz4                                   local
QNAPZFS  atime                 off                                   local
QNAPZFS  devices               on                                    default
QNAPZFS  exec                  on                                    default
QNAPZFS  setuid                on                                    default
QNAPZFS  readonly              off                                   default
QNAPZFS  zoned                 off                                   default
QNAPZFS  snapdir               hidden                                default
QNAPZFS  aclmode               discard                               default
QNAPZFS  aclinherit            restricted                            default
QNAPZFS  createtxg             1                                     -
QNAPZFS  canmount              on                                    default
QNAPZFS  xattr                 on                                    default
QNAPZFS  copies                1                                     default
QNAPZFS  version               5                                     -
QNAPZFS  utf8only              off                                   -
QNAPZFS  normalization         none                                  -
QNAPZFS  casesensitivity       sensitive                             -
QNAPZFS  vscan                 off                                   default
QNAPZFS  nbmand                off                                   default
QNAPZFS  sharesmb              off                                   default
QNAPZFS  refquota              none                                  default
QNAPZFS  refreservation        none                                  default
QNAPZFS  guid                  7330423441425300913                   -
QNAPZFS  primarycache          all                                   local
QNAPZFS  secondarycache        all                                   default
QNAPZFS  usedbysnapshots       0B                                    -
QNAPZFS  usedbydataset         10.2T                                 -
QNAPZFS  usedbychildren        502M                                  -
QNAPZFS  usedbyrefreservation  0B                                    -
QNAPZFS  logbias               throughput                            local
QNAPZFS  objsetid              54                                    -
QNAPZFS  dedup                 off                                   default
QNAPZFS  mlslabel              none                                  default
QNAPZFS  sync                  disabled                              local
QNAPZFS  dnodesize             legacy                                default
QNAPZFS  refcompressratio      1.05x                                 -
QNAPZFS  written               10.2T                                 -
QNAPZFS  logicalused           10.7T                                 -
QNAPZFS  logicalreferenced     10.7T                                 -
QNAPZFS  volmode               default                               default
QNAPZFS  filesystem_limit      none                                  default
QNAPZFS  snapshot_limit        none                                  default
QNAPZFS  filesystem_count      none                                  default
QNAPZFS  snapshot_count        none                                  default
QNAPZFS  snapdev               hidden                                default
QNAPZFS  acltype               off                                   default
QNAPZFS  context               none                                  default
QNAPZFS  fscontext             none                                  default
QNAPZFS  defcontext            none                                  default
QNAPZFS  rootcontext           none                                  default
QNAPZFS  relatime              on                                    default
QNAPZFS  redundant_metadata    all                                   default
QNAPZFS  overlay               on                                    default
QNAPZFS  encryption            off                                   default
QNAPZFS  keylocation           none                                  default
QNAPZFS  keyformat             none                                  default
QNAPZFS  pbkdf2iters           0                                     default
QNAPZFS  special_small_blocks  0                                     default
QNAPZFS  prefetch              all                                   default
QNAPZFS  omvzfsplugin:uuid     8a17455e-47a6-494c-b56c-3a8647e04cbf  local


So Siehts beim Manuellen Import aus:
image.thumb.png.db2cc18da08c8259ffcc33323a5ab415.png

tower-diagnostics-20240730-2236.zip

Edited by Soliver84
Diag Daten

  • Soliver84 changed the title to ZFS wird nicht automatisch Importiert geht nur manuell. Unraid 7 Beta2
23 minutes ago, Soliver84 said:

wie importiere ich es das ich es endlich in Unraid verwalten kann?

die Themen würde ich eher im englischen Teil anfragen, gerade im aktuellen beta Status ... dafür gibt es extra einen Teil, pre releases ...

 

@JorgeB may a note about manual imports of zfs pools ? and persistent state ...

Assuming zfs is on partition #1 those pools should import without a problem, post the output of:

 

zpool status -LP

 

  • Author

@JorgeB Thanks for watching this and I hope you can tell me something good:

root@Tower:~# zpool status -LP
  pool: QNAPZFS
 state: ONLINE
  scan: resilvered 0B in 00:22:58 with 0 errors on Tue Jul 30 09:42:59 2024
config:

        NAME           STATE     READ WRITE CKSUM
        QNAPZFS        ONLINE       0     0     0
          raidz1-0     ONLINE       0     0     0
            /dev/sdi1  ONLINE       0     0     0
            /dev/sdg1  ONLINE       0     0     0
            /dev/sdj1  ONLINE       0     0     0
            /dev/sdk1  ONLINE       0     0     0
            /dev/sdl1  ONLINE       0     0     0
        logs
          /dev/sda1    ONLINE       0     0     0

errors: No known data errors

  pool: QNAPZFS2
 state: ONLINE
  scan: scrub repaired 0B in 01:07:45 with 0 errors on Thu Jun  8 16:44:30 2023
config:

        NAME           STATE     READ WRITE CKSUM
        QNAPZFS2       ONLINE       0     0     0
          raidz1-0     ONLINE       0     0     0
            /dev/sdm1  ONLINE       0     0     0
            /dev/sdn1  ONLINE       0     0     0
            /dev/sdf1  ONLINE       0     0     0
            /dev/sdh1  ONLINE       0     0     0
            /dev/sde1  ONLINE       0     0     0

errors: No known data errors
root@Tower:~# 

Both pools should import without issues, to do that:

 

  • export both pools first with
    zpool export pool_name

     

  • create two new pools in the GUI, first one with 6 slots, second one with 5 slots
  • assign the devices from each pool using the GUI, for the first one, the logs device should be assigned together with the other devices to the main pool, Unraid will then sort them during import
  • start the array and both pools should be imported

If they don't mount post the diagnostics.

  • Author

Hello Works :) Thank You 😍

  • Author

@JorgeB How do I add a cache that is located on the partition of the Samsung EVO?😊

Not sure I follow, is that a new device, not in the output above?

  • Author

@JorgeBThere are two partitions on the Samsung 850 EVO SSD:

image.thumb.png.7bd611e079da3d088a8bd5913ba7cff2.png

 


I removed the cache especially before I did the import into Unraid here:
logs - - - - - - sda1 0 464G 0 0 0 0

cache - - - - - - sda2 860K 466G 0 0 0 0

Do I have to do this in the console or is it possible to set the second partition as cache via the interface?
zpool add QNAPZFS cache /dev/sda2

Edited by Soliver84

Unraid does not support using two partitions in the same device, if you add that partition, it will stop being able to import the pool.

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.