0

I have a ZFS pool defined on top of LUKS-encrypted disks. I've been using it successfully.

I shut-down my server, reconnected a drive which had been unplugged to diagnose a problem, and I booted. The pool didn't mount. Then the pool vanished. Then it came back. Then it vanished.

One minute:

#zpool status
  pool: kpkpool1
 state: ONLINE
  scan: resilvered 44.6G in 0h21m with 0 errors on Sun Oct 13 13:42:10 2019
config:

    NAME           STATE     READ WRITE CKSUM
    kpkpool1       ONLINE       0     0     0
      mirror-0     ONLINE       0     0     0
        encrypt-a  ONLINE       0     0     0
        encrypt-b  ONLINE       0     0     0
        encrypt-c  ONLINE       0     0     0

errors: No known data errors

30 seconds later, it's gone:

# zpool status
no pools available

A minute later, it is back:

# zpool status
no pools available
root@boxtop3:/home/kevin# zpool status
  pool: kpkpool1
 state: ONLINE
  scan: resilvered 44.6G in 0h21m with 0 errors on Sun Oct 13 13:42:10 2019
config:

    NAME           STATE     READ WRITE CKSUM
    kpkpool1       ONLINE       0     0     0
      mirror-0     ONLINE       0     0     0
        encrypt-a  ONLINE       0     0     0
        encrypt-b  ONLINE       0     0     0
        encrypt-c  ONLINE       0     0     0

errors: No known data errors

10 seconds later:

# zpool status
no pools available

I think it is resilvering. When I reconnected the drive, it said it would take 9 hours to resilver and only one hour has passed; I can hear lots of head movement. The "scan: resilvered..." line is not changing with time.

What can I do to stop the pool from vanishing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.