Richard Elling wrote:
Danger Will Robinson...
Jeff Victor wrote:
Jeff Bonwick wrote:
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.
Cool. Does this method require assigning each disk to one pool or the
other, or can disks be divided into partitions before pool assignment?
The problem with slicing disks and sharing the slices is that you are
more prone to fatal operational mistakes. For storage where isolation
is enforced, SCSI reservations are often used. SCSI reservations work
on a per-LUN basis, not a per-slice basis because SCSI has no concept
of slices (or partitions). A safer approach is to work only at a per-LUN
level for sharing disks.
-- richard
Now that I've gone and read the zpool man page :-[ it seems that only whole
disks can be exported/imported.
--
--------------------------------------------------------------------------
Jeff VICTOR Sun Microsystems jeff.victor @ sun.com
OS Ambassador Sr. Technical Specialist
Solaris 10 Zones FAQ: http://www.opensolaris.org/os/community/zones/faq
--------------------------------------------------------------------------
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss