Trying to mount MacZFS pool gives err: invalid vdev config

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

Trying to mount MacZFS pool gives err: invalid vdev config

Post by wonkywonky » Sun Sep 16, 2012 9:06 am

1. I just installed CE over MacZFS.
2. I have a pool made up of a mirror vdev with 2 x 750GB drives ('ZFS' label and ashift=12 using a modded MacZFS binary).

Code: Select all
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk3
   1:                        EFI                         209.7 MB   disk3s1
   2:                        ZFS                         749.8 GB   disk3s2
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk4
   1:                        EFI                         209.7 MB   disk4s1
   2:                        ZFS                         749.8 GB   disk4s2
/dev/disk6
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:             zfs_pool_proxy Archive                *749.8 GB   disk6

Problem: Zevo won't mount it. What I'm assuming is the pool proxy shows up in Disk Utility with the Zevo icon.

Code: Select all
bash-3.2$ sudo zpool import -f Archive
cannot import 'Archive': invalid vdev configuration


Code: Select all
Sep 16 22:12:01 localhost kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
Sep 16 22:12:04 localhost kernel[0]: ZFSLabelScheme:probe: label 'Archive', vdev 2298025020320336690
Sep 16 22:12:04 localhost kernel[0]: ZFSLabelScheme:start: 'Archive' critical mass with 1 vdev(s) (importing)
Sep 16 22:12:04 localhost kernel[0]: ZFSLabelScheme:probe: label 'Archive', vdev 12616462451443391043
Sep 16 22:12:04 localhost kernel[0]: ZFSLabel::olderPoolVersion Archive version 8 doesn't support SA
...
Sep 16 22:12:10 natasha kernel[0]: zfsx_vdm_open: 'Archive' disk2s2
Sep 16 22:12:10 natasha kernel[0]: zfsx_vdm_open: 'Archive' disk3s2
Sep 16 22:12:10 natasha kernel[0]: zfsx_vdm_close: 'disk2s2'
Sep 16 22:12:10 natasha kernel[0]: zfsx_vdm_close: 'disk3s2'
Sep 16 22:12:10 natasha kernel[0]: zfsdev_ioctl: function error 22 on command 2
...
Sep 16 22:13:34 natasha kernel[0]: ZFSLabelScheme:stop: 0xffffff802099fd00 goodbye 'zfs vdev for 'Archive''
Sep 16 22:13:34 --- last message repeated 1 time ---
Sep 16 22:13:34 natasha kernel[0]: ZFSLabelScheme:probe: label 'Archive', vdev 12616462451443391043
Sep 16 22:13:34 natasha kernel[0]: ZFSLabelScheme:start: 'Archive' critical mass with 1 vdev(s) (skip import)
Sep 16 22:13:34 natasha kernel[0]: ZFSLabelScheme:probe: label 'Archive', vdev 2298025020320336690
Sep 16 22:13:34 natasha kernel[0]: zfsx_vdm_open: 'Archive' disk2s2
Sep 16 22:13:34 natasha kernel[0]: zfsx_vdm_open: 'Archive' disk3s2
Sep 16 22:13:34 natasha kernel[0]: ________________________________________
Sep 16 22:13:34 natasha kernel[0]: ZFS WARNING: 'error from: fs.zfs.vdev.bad_label'
Sep 16 22:13:34 natasha kernel[0]: pool: 'Archive'
Sep 16 22:13:34 natasha kernel[0]: vdev_type: 'mirror'
Sep 16 22:13:34 natasha kernel[0]: parent_type: 'root'
Sep 16 22:13:34 natasha kernel[0]: prev_state: 7
Sep 16 22:13:34 natasha kernel[0]: ________________________________________
Sep 16 22:13:34 natasha kernel[0]: ZFS WARNING: 'error from: fs.zfs.zpool'
Sep 16 22:13:34 natasha kernel[0]: pool: 'Archive'
Sep 16 22:13:34 natasha kernel[0]: zfsx_vdm_close: 'disk2s2'
Sep 16 22:13:34 natasha kernel[0]: zfsx_vdm_close: 'disk3s2'
Sep 16 22:13:34 natasha kernel[0]: zfsdev_ioctl: function error 22 on command 2
Last edited by wonkywonky on Mon Sep 17, 2012 4:43 am, edited 1 time in total.
wonkywonky Offline


 
Posts: 25
Joined: Fri Sep 14, 2012 11:33 pm

Re: MacZFS mirrored pool -> Zevo CE: Invalid vdev configurat

Post by wonkywonky » Mon Sep 17, 2012 4:41 am

No one else?
wonkywonky Offline


 
Posts: 25
Joined: Fri Sep 14, 2012 11:33 pm

Re: Trying to mount MacZFS pool gives err: invalid vdev conf

Post by wonkywonky » Wed Sep 19, 2012 10:09 am

Very interesting. I gave up and rebuilt the pool in the end.

I also decided to bite the bullet on my storage server since I could revert to MacZFS if anything went wrong. The storage server (2 x RAIDZ, 1 x MIRROR) converted to CE just fine. The only minor glitch was that the MacZFS icons were retained on the pools, and I had to look a little closer to be sure that Zevo had taken over - after that, I had to manually remove the yellow MacZFS icons via the Get Info dialog, revealing the lovely green Zevo icon.

So I guess all's well that ends well, and I'll attribute my problems importing the mirror pool on my desktop to the gremlins.
wonkywonky Offline


 
Posts: 25
Joined: Fri Sep 14, 2012 11:33 pm

cross reference

Post by grahamperrin » Tue Nov 13, 2012 1:56 am

wonkywonky wrote:No one else?


Too late for your September 2012 case (sorry) but the following string appears in a topic that began in October:

Code: Select all
zfsdev_ioctl: function error 22 on command 2


Moving a Pool
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: cross reference

Post by d.jacobs » Sat Dec 01, 2012 12:03 am

grahamperrin wrote:
wonkywonky wrote:No one else?


Too late for your September 2012 case (sorry) but the following string appears in a topic that began in October:

Code: Select all
zfsdev_ioctl: function error 22 on command 2


Moving a Pool


That topic has since been deleted during a forum cleanup. I've recreated it in the troubleshooting forum: USB/eSATA Difficulties
d.jacobs Offline


 
Posts: 5
Joined: Wed Oct 17, 2012 3:55 pm

side note

Post by grahamperrin » Wed Dec 05, 2012 3:33 pm

Side note, concerning the lost and recreated topics: viewtopic.php?p=3402#p3402
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: Trying to mount MacZFS pool gives err: invalid vdev conf

Post by jhartley » Wed Dec 05, 2012 3:45 pm

I've restored the topic about a lost pool.
jhartley Offline

User avatar
 
Posts: 34
Joined: Thu Sep 06, 2012 10:15 am


Return to Troubleshooting

Who is online

Users browsing this forum: bileyqrkq, ilovezfs and 0 guests

cron