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

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

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

Postby Marco » Sat Jul 25, 2015 11:24 am

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?
Last edited by Marco on Thu Sep 17, 2015 8:13 am, edited 1 time in total.
Marco
 
Posts: 38
Joined: Tue Mar 25, 2014 1:39 am

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

Postby Marco » Sun Jul 26, 2015 9:35 am

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?
Marco
 
Posts: 38
Joined: Tue Mar 25, 2014 1:39 am

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

Postby lundman » Sun Jul 26, 2015 4:42 pm

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?
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

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

Postby Marco » Sun Jul 26, 2015 8:56 pm

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?
Marco
 
Posts: 38
Joined: Tue Mar 25, 2014 1:39 am

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

Postby ilovezfs » Sun Jul 26, 2015 11:50 pm

Does a basic "sudo zpool create -f foo disk#" work?
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

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

Postby Marco » Mon Jul 27, 2015 12:50 am

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.
Marco
 
Posts: 38
Joined: Tue Mar 25, 2014 1:39 am

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

Postby ilovezfs » Mon Jul 27, 2015 6:42 am

What is the output if you run this script?

https://gist.github.com/ilovezfs/1f7c568d1bf3331a1fb5
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

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

Postby Marco » Mon Jul 27, 2015 8:34 am

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.
Marco
 
Posts: 38
Joined: Tue Mar 25, 2014 1:39 am

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

Postby ilovezfs » Mon Jul 27, 2015 4:04 pm

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.
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

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

Postby Marco » Tue Jul 28, 2015 7:06 am

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?
Marco
 
Posts: 38
Joined: Tue Mar 25, 2014 1:39 am

Next

Return to Absolute Beginners Section

Who is online

Users browsing this forum: No registered users and 14 guests

cron