Code Monkey home page Code Monkey logo

Comments (4)

lundman avatar lundman commented on August 30, 2024 1

We've fixed a bunch of issues, and only just got to this one:

# ./scripts/cmd-macos.sh zfs mount -al
Enter passphrase for 'testpool/encrypted':
testpool/encrypted   95Mi  1.0Mi   94Mi     2%      75    192692    0%   /Volumes/testpool/encrypted
-rw-r--r--  1 root  wheel  26802 Feb 26 04:51 zfs-man-page

Since it works fine, I am hoping one of the other import fixes also corrected this problem. Please try again once I push out a new installer. (or compile your own).

from zfs.

davidschlachter avatar davidschlachter commented on August 30, 2024 1

The problem is resolved in the zfs-2.0.0-rc1 build posted yesterday on the forums. Thank you so much!

from zfs.

davidschlachter avatar davidschlachter commented on August 30, 2024

Example logs on macOS:

david@macbook ttys000 [0] /usr/obj
07:55:52 $ zpool status testpool
  pool: testpool
 state: ONLINE
status: Some supported 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(5) for details.
config:

	NAME                   STATE     READ WRITE CKSUM
	testpool               ONLINE       0     0     0
	  /usr/obj/test-zpool  ONLINE       0     0     0

errors: No known data errors

david@macbook ttys000 [0] /usr/obj
07:57:39 $ sudo zfs mount -lv testpool/encrypted
Enter passphrase for 'testpool/encrypted':
do_mount calling mount with fstype zfs, rpath /Volumes/testpool/encrypted, fspec testpool/encrypted, mflag 0, optptr defaults,atime,strictatime,dev,exec,rw,setuid,nomand,zfsutil, optlen 60, devdisk 0, ispool 0
cannot mount 'testpool/encrypted': Unknown error: -1

david@macbook ttys000 [1] /usr/obj
07:57:49 $ sudo zpool status -v testpool
  pool: testpool
 state: ONLINE
status: One or more devices has experienced an error resulting in data
	corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
	entire pool from backup.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
config:

	NAME                   STATE     READ WRITE CKSUM
	testpool               ONLINE       0     0     0
	  /usr/obj/test-zpool  ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        testpool/encrypted:<0x0>

david@macbook ttys000 [0] /usr/obj
07:58:33 $ sudo zpool scrub testpool

david@macbook ttys000 [0] /usr/obj
07:58:54 $ sudo zpool status -v testpool
  pool: testpool
 state: ONLINE
status: Some supported 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(5) for details.
  scan: scrub repaired 0B in 00:00:00 with 0 errors on Fri Feb 26 07:58:54 2021
config:

	NAME                   STATE     READ WRITE CKSUM
	testpool               ONLINE       0     0     0
	  /usr/obj/test-zpool  ONLINE       0     0     0

errors: No known data errors

from zfs.

davidschlachter avatar davidschlachter commented on August 30, 2024

Here's the file-backed zpool in the above example. The passphrase (prompt) is password for testpool/encrypted. I created the pool on FreeBSD and tested (above) on macOS.

test-zpool.zip

from zfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.