Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-17 Thread Ross Walker





On Mar 17, 2010, at 2:30 AM, Erik Ableson  wrote:



On 17 mars 2010, at 00:25, Svein Skogen  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 mailto:sv...@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

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


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Erik Ableson
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  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 mailto:sv...@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   | sv...@d80.iso100.no
 \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
  X|2020 Skedsmokorset | sv...@jernhuset.no
 / \   |Norway | PGP Key:  0xCE96CE13
   |   | sv...@stillbilde.net
ascii  |   | PGP Key:  0x58CD33B6
ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
   +---+---
   |msn messenger: | Mobile Phone: +47 907 03 575
   |sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
If you really are in a hurry, mail me at
  svein-mob...@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-

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


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Svein Skogen
-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 > > 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   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
 If you really are in a hurry, mail me at
   svein-mob...@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-
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread erik.ableson

On 16 mars 2010, at 21:00, Marc Nicholas wrote:
> On Tue, Mar 16, 2010 at 3:16 PM, Svein Skogen  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

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


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Marc Nicholas
On Tue, Mar 16, 2010 at 3:16 PM, Svein Skogen  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
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Svein Skogen
-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  > 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   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
 If you really are in a hurry, mail me at
   svein-mob...@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-
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Marc Nicholas
On Tue, Mar 16, 2010 at 2:46 PM, Svein Skogen  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
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Svein Skogen
-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 600144F0E24785004A80910A0001
> 
> 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   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
- +---+---
 If you really are in a hurry, mail me at
   svein-mob...@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-
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Brandon High
On Tue, Mar 16, 2010 at 6:40 PM, Cindy Swearingen
 wrote:
> Here's a couple of pointers:
>
> http://wikis.sun.com/display/OpenSolarisInfo/comstar+Administration
>
> http://blogs.sun.com/observatory/entry/iscsi_san

I 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 : bh...@freaks.com
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Scott Meilicke
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 600144F0E24785004A80910A0001

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
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Cindy Swearingen

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

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


[zfs-discuss] Can we get some documentation on iSCSI sharing after comstar took over?

2010-03-16 Thread Svein Skogen
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
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss