Svein Skogen
2010-Mar-16 18:15 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
Things used to be simple. "zfs create -V xxg -o shareiscsi=on pool/iSCSI/mynewvolume" It worked. Now we''ve got a new, feature-rich baby in town, called comstar, and so far all attempts at groking the excuse of a manpage has simply left me with a nasty headache. _WHERE_ is the replacement one-line command that let me create a new iscsi-shared volume (I could then mount on my VMWare ESXi box)? //Svein -- This message posted from opensolaris.org
Cindy Swearingen
2010-Mar-16 18:40 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
Hi Svein, Here''s a couple of pointers: http://wikis.sun.com/display/OpenSolarisInfo/comstar+Administration http://blogs.sun.com/observatory/entry/iscsi_san Thanks, Cindy On 03/16/10 12:15, Svein Skogen wrote:> Things used to be simple. > > "zfs create -V xxg -o shareiscsi=on pool/iSCSI/mynewvolume" > > It worked. > > Now we''ve got a new, feature-rich baby in town, called comstar, and so far all attempts at groking the excuse of a manpage has simply left me with a nasty headache. > > _WHERE_ is the replacement one-line command that let me create a new iscsi-shared volume (I could then mount on my VMWare ESXi box)? > > //Svein
Scott Meilicke
2010-Mar-16 18:42 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
This is what I used: http://wikis.sun.com/display/OpenSolarisInfo200906/How+to+Configure+iSCSI+Target+Ports I distilled that to: disable the old, enable the new (comstar) * sudo svcadm disable iscsitgt * sudo svcadm enable stmf Then four steps (using my zfs/zpool info - substitute for yours): * sudo zfs create -s -V 5t data01/san/gallardo/g (the -s makes it thin, -V specifies a block volume) * sbdadm create-lu /dev/zvol/rdsk/data01/san/gallardo/g * sudo itadm create-target * sudo stmfadm add-view 600144F0E247850000004A80910A0001 This should allow any initiator to connect to your volume, no security. Not quite a one liner. After you create the target once (step 3), you do not have to do that again for the next volume. So three lines. -Scott -- This message posted from opensolaris.org
Brandon High
2010-Mar-16 18:45 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
On Tue, Mar 16, 2010 at 6:40 PM, Cindy Swearingen <Cindy.Swearingen at sun.com> wrote:> Here''s a couple of pointers: > > http://wikis.sun.com/display/OpenSolarisInfo/comstar+Administration > > http://blogs.sun.com/observatory/entry/iscsi_sanI found this useful too: http://www.cuddletech.com/blog/pivot/entry.php?id=968 Basically a google search for "comstar iscsi" returns lots of useful info. -B -- Brandon High : bhigh at freaks.com
Svein Skogen
2010-Mar-16 18:46 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16.03.2010 19:42, Scott Meilicke wrote:> This is what I used: > http://wikis.sun.com/display/OpenSolarisInfo200906/How+to+Configure+iSCSI+Target+Ports > > I distilled that to: > > disable the old, enable the new (comstar) > > * sudo svcadm disable iscsitgt > * sudo svcadm enable stmf > > Then four steps (using my zfs/zpool info - substitute for yours): > > * sudo zfs create -s -V 5t data01/san/gallardo/g (the -s makes it thin, -V specifies a block volume) > * sbdadm create-lu /dev/zvol/rdsk/data01/san/gallardo/g > * sudo itadm create-target > * sudo stmfadm add-view 600144F0E247850000004A80910A0001 > > This should allow any initiator to connect to your volume, no security. > > Not quite a one liner. After you create the target once (step 3), you do not have to do that again for the next volume. So three lines.So ... no way around messing with guid numbers? That''s what I was afraid of. Well, comstar may have a lot of features, but the one major feature the legacy target had (it was simple to use for non-paid-by-the-hour san admins) is gone. Thanks a lot. ;) //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein at d80.iso100.no \ / |Solberg ?stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein at jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein at stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail at stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein at jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile at stillbilde.net This mailbox goes directly to my cellphone and is checked even when I''m not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuf0fUACgkQSBMQn1jNM7atHQCg7OEtdxlXG/jfaR865g5nq8w3 UfsAoJDuVcLgyTwq++hujCh5S0Vb+lWp =1JHV -----END PGP SIGNATURE-----
Marc Nicholas
2010-Mar-16 18:57 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
On Tue, Mar 16, 2010 at 2:46 PM, Svein Skogen <svein at stillbilde.net> wrote:> > > Not quite a one liner. After you create the target once (step 3), you do > not have to do that again for the next volume. So three lines. > > > So ... no way around messing with guid numbers? > >I''ll write you a Perl script :) -marc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100316/1e7f0156/attachment.html>
Svein Skogen
2010-Mar-16 19:16 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16.03.2010 19:57, Marc Nicholas wrote:> > > On Tue, Mar 16, 2010 at 2:46 PM, Svein Skogen <svein at stillbilde.net > <mailto:svein at stillbilde.net>> wrote: > > > > Not quite a one liner. After you create the target once (step 3), > you do not have to do that again for the next volume. So three lines. > > > So ... no way around messing with guid numbers? > > > I''ll write you a Perl script :) >I think there are ... several people that''d like a script that gave us back some of the ease of the old shareiscsi one-off, instead of having to spend time on copy-and-pasting GUIDs they have ... no real use for. ;) //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein at d80.iso100.no \ / |Solberg ?stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein at jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein at stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail at stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein at jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile at stillbilde.net This mailbox goes directly to my cellphone and is checked even when I''m not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuf2Q0ACgkQSBMQn1jNM7arOgCgnSIiTZOLhM6jRrh+l2gl1zcn CrYAoIYIgEPh82tD9gaEixlDQ4SigXUc =ppBc -----END PGP SIGNATURE-----
Marc Nicholas
2010-Mar-16 20:00 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
On Tue, Mar 16, 2010 at 3:16 PM, Svein Skogen <svein at stillbilde.net> wrote:> > > I''ll write you a Perl script :) > > > > I think there are ... several people that''d like a script that gave us > back some of the ease of the old shareiscsi one-off, instead of having > to spend time on copy-and-pasting GUIDs they have ... no real use for. ;) > >I''ll try and knock something up in the next few days, then! -marc -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100316/398efad7/attachment.html>
erik.ableson
2010-Mar-16 21:31 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
On 16 mars 2010, at 21:00, Marc Nicholas wrote:> On Tue, Mar 16, 2010 at 3:16 PM, Svein Skogen <svein at stillbilde.net> wrote: > > > I''ll write you a Perl script :) > > I think there are ... several people that''d like a script that gave us > back some of the ease of the old shareiscsi one-off, instead of having > to spend time on copy-and-pasting GUIDs they have ... no real use for. ;) > > > I''ll try and knock something up in the next few days, then!Try this : http://www.infrageeks.com/groups/infrageeks/wiki/56503/zvol2iscsi.html Cheers, Erik -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100316/a3fc0454/attachment.html>
Svein Skogen
2010-Mar-16 23:25 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16.03.2010 22:31, erik.ableson wrote:> > On 16 mars 2010, at 21:00, Marc Nicholas wrote: >> On Tue, Mar 16, 2010 at 3:16 PM, Svein Skogen <svein at stillbilde.net >> <mailto:svein at stillbilde.net>> wrote: >> >> >> > I''ll write you a Perl script :) >> >> I think there are ... several people that''d like a script that gave us >> back some of the ease of the old shareiscsi one-off, instead of having >> to spend time on copy-and-pasting GUIDs they have ... no real use >> for. ;) >> >> >> I''ll try and knock something up in the next few days, then! > > Try this : > > http://www.infrageeks.com/groups/infrageeks/wiki/56503/zvol2iscsi.html >Thank you! :) Mind if I (after some sleep) look at extending your script a little? Of course with feedback of the changes I make? //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein at d80.iso100.no \ / |Solberg ?stli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein at jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein at stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail at stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein at jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile at stillbilde.net This mailbox goes directly to my cellphone and is checked even when I''m not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkugE3wACgkQSBMQn1jNM7YtcwCdFHWdZ2nGSMCsiSEbf9jh+YLT S8YAoOErsJWEkUYSKFiJ/tINxU0gLWHn =OAds -----END PGP SIGNATURE-----
Erik Ableson
2010-Mar-17 06:30 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
Certainly! I just whipped that up since I was testing out a pile of clients with different volumes and got tired of going through all the steps so anything to make it more complete would be useful. Cordialement, Erik Ableson +33.6.80.83.58.28 Envoy? depuis mon iPhone On 17 mars 2010, at 00:25, Svein Skogen <svein at stillbilde.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 16.03.2010 22:31, erik.ableson wrote: >> >> On 16 mars 2010, at 21:00, Marc Nicholas wrote: >>> On Tue, Mar 16, 2010 at 3:16 PM, Svein Skogen <svein at stillbilde.net >>> <mailto:svein at stillbilde.net>> wrote: >>> >>> >>>> I''ll write you a Perl script :) >>> >>> I think there are ... several people that''d like a script that >>> gave us >>> back some of the ease of the old shareiscsi one-off, instead of >>> having >>> to spend time on copy-and-pasting GUIDs they have ... no real use >>> for. ;) >>> >>> >>> I''ll try and knock something up in the next few days, then! >> >> Try this : >> >> http://www.infrageeks.com/groups/infrageeks/wiki/56503/ >> zvol2iscsi.html >> > > Thank you! :) > > Mind if I (after some sleep) look at extending your script a little? > Of > course with feedback of the changes I make? > > //Svein > > - -- > - --------+-------------------+------------------------------- > /"\ |Svein Skogen | svein at d80.iso100.no > \ / |Solberg ?stli 9 | PGP Key: 0xE5E76831 > X |2020 Skedsmokorset | svein at jernhuset.no > / \ |Norway | PGP Key: 0xCE96CE13 > | | svein at stillbilde.net > ascii | | PGP Key: 0x58CD33B6 > ribbon |System Admin | svein-listmail at stillbilde.net > Campaign|stillbilde.net | PGP Key: 0x22D494A4 > +-------------------+------------------------------- > |msn messenger: | Mobile Phone: +47 907 03 575 > |svein at jernhuset.no | RIPE handle: SS16503-RIPE > - --------+-------------------+------------------------------- > If you really are in a hurry, mail me at > svein-mobile at stillbilde.net > This mailbox goes directly to my cellphone and is checked > even when I''m not in front of my computer. > - ------------------------------------------------------------ > Picture Gallery: > https://gallery.stillbilde.net/v/svein/ > - ------------------------------------------------------------ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.12 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkugE3wACgkQSBMQn1jNM7YtcwCdFHWdZ2nGSMCsiSEbf9jh+YLT > S8YAoOErsJWEkUYSKFiJ/tINxU0gLWHn > =OAds > -----END PGP SIGNATURE-----
Ross Walker
2010-Mar-17 13:21 UTC
[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?
On Mar 17, 2010, at 2:30 AM, Erik Ableson <eableson at mac.com> wrote:> > On 17 mars 2010, at 00:25, Svein Skogen <svein at stillbilde.net> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 16.03.2010 22:31, erik.ableson wrote: >>> >>> On 16 mars 2010, at 21:00, Marc Nicholas wrote: >>>> On Tue, Mar 16, 2010 at 3:16 PM, Svein Skogen <svein at stillbilde.net >>>> <mailto:svein at stillbilde.net>> wrote: >>>> >>>> >>>>> I''ll write you a Perl script :) >>>> >>>> I think there are ... several people that''d like a script that >>>> gave us >>>> back some of the ease of the old shareiscsi one-off, instead of >>>> having >>>> to spend time on copy-and-pasting GUIDs they have ... no real use >>>> for. ;) >>>> >>>> >>>> I''ll try and knock something up in the next few days, then! >>> >>> Try this : >>> >>> http://www.infrageeks.com/groups/infrageeks/wiki/56503/zvol2iscsi.html >>> >> >> Thank you! :) >> >> Mind if I (after some sleep) look at extending your script a >> little? Of >> course with feedback of the changes I make? >> >> //Svein >> > Certainly! I just whipped that up since I was testing out a pile of > clients with different volumes and got tired of going through all > the steps so anything to make it more complete would be useful.How about a perl script that emulates the functionality of iscsitadm so share=iscsi works as expected? -Ross