Re: [zfs-discuss] zpool export / import discrepancy

2010-06-15 Thread Frank Contrepois
http://blogs.sun.com/constantin/entry/csi_munich_how_to_save

2010/6/15 Scott Squires 

> Hello All,
>
> I've migrated a JBOD of 16 drives from one server to another.  I did a
> zpool export from the old system and a zpool import to the new system.  One
> thing I did notice is since the drives are on a different controller card,
> the naming is different (as expected) but the order is also different.  I
> setup the drives as passthrough on the controller card and went through each
> drive incrementally.  I assumed the zpool import would have listed the
> drives in the order of c10t2d0, d1, d2, ... c10t3d7.  As shown below the
> order the drives were imported is c10t2d0, d2, d3, d1, c10t3d0 through d7.
>
> __
> |Original zpool setup on old server:
> |
> |zpool status backup
> |  pool: backup
> | state: ONLINE
> |config:
> |NAME STATE READ WRITE CKSUM
> |backup   ONLINE   0 0 0
> |  raidz2 ONLINE   0 0 0
> |c7t1d0   ONLINE   0 0 0
> |c7t2d0   ONLINE   0 0 0
> |c7t3d0   ONLINE   0 0 0
> |c7t4d0   ONLINE   0 0 0
> |c7t5d0   ONLINE   0 0 0
> |c7t6d0   ONLINE   0 0 0
> |c7t7d0   ONLINE   0 0 0
> |c7t8d0   ONLINE   0 0 0
> |c7t9d0   ONLINE   0 0 0
> |c7t10d0  ONLINE   0 0 0
> |c7t11d0  ONLINE   0 0 0
> |c7t12d0  ONLINE   0 0 0
> |c7t13d0  ONLINE   0 0 0
> |c7t14d0  ONLINE   0 0 0
> |c7t15d0  ONLINE   0 0 0
> |spares
> |  c7t16d0AVAIL
> |_
>
> __
> |Imported zpool on new server:
> |
> |zpool status backup
> |  pool: backup
> | state: ONLINE
> |config:
> |NAME STATE READ WRITE CKSUM
> |backup   ONLINE   0 0 0
> |  raidz2 ONLINE   0 0 0
> |c10t2d0  ONLINE   0 0 0
> |c10t2d2  ONLINE   0 0 0
> |c10t2d3  ONLINE   0 0 0
> |c10t2d1  ONLINE   0 0 0
> |c10t2d4  ONLINE   0 0 0
> |c10t2d5  ONLINE   0 0 0
> |c10t2d6  ONLINE   0 0 0
> |c10t2d7  ONLINE   0 0 0
> |c10t3d0  ONLINE   0 0 0
> |c10t3d1  ONLINE   0 0 0
> |c10t3d2  ONLINE   0 0 0
> |c10t3d3  ONLINE   0 0 0
> |c10t3d4  ONLINE   0 0 0
> |c10t3d5  ONLINE   0 0 0
> |c10t3d6  ONLINE   0 0 0
> |spares
> |  c10t3d7AVAIL
> |_
>
>
> Is ZFS dependent on the order of the drives?  Will this cause any issue
> down the road?  Thank you all;
>
> Scott
> --
> This message posted from opensolaris.org
> ___
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>



-- 
Frank Contrepois
Coblan srl
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zpool export / import discrepancy

2010-06-15 Thread Giovanni Tirloni
On Tue, Jun 15, 2010 at 1:56 PM, Scott Squires  wrote:
> Is ZFS dependent on the order of the drives?  Will this cause any issue down 
> the road?  Thank you all;

No. In your case the logical names changed but ZFS managed to order
the disks correctly as they were before.

-- 
Giovanni
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] zpool export / import discrepancy

2010-06-15 Thread Freddie Cash
On Tue, Jun 15, 2010 at 9:56 AM, Scott Squires  wrote:

> Is ZFS dependent on the order of the drives?  Will this cause any issue
> down the road?  Thank you all;
>

>From what I can see so far, ZFS doesn't care about the order of the drives
as listed in zpool output.  Just that the drives are accessible.

I originally configured a server using 3x raidz2 vdevs of 8 drives each
spread across 2 12-port controllers, with 4 drives from each vdev on 1
controller, and the other 4 drives from each vdev on the other controller.

I've since moved the drives around so that all 8 drives of the first vdev
are on the first controller, all 8 drives of the third vdev are on the
second controller, with the second vdev being split across both controllers.

Everything is still running smoothly.

-- 
Freddie Cash
fjwc...@gmail.com
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss