zpool create core dump

I am having a problem to bring in a EMC clariion disk to the zpool of my V245 server. I can newfs the powerpath device and create files, I just couldn't create a zpool using that. any idea? Btw, the disk is only 64GB, it shouldn't hit the zfs limitation.

# zpool create emc emcpower0a

internal error: Invalid argument

SUNW-MSG-ID: ZFS-8000-D3, TYPE: Fault, VER: 1, SEVERITY: Major

EVENT-TIME: Thu May 31 17:01:31 EDT 2007

PLATFORM: SUNW,Sun-Fire-V245, CSN: -, HOSTNAME: abc

SOURCE: zfs-diagnosis, REV: 1.0

EVENT-ID: 83777b5d-ef19-4288-d874-b59899e8696f

DESC: A ZFS device failed. Refer to http://sun.com/msg/ZFS-8000-D3 for more information.

AUTO-RESPONSE: No automated response will occur.

IMPACT: Fault tolerance of the pool may be compromised.

REC-ACTION: Run 'zpool status -x' and replace the bad device.

May 31 17:01:32 abc genunix: NOTICE: core_log: zpool[7041] core dumped: /var/core/core_abc

Abort - core dumped

[1008 byte] By [sonylwca] at [2007-11-15]
# 1
Hi,I believe emcpower0a refers to slice 0. Do you have a slice 0 configured on the disk? Maybe try using just emcpower0.RegardsStuart
Stuart_Flishera at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 2
I tried that too# zpool create EMC emcpower0cannot open 'emcpower0': no such device in /dev/dskmust be a full path or shorthand device name
sonylwca at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 3

I run into a similar problem on a V440 with EMC Clariion disk and EMC PowerPath. I wasn't able to use the EMC power device to create a zpool at the begining. The "zpool create" command was complaining device not exist or something in that regard. Then I tried with one of the cXtYdZ device of the same EMC lun and it core dump. Then I tried with another cXtYdZ device of the same lun (another path) and it work!! Then I destroy the zpool and recreate it with its EMC power devices and it work! I could figure out why the system behave the way it did. There was no change to the system while all these happen. The only comand that I think might change that is "zpool status -x" that I ran; but I don't see how. So you might want to try using the cXtYdZ device to see if that works for you and try the power device later again.

patrick.lau@edmonton.caa at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 4

EMC support zfs from Solairs 11/06 and later. Are you on this release?

What version of Powerpath are you using?

Maybe try creating an EFI label on Powerpath device. You can do this with format -e -> label. I am wondering if it explains why creating pool on cXtYdZ then retrying with powerpath device worked.

Regards

Stuart_Flishera at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 5

I am using Solaris 10 u3 with latest patch release on Apr 07.

For Powerpath, I am using 5.0.1.

I am able to add the disk using cXtX name, but that will loss the purpose of powerpath. I also tried to create EFI label on the powerpath dev but I still got core dump for zpool.

Even though Sun support have no clue on this issue so far.

sonylwca at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 6

The final answer is that zfs simply don't work with powerpath device (at least with my clarrion environment). My testing show me that zfs only work with 1 active path, if the default path of your powerpath pusedo device is the actice one, then you will able to add that powerpath pusedo dev to zpool, otherwise you will get a coredump.

For people who use powerpath pusedo dev with zpool, I really want to see if anyone did a failover test with them, is it really work as expected?

sonylwca at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 7
I believe you'll find that ZFS and Clariion storage are not a supported combination on the EMC support matrix (powerpath or not). Not sure why
MichaelMyersa at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 8
These days clarion's are supported by mpxio. You could try using that instead of powepath..
robert.cohena at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 9
Thanks. I have no choice, I have to gave up certain features in powerpath and switched to mpxio, it's working fine.
sonylwca at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...
# 10

Page 2958 EMC Interoperability Guide March 2007 states the following:

22. EMC supports ZFS in Solaris 10 11/06 or later. Snapshot and Clone features are supported only through Sun.

I couldn't find a reference to Powerpath though, but then I didn't manage to read the whole document :)

Stuart_Flishera at 2007-7-12 > top of java,Solaris Operating System,Solaris 10 Features...