On 7/28/06, Jeff Bonwick <[EMAIL PROTECTED]> wrote:
> I have a SAS array with a zfs pool on it.  zfs automatically searches for
> and mounts the zfs pool I've created there.  I want to attach another
> host to this array, but it doesn't have any provision for zones or the
> like.  (Like you would find in an FC array or in the switch infrastructure.)
>
> Will host-b not automatically mount filesystems on pools created on host-a,
> and vice versa, or is this going to be a problem.  Ideally, I could create
> a single pool and mount some filesystems on host-a, and some on host-b, but
> barring that even just being able to have 2 pools and each can be mounted
> on one of the hosts would be great.
>
> If one host failed I want to be able to do a manual mount on the other host.

Multiple hosts writing to the same pool won't work, but you could indeed
have two pools, one for each host, in a dual active-passive arrangement.
That is, you dual-attach the storage with host A talking to pool A and
host B talking to pool B.  If host A fails, it can 'zpool import -f B'
to start serving up the B data.  HA-ZFS (part of SunCluster 3.2) will
automate this, but for now you can roll your own along these lines.

Hi

okay just wondering but can you define "won't work" will ZFS spot
someone else writing to the disks and refuse to do any work? will it
spill its guts all over the dumpdevice? or just fight each other
correcting each others changes?

James Dickens
uadmin.blogspot.com


Jeff

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

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

Reply via email to