We're trying out a SAN migration from HP EVA to EMC VMAX, and run into a bit of an issue with powerpath and zfs.
The method we're currently using to migrate is to export the HP EVA luns from our sun server, replicate using SAN based method, and then present the new luns to our Sun server doing a zfs import.
The problem we have is when doing a zfs import, zfs chooses one of the 4 possible paths to the lun, instead of using the powerpath pseudo device.
Is there a way to force zfs to use the pseudo device: /dev/dsk/emcpower29a, instead of c5t50000975F000258Dd20, whch it is currently using?
I do know that adding a blank lun from the EMC SAN to the existing zpool as a mirror would be a lot simpler - but unfortunately this method is the one we have to use.
I've done this quite a few times on UFS and I believe the same general procedure will work for ZFS as well. When you're creating the zpool, use the following paramater 'zpool create your_pool_name /dev/dsk/emcpower29a' and not ''zpool create your_pool_name /dev/dsk/c5t50000975F0002581d20s0'.
Or, if you've already tried that, please post the output you used to create the zpool. That's probably the best place to start.
the zpool was created using the id from a different device (as it used to be hosted on HP EVA SAN). So it must have been something along:
now we've exported that zpool, done a SAN migration to duplicate the lun onto EMC, presented the new lun to the server and done a
which automatically mounted the zpool, configuring it using the c5t5 path rather than the EMC pseudo device. It seems to be functioning perfectly, other than the fact we'll lose the device if we lose that single c5t5 path.
Yes, I had a feeling we were over complicating things. I will push for the zpool mirror method. Attach the new lun (referencing the EMC pseudo device), wait for sync and detach old device.
Many thanks to everyone for their input so far. I've just got one final ZFS query, then i'll be done - promise!
I've followed peasant's advice utilising the ZFS attach/detach, and it works perfectly. I'm just not clear on how to mirror a zpool with 2 striped luns:
On a normal one lun zpool, to attach a mirror device, I would issue a:
But how would I do that one the zpool above, with 2 striped luns? Googling suggests tackling each lun in turn:
But have no idea, what kind out zpool that would create. Unfortunately I don't hve a test system I can try this out on. Can anyone please advise?
You should be able to create a mirror with from existing two disks to new two disks using attach.
You can try this method on your server using ZVOL's or files as backend for your test zpool.
First create a pool with two zvols or files as backend device, then use attach to attach additional 2 zvols/files as backend device.
This can be 200 MB files or zvols, no need for gigabytes, on existing free space anywhere on the system.
If everything is ok, you can run it on your real data.
Also, you can use virtualization on your desktop to check if things work before typing it on production systems.
Hello All
I’ve made the decision to switch my storage server from FreeNAS to Solaris. I opted to use FreeNAS as it has ZFS and until BTRFS is stable, it’s the best option (IMHO) for backup and network storage.
The switch was facilitated by the USB stick that FreeNAS was on got lost during a... (1 Reply)
It seems like I lost one path on my Solaris-11 box. But I want to make sure before going to Storage team, if issue is from OS side or Storage side. Storage team is able to see that only one wwwn is looged in their switch. I am not at server's physical location. What does below output says ? I... (0 Replies)
Hello guys, I'm going crazy over here with a problem with a LUN created on a EMC CX3.
I did sucessfully managed to create the LUN on the Storage (the LUN is named DBLNX25EC_TST), after doing the following process:
echo "1" > /sys/class/fc_host/host<n>/issue_lip
and
echo "- - -" >... (10 Replies)
I'm trying to auto-mount EMC Symmetrix BCV device at boot.
but having problem making BCV available.
I put script called mkbcv to the inittab and engineer suggested to add
120 sec sleep between cfgmgr so I did that also.
My mkbcv script seems to be working fine, it says "hdisk4 Available" ... (1 Reply)
I saved one of my zfs snapshot on the remote machine with following command. And now i want to restore the same snapshot to original server how can i receive it on the original server from backup server.
#zfs send rpool/ROOT/sol10_patched@preConfig | ssh x.x.x.x zfs receive... (1 Reply)
Dear All,
I was having powerpath 5.2 on SUN server with SVM connected to CLARIION box.Please find the following output :
root # powermt display dev=all
Pseudo name=emcpower3a
CLARiiON ID=CK200073400372
Logical device ID=60060160685D1E004DD97FB647BFDC11
state=alive; policy=CLAROpt;... (1 Reply)
Hi ,
I have a redhat 5.3 server which has 2 vg.. one is rootvg in local harddisk and another one is applicationvg in SAN.. When I reboot the server , EMC powerpath driver is not starting up automatically. Hence applicationvg is not mounting properly. Therefore I need to unmount it manually and... (4 Replies)
Friends,
Could u please clarify how does a Solaris 10 machine recognize a SATA hard disk, SATA CD/DVD drives.
Will it recognize it like a SCSI? eg.c0t0d0 or like ide ? eg.c0d0
thank u. (11 Replies)
Hi all,
Currently i am involved in developing a device driver for a custom hardware.
My linux stack already has the sysfs directory structure
/sys/class/hwmon/
My need is that, while loading my device driver i need to create a "xyz" sysfs directory inside hwmon sysfs directory as... (0 Replies)
We currently have a Solaris box connected to a Clariion storage system that is utilising DMP for path failover. I would prefer to use EMC's Powerpath and was wondering if the two can coexist?
Basically, I am struggling to find any documentation on the subject and was wonder if anyone can give me... (2 Replies)