On Dec 6, 2006, at 1:49 AM, Rutger Bevaart wrote:
Thanks for the excellent feedback. I will remove my /opt filesystem
from SVM and setup a mirroring ZFS setup... will report back on the
progress.
With ZFS, I would suggest that you use ZVOLs and not regular files.
It's fast to use the character device than mmap files, plus when you
start running build 53 or later of Solaris Express you can start
using the shareiscsi property if you wish.
So, with ZFS I would suggest the following and let's assume you
created your zpool with a name of 'data'.
zfs create -V 10g data/vol1
Now, associate that with iSCSI:
iscsitadm create target -b /dev/zvol/rdsk/data/vol1 some_name
With the iSCSI/ZFS integration work that Adam Leventhal and I
recently completed you could do the following:
zfs set shareiscsi=on data
This would enable the sharing of all ZVOLs within that pool. You can
also just enable or disable the sharing on a per ZVOL if you wish.
If you enable ZFS's sharing you must remove any references to those
volumes that you created through iscsitadm. I need to file a bug to
prevent the daemon from setting up the ZFS share when the device was
used as a backing store to another target. The opposite must be done
as well.
Anyway, let me know how it goes.
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss
----
Rick McNeal
"If ignorance is bliss, this lesson would appear to be a deliberate
attempt on your part to deprive me of happiness, the pursuit of which
is my unalienable right according to the Declaration of
Independence. I therefore assert my patriotic prerogative not to
know this material. I'll be out on the playground." -- Calvin
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss