Brad,

Thanks for prompting me to do this!  I just completed bringing up a LUN from
my Ubuntu 8.04 LTS Server machine and its currently mounted on my ESXi
server.  I cheated a little; as I don't have LVM or any extra partition
space available -- I just made a simple loopback file.

On Linux:
Installed iscsitarget ... (for anyone doing this.. there is a bug with
iscsi-target-source and Ubuntu ..  I followed a bug response to actually
compile the module:

https://bugs.launchpad.net/ubuntu/+source/iscsitarget/+bug/208281/comments/2
)
dd if=/dev/zero of=/media/hd-image1 count=2000MB
mkfs.ext3 -c /media/hd-image1  << Probably not needed.. but I wanted to
mount it locally first.

[EMAIL PROTECTED]:/etc# cat ietd.conf  | grep -v "#"

Target iqn.2008-10.corp.claramartin:cmcdata1.local.images.hd-image1
        Lun 0 Path=/media/hd-image1

Started iscsi-target....

At this point, I am running Windows 2008 on my laptop -- I connected with
the Windows 2008 iscsi initiator.  The partition showed up as uninitialized
in Computer Management, so I initialized it, and formatted it.  I cancelled
the format about 2% through, and assumed everything was going to work (I saw
a 2GB disk available).

I went to ESXi, Config tab, Storage Adapters tab:

- Enabled iScsi
- Added dynamic host by IP
"vmhba37:1:0" shows up as a disk of 2.25 GB (lun id 0)

Clicked storage, clicked add storage, and added the disk (2.00 GB, 1.72GB
available after format, its now VMFS3).

I haven't actually booted a VMWare instance off the system yet, but so far
it looks reasonably good.  I am still wondering why I just iscsi'd a 2GB
file off from a raid 5 set of 7200RPM ide drives from a dual quad zeon with
onboard 15krpm drives and a 2GB raid card.. but thats another story.


Stan

On Fri, Oct 17, 2008 at 11:16 AM, Portelance, Brad <
[EMAIL PROTECTED]> wrote:

>  Hi everyone, I'm a long time lurker to the list and would like to see if
> anyone has ever come across an issue I'm having now.
>
>
>
> I've created an iscsi SAN on a server running CENTOS 5.2 (Redhat based) and
> the iscsi-target package (ietd) which is promoted as a free, enterprise
> ready iscsi-target. On the other end VMWARE-ESX-i 3.5 with iscsi support.
>
>
>
> When I first put this together, it worked just fine. I went and tried
> OpenFiler for the iscsi SAN, but decided to go back to CENTOS.
>
>
>
> The problem is now that when I get VMWARE to attach to the iscsi-target it
> gives me an error that it can't create the file system. (Error SCSI: 4506:
> Cannot find a path to device vmhba32:0:0 in a good state. Trying path
> vmhba32:0:0).
>
>
>
> The target shows up and VMWARE even tried to write a partition (Which I've
> deleted in between tries), but fails while trying to format the disk. I can
> see the new partition on the drive.
>
>
>
> I've checked the configuration on both ends at least 20 times, googled for
> answers, and even recompiled the ietd software and just can't seem to figure
> it out. The ietd.conf file is very basic: "Lun 0 Path=/dev/sdb" (I've tried
> Type Fileio, Blockio, IOMode=wb,etc).
>
>
>
> Has anyone else ever seen this?
>
>
>
> Any thoughts would be greatly appreciated.
>
> Thanks!
>
> Brad
>

Reply via email to