Jump to content

ZFS Defekte Platte Tauschen, geht nicht.


Soliver84

Recommended Posts

Hallo

 

Ich habe eine Defekte Festplatte, die habe ich schon ausgebaut und die exakt gleiche in Neu am gleichen Platz installiert:

 

Alte Platte:

WDC_WD30EFRX-68EUZN0_WD-WCC4N3YFCX30

Neue Platte:

WDC_WD30EFRX-68EUZN0_WD-WCC4N4JC7Z2D

Name:

Dev 7, sdf

 

Status:

root@Tower:~# zpool status
  pool: QNAPZFS
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
        The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0B in 03:22:47 with 0 errors on Sun Jul 11 03:46:49 2021
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
        cache
          sda2                                          ONLINE       0     0     0

errors: No known data errors

  pool: QNAPZFS2
 state: DEGRADED
status: One or more devices could not be used because the label is missing or
        invalid.  Sufficient replicas exist for the pool to continue
        functioning in a degraded state.
action: Replace the device using 'zpool replace'.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
  scan: resilvered 612K in 00:00:01 with 0 errors on Sun Oct  3 22:53:36 2021
config:

        NAME                                          STATE     READ WRITE CKSUM
        QNAPZFS2                                      DEGRADED     0     0     0
          raidz1-0                                    DEGRADED     0     0     0
            ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N5YF8H99  ONLINE       0     0     0
            ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N5EXDXX2  ONLINE       0     0     0
            13419636845726771512                      UNAVAIL      0     0     0  was /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N3YFCX30-part1
            ata-ST3000VN000-1H4167_W300S9DZ           ONLINE       0     0     0
            ata-ST3000VN000-1H4167_W300SJ43           ONLINE       0     0     0

errors: No known data errors

 

Meine Versuche:

root@Tower:~# zpool replace QNAPZFS2 raidz1-0 ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N4JC7Z2D
cannot replace raidz1-0 with ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N4JC7Z2D: already in replacing/spare config; wait for completion or use 'zpool detach'

root@Tower:~# zpool replace QNAPZFS2 raidz1-0 /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N4JC7Z2D
cannot replace raidz1-0 with /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N4JC7Z2D: already in replacing/spare config; wait for completion or use 'zpool detach'

 

hier steht etwas von ashift warum es nicht geht:

https://www.truenas.com/community/threads/cannot-replace-disks-in-pool.91490/

 

habe das dann mal anzeigen lassen:

zpool get ashift

 

root@Tower:~# zpool get ashift
NAME      PROPERTY  VALUE   SOURCE
QNAPZFS   ashift    0       default
QNAPZFS2  ashift    0       default

 

die führen aber noch "zdb -C -U /data/zfs/zpool.cach" aus das gibt es bei Unraid aber nicht.

 

was muss ich machen.

 

OFF Thropic:

Ich frag mich wie lange es bei Unraid noch dauert bis endlich eine ZFS GUI gibt.

 

Danke im voraus. 

 

 

Edited by Soliver84
Link to comment
On 1/8/2023 at 7:53 PM, Soliver84 said:
action: Replace the device using 'zpool replace'.

 

Also, das wäre für mich deine Antwort, ist sogar ein Link dabei wo alles beschrieben ist, in dem Link steht wie alles genau gemacht gehört: Klick

 

12 hours ago, Soliver84 said:

was keiner hat eine idee?

Ich glaube nicht viele nutzen ZFS zumindest nicht aus DE -> der Stromspargedanke ist bei ZFS eben nicht gerade groß und ist ein ganz anderes Storage Konzept als bei Unraid.

 

On 1/8/2023 at 7:53 PM, Soliver84 said:

Ich frag mich wie lange es bei Unraid noch dauert bis endlich eine ZFS GUI gibt.

Die basics kommen in der 6.12, aber erwarte noch nicht das ein Tausch der Platten dort über die GUI funktioniert.

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...