Feed on
Posts
Comments

Cheap iSCSI Target Built

I’ve taken an old Dell machine and made an iSCSI storage target from it. I added a firewire card so I could easily add drives. It’s using Ubuntu Linux 6.10 and the iSCSI Enterprise Target iSCSI target implementation. Instructions from the Ubuntu forum were good, I needed to add “sudo” in front of some of the commands since I wasn’t root. In particular “make install” almost always must be done are root, and I didn’t try to do this as a regular user. I didn’t need to install “dapper” and I’m not sure what that is, nor could I find it. I’m not a Ubuntu expert.

I got one strange looking error starting and manipulating the service, “Starting iSCSI enterprise target service: [: 142: ==: unexpected operator”. I changed the shebang on “/etc/init.d/scsi-target” from #!/bin/sh to #!/bin/bash and cleared that up I think.

In order to get the storage to work with VMware I needed to create a VMkernel network connection.

The whole thing isn’t going to beat any speed records, but I’ve got VMware iSCSI storage now.

Technorati , ,

2 Responses to “Cheap iSCSI Target Built”

  1. […] In Cheap iSCSI Target Built, I wrote that I didn’t know what Dapper was and didn’t install it. I’m probably the last person on earth to realize it, but Dapper is apparently a version of Ubuntu. I installed on the just released Ubuntu Edgey Eft, and it works quite nicely. edgyeft, iSCSI, ubuntu […]

  2. […] Ignore everything after “0.” and “1.” on “AVAILABLE DISK SELECTIONS”. Those are iSCSI targets being picked up by the iSCSI initiator autodiscovery. The innocuous “Bad read of fdisk partition” is also related to this: format is picking up an iSCSI disk that my VMware instance has mounted, or I have a goobered up partition on one of the iSCSI luns. We don’t care. […]

Trackback URI | Comments RSS

Leave a Reply