Page 1 of 3

SOLVED mirror creation fails, invalid feature '(null)'

PostPosted: Sat Jul 25, 2015 11:24 am
by Marco
I have been experimenting with a single disk pool for five years. I felt that I was ready to create a mirror instead. As I had another copy of my data, I destroyed the existing pool, in order to create from scratch a mirror out of two WD Green 2 TB HDD. The two disks are lodged in a two-bay external JBOD enclosure by Aukey, with an USB 3 connection to my MacBook Air.

After re-reading the wiki, I first learned the name of the device with the command:

Code: Select all
~ user$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         250.1 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Argo                   *249.8 GB   disk1
                                 Logical Volume on disk0s2
                                 4C69075F-4469-426F-A42D-74E8D927C31D
                                 Unencrypted
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk2
   1:                        ZFS                         2.0 TB     disk2s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk2s9
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk3
   1:                        ZFS                         2.0 TB     disk3s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk3s9

Then I unmounted disk2 with the command:
Code: Select all
~ user$ sudo diskutil unmountDisk /dev/disk2
Unmount of all volumes on disk2 was successful


I did the same with disk3.

Then I entered:
Code: Select all
~ user$  sudo zpool create -f -o ashift=12 -O compression=lz4 -O casesensitivity=insensitive -O atime=off -O normalization=formD tirinto mirror /dev/disk2 /dev/disk3

The result was:
[code]cannot create 'Micene': invalid feature '(null)'


I rechecked and repeated the command many times, but the result was always the same.

Anybody knows what am I doing wrong?

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Sun Jul 26, 2015 9:35 am
by Marco
I have found that there was a similar problem 5 years ago, according to https://www.illumos.org/issues/453

May this hold the key to the problem?

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Sun Jul 26, 2015 4:42 pm
by lundman
That is quite interesting. Can you create the pool on just one disk, then attach the second? (zpool attach -f). Does it help to use zpool labelclear on the disks first?

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Sun Jul 26, 2015 8:56 pm
by Marco
Thank you for your suggestions. I followed both.
I have tried to use zpool labelclear first and then create the mirror. Same null result.
Then I have tried to use zpool label clear, then create the pool on just one disk. Same null result. Then on the other. Same null result.
Any more ideas? Would you be interested in some log?

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Sun Jul 26, 2015 11:50 pm
by ilovezfs
Does a basic "sudo zpool create -f foo disk#" work?

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Mon Jul 27, 2015 12:50 am
by Marco
Nope. I receive the same message.

A note: every time that I try to create the pool, either mirrored or not, I receive a message from the Finder that says that I have connected a disk in an unsupported format, and ask if I want to expel it, format it or ignore the message. I always ignore it.

I see that I haven't specified that I am using the latest release of Yosemite, and the last forum beta of openzfsonosx.

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Mon Jul 27, 2015 6:42 am
by ilovezfs
What is the output if you run this script?

https://gist.github.com/ilovezfs/1f7c568d1bf3331a1fb5

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Mon Jul 27, 2015 8:34 am
by Marco
The output is:

cannot create 'myramdiskpool': invalid feature: '(null)'


As there were reference to RAm, it came to my mind that I should have mentioned that I Have 8G of RAM.

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Mon Jul 27, 2015 4:04 pm
by ilovezfs
This means there's a problem with your installation, not your disks. You should run the uninstall-complete script that's available in the wiki dmg (https://openzfsonosx.org/w/images/7/71/ ... 3.1-r2.dmg), and then re-install 1.3.2-RC1 from the forum.

Re: mirror creation fails, invalid feature '(null)'

PostPosted: Tue Jul 28, 2015 7:06 am
by Marco
I followed your suggestion and tried this several times, but the result is always the same.

I was wondering: is there a list of what should be installed and where?