Blog on sun’s site describing how to add OpenSolaris to AD.
Tag: OpenSolaris
Working with packages in OpenSolaris
Just a quick note on how to work with packages in OpenSolaris. pkg is used to manage packages.
pkg refresh
Will cause the system to refresh what packages are available.
pkg image-update
Will initiate a system upgrade.
pkg install SUNWiscsitgt
Will start an install OR upgrade of the SUNWiscsitgt package
Create a ZFS dataset and share it using iSCSI
One of the things I need to test is using iSCSI to store data on some Windows servers. Here is a quick synopsis of how to create a storage pool and then create a ZFS dataset that can be shared using iSCSI
Create the pool from the available disks, if they don’t already exist. Be sure to read docs on what kind of pool you want to create. I’m using raid-z
zpool create raid-z test /dev/dsk/c0t1d0 /dev/dsk/c0t2d0 /dev/dsk/c0t3d0 /dev/dsk/c0t4d0
Create the data set and share it using iSCSI
zfs create -s -V40G test/iscsi
zfs set shareiscsi=on test/iscsi
You should now have 40GB of iscsi based storage available. Use iscsi-initiator on Windows XP/Vista/Server 2003 to attach to the iscsi target, assign a drive letter and format.