The Guru College

iSCSI, Finally

There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can’t stick them on a network share. If you are using Time Machine… well, you can put them on an SMB share, but it’s not recommended. I’ve run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is iSCSI. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it’s been a long road – when I’ve had the time in the past, I’ve not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I’ve had the need in the past, I’ve had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions’s product page for globalSAN, their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via svcs:

``There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can’t stick them on a network share. If you are using Time Machine… well, you can put them on an SMB share, but it’s not recommended. I’ve run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is iSCSI. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it’s been a long road – when I’ve had the time in the past, I’ve not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I’ve had the need in the past, I’ve had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions’s product page for globalSAN, their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via svcs:

``

Next, install and enable the iSCSI Comstar packages, as they are missing from a default install of Solaris 11 Express:

```There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can’t stick them on a network share. If you are using Time Machine… well, you can put them on an SMB share, but it’s not recommended. I’ve run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is iSCSI. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it’s been a long road – when I’ve had the time in the past, I’ve not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I’ve had the need in the past, I’ve had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions’s product page for globalSAN, their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via svcs:

``There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can’t stick them on a network share. If you are using Time Machine… well, you can put them on an SMB share, but it’s not recommended. I’ve run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is iSCSI. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it’s been a long road – when I’ve had the time in the past, I’ve not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I’ve had the need in the past, I’ve had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions’s product page for globalSAN, their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via svcs:

``

Next, install and enable the iSCSI Comstar packages, as they are missing from a default install of Solaris 11 Express:


Finally, create your sparsely provisioned ZVOL that you intend to offer as a iSCSI target to your Mac, and then set the ZVOL up as a COMSTAR target:
  
````There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can't stick them on a network share. If you are using Time Machine… well, you _can_ put them on an SMB share, but it's not recommended. I've run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is [iSCSI][1]. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it's been a long road – when I've had the time in the past, I've not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I've had the need in the past, I've had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions's [product page for globalSAN][2], their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via `svcs`:

``There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can't stick them on a network share. If you are using Time Machine… well, you _can_ put them on an SMB share, but it's not recommended. I've run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is [iSCSI][1]. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it's been a long road – when I've had the time in the past, I've not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I've had the need in the past, I've had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions's [product page for globalSAN][2], their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via `svcs`:

`` 

Next, install and enable the iSCSI Comstar packages, as they are missing from a default install of Solaris 11 Express:
  
```There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can't stick them on a network share. If you are using Time Machine… well, you _can_ put them on an SMB share, but it's not recommended. I've run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is [iSCSI][1]. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it's been a long road – when I've had the time in the past, I've not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I've had the need in the past, I've had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions's [product page for globalSAN][2], their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via `svcs`:

``There are times that you really need to have a network volume mounted on your workstation, but mounted as a local drive. If you are mucking about with Aperture libraries, for example, you can't stick them on a network share. If you are using Time Machine… well, you _can_ put them on an SMB share, but it's not recommended. I've run into a bunch of situations in the past where I needed to do this, and the solution (as best I can tell) is [iSCSI][1]. IP encapsulated SCSI commands. “Local” drives over the network.

Sadly, it's been a long road – when I've had the time in the past, I've not had the pressing need, and I was daunted by the apparent complexity from the message boards about getting CHAP authentication working in OpenSolaris. When I've had the need in the past, I've had no time at all to work on figuring out the pieces, and my attention instead went to other fires.

The irony of it all is it takes about 20 minutes to setup, even with a moderately slow internet connection. First, go to Studio Network Solutions's [product page for globalSAN][2], their iSCSI initiator for Mac OS X, give them your email address, and they will mail you a download link. Install the package, and reboot your Mac.

Then, ssh into your Solaris 11 Express box, and enable the SCSI Target Mode Framework services via `svcs`:

`` 

Next, install and enable the iSCSI Comstar packages, as they are missing from a default install of Solaris 11 Express:
  

Finally, create your sparsely provisioned ZVOL that you intend to offer as a iSCSI target to your Mac, and then set the ZVOL up as a COMSTAR target:

````

Now, all you have to do is go into the globalSAN iSCSI System Preference pane in OSX, authenticate, and add a new portal address. Once it’s added, connect to it, and you’ll get a warning message telling you the disk you just inserted cannot be read by OSX, and will ask if you want to format it.

And that’s it. Damn.

Is Open Better? | Home | Mirror Lens