Code Monkey home page Code Monkey logo

Comments (8)

lundman avatar lundman commented on August 30, 2024

I can see a couple of things that are suspect here;

  create -o version=28
maczfsprototype  feature@async_destroy

If we create a pool version 28, then it should not set the feature-flags. They belong only to pool version 5000.

maczfsprototype  ashift                 0

That is clearly undesirable.

from zfs.

grahamperrin avatar grahamperrin commented on August 30, 2024

In the ZEVO support forum: Alignment at the Core Storage LVM layer, ashift above?

… I guess that if alignment is proper at the (lower) Core Storage layer, then I can accept the default ashift 0 at the (upper) ZFS pool layer. …

from zfs.

grahamperrin avatar grahamperrin commented on August 30, 2024

Without Core Storage –

ashift                 0                      default

– and:

feature@async_destroy  disabled               local
feature@empty_bpobj    disabled               local

None of those things are an obstacle to ZEVO Community Edition 1.1.1:

  • the import by ZEVO is dynamic and without force
  • feature@ values are not listed in output from zpool get all for the pool.

from zfs.

grahamperrin avatar grahamperrin commented on August 30, 2024

Terminal output below. ZEVO on Mountain Lion.

gpes3e-gjp4:~ gjp22$ diskutil list /dev/disk6 ; diskutil list /dev/disk7 ; diskutil list /dev/disk8
/dev/disk6
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *7.7 GB     disk6
   1:                        EFI                         209.7 MB   disk6s1
   2:          Apple_CoreStorage                         7.4 GB     disk6s2
   3:                 Apple_Boot Boot OS X               134.2 MB   disk6s3
/dev/disk7
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *7.1 GB     disk7
   1:                        ZFS                         7.1 GB     disk7s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk7s9
/dev/disk8
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:             zfs_pool_proxy maczfsprototype        *7.1 GB     disk8
gpes3e-gjp4:~ gjp22$ clear





gpes3e-gjp4:~ gjp22$ sudo zdb -l /dev/disk7s1
--------------------------------------------
LABEL 0
--------------------------------------------
    version: 28
    name: 'maczfsprototype'
    state: 1
    txg: 114
    pool_guid: 4802247225081302216
    hostname: ''
    top_guid: 6208245507873663722
    guid: 6208245507873663722
    vdev_children: 1
    vdev_tree:
        type: 'disk'
        id: 0
        guid: 6208245507873663722
        path: '/dev/disk3s1'
        whole_disk: 1
        metaslab_array: 30
        metaslab_shift: 26
        ashift: 9
        asize: 7064780800
        is_log: 0
        create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 1
--------------------------------------------
    version: 28
    name: 'maczfsprototype'
    state: 1
    txg: 114
    pool_guid: 4802247225081302216
    hostname: ''
    top_guid: 6208245507873663722
    guid: 6208245507873663722
    vdev_children: 1
    vdev_tree:
        type: 'disk'
        id: 0
        guid: 6208245507873663722
        path: '/dev/disk3s1'
        whole_disk: 1
        metaslab_array: 30
        metaslab_shift: 26
        ashift: 9
        asize: 7064780800
        is_log: 0
        create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 2
--------------------------------------------
    version: 28
    name: 'maczfsprototype'
    state: 1
    txg: 114
    pool_guid: 4802247225081302216
    hostname: ''
    top_guid: 6208245507873663722
    guid: 6208245507873663722
    vdev_children: 1
    vdev_tree:
        type: 'disk'
        id: 0
        guid: 6208245507873663722
        path: '/dev/disk3s1'
        whole_disk: 1
        metaslab_array: 30
        metaslab_shift: 26
        ashift: 9
        asize: 7064780800
        is_log: 0
        create_txg: 4
    features_for_read:
--------------------------------------------
LABEL 3
--------------------------------------------
    version: 28
    name: 'maczfsprototype'
    state: 1
    txg: 114
    pool_guid: 4802247225081302216
    hostname: ''
    top_guid: 6208245507873663722
    guid: 6208245507873663722
    vdev_children: 1
    vdev_tree:
        type: 'disk'
        id: 0
        guid: 6208245507873663722
        path: '/dev/disk3s1'
        whole_disk: 1
        metaslab_array: 30
        metaslab_shift: 26
        ashift: 9
        asize: 7064780800
        is_log: 0
        create_txg: 4
    features_for_read:
gpes3e-gjp4:~ gjp22$ clear





gpes3e-gjp4:~ gjp22$ diskutil coreStorage list
CoreStorage logical volume groups (3 found)
|
+-- Logical Volume Group 902434C9-0131-4E3A-AE15-2B8B938087AD
|   =========================================================
|   Name:         gjp22-cs
|   Status:       Online
|   Size:         616336003072 B (616.3 GB)
|   Free Space:   0 B (0 B)
|   |
|   +-< Physical Volume 179AADE6-34F1-404C-A994-9FD99C881BA6
|   |   ----------------------------------------------------
|   |   Index:    0
|   |   Disk:     disk0s7
|   |   Status:   Online
|   |   Size:     616336003072 B (616.3 GB)
|   |
|   +-> Logical Volume Family FFCE2FAF-BE8E-4FEF-9F3E-E221C6CBCA11
|       ----------------------------------------------------------
|       Encryption Status:       Unlocked
|       Encryption Type:         AES-XTS
|       Conversion Status:       Complete
|       Conversion Direction:    -none-
|       Has Encrypted Extents:   Yes
|       Fully Secure:            Yes
|       Passphrase Required:     Yes
|       |
|       +-> Logical Volume 0CFAFD38-E79B-40AC-A4BE-63296E6B4331
|           ---------------------------------------------------
|           Disk:               disk3
|           Status:             Online
|           Size (Total):       616017227776 B (616.0 GB)
|           Size (Converted):   -none-
|           Revertible:         No
|           LV Name:            gjp22-cs
|           Content Hint:       Apple_HFS
|
+-- Logical Volume Group A82B1A4B-B312-41AB-B020-F813CCC74C1C
|   =========================================================
|   Name:         OS
|   Status:       Online
|   Size:         99484213248 B (99.5 GB)
|   Free Space:   0 B (0 B)
|   |
|   +-< Physical Volume 18126061-401E-47DB-A215-8CC6400769F6
|   |   ----------------------------------------------------
|   |   Index:    0
|   |   Disk:     disk0s5
|   |   Status:   Online
|   |   Size:     99484213248 B (99.5 GB)
|   |
|   +-> Logical Volume Family 7615C140-F0A4-4BDC-AEFF-A78A55E41B1B
|       ----------------------------------------------------------
|       Encryption Status:       Unlocked
|       Encryption Type:         AES-XTS
|       Conversion Status:       Complete
|       Conversion Direction:    -none-
|       Has Encrypted Extents:   Yes
|       Fully Secure:            Yes
|       Passphrase Required:     Yes
|       |
|       +-> Logical Volume 6F42406A-AB44-40B2-9838-9EAFC5CF1C09
|           ---------------------------------------------------
|           Disk:               disk2
|           Status:             Online
|           Size (Total):       99165437952 B (99.2 GB)
|           Size (Converted):   -none-
|           Revertible:         No
|           LV Name:            OS
|           Volume Name:        OS
|           Content Hint:       Apple_HFS
|
+-- Logical Volume Group 84ADC337-A470-4377-B235-01AD6E3221B0
    =========================================================
    Name:         blooper
    Status:       Online
    Size:         7398711296 B (7.4 GB)
    Free Space:   0 B (0 B)
    |
    +-< Physical Volume D7220B99-6B8A-4DA6-B4AA-F6C25D511D29
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk6s2
    |   Status:   Online
    |   Size:     7398711296 B (7.4 GB)
    |
    +-> Logical Volume Family 783C74C2-9B69-49E3-8169-67959DFE8F95
        ----------------------------------------------------------
        Encryption Status:       Unlocked
        Encryption Type:         AES-XTS
        Conversion Status:       Complete
        Conversion Direction:    -none-
        Has Encrypted Extents:   Yes
        Fully Secure:            Yes
        Passphrase Required:     Yes
        |
        +-> Logical Volume D0699260-3F5A-47A6-BFA4-B1CE79ADB4ED
            ---------------------------------------------------
            Disk:               disk7
            Status:             Online
            Size (Total):       7079936000 B (7.1 GB)
            Size (Converted):   -none-
            Revertible:         No
            LV Name:            blooper
            Content Hint:       Apple_HFS
gpes3e-gjp4:~ gjp22$  

from zfs.

grahamperrin avatar grahamperrin commented on August 30, 2024

In response to suggestions from ilovezfs

gpes3e-gjp4:/ gjp22$ diskutil cs unlockVolume D0699260-3F5A-47A6-BFA4-B1CE79ADB4ED
Passphrase:
Started CoreStorage operation
Logical Volume successfully unlocked
Logical Volume successfully attached as disk13
Error: -69842: Couldn't mount disk
gpes3e-gjp4:/ gjp22$ diskutil list /dev/disk13 ; diskutil list /dev/disk14
/dev/disk13
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *7.1 GB     disk13
   1:                        ZFS                         7.1 GB     disk13s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk13s9
/dev/disk14
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:             zfs_pool_proxy                        *7.1 GB     disk14

zpool import -d /dev

gpes3e-gjp4:/ gjp22$ sudo zpool import -d /dev
  pool: maczfsprototype
    id: 4802247225081302216
 state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
config:

    maczfsprototype  UNAVAIL  insufficient replicas
      /dev/disk13s1  UNAVAIL  corrupted data

With force

gpes3e-gjp4:/ gjp22$ sudo zpool import -f maczfsprototype
cannot import 'maczfsprototype': invalid vdev configuration

Slice 2, symbolic linking

gpes3e-gjp4:/ gjp22$ sudo ln -s /dev/disk13s1 /dev/disk13s2
gpes3e-gjp4:/ gjp22$ sudo zpool import
  pool: maczfsprototype
    id: 4802247225081302216
 state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
config:

    maczfsprototype                              UNAVAIL  insufficient replicas
      GPTE_AB543C80-915E-A44D-92BE-5CEFB3C45457  UNAVAIL  corrupted data
gpes3e-gjp4:/ gjp22$ 

from zfs.

grahamperrin avatar grahamperrin commented on August 30, 2024

I experimented with setting the ashift value to 9 at time of creation by MacZFS prototype. The setting did not work around the issue.

from zfs.

grahamperrin avatar grahamperrin commented on August 30, 2024

In the ZEVO support forum:

Getting ashift property values: use zdb, not zpool

With ZEVO Community Edition 1.1.1:

• the zpool get subcommand does not work for the ashift property.

from zfs.

ilovezfs avatar ilovezfs commented on August 30, 2024

These issues, whatever they may have been, have likely been fixed for a while now.

It is worth noting that we now have even better CoreStorage support for new pools, since it will no longer attempt to partition the logical volume, which is not able to be partitioned since 10.8.5

7083c92
1e9663f

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.