Re: can we use disk device for iscsi-target port?

2007-05-31 Thread Patrick Dung
My testing env is Vmware, the backend disks are new/empty. Here's my testing result: 1. OpenBSD 4.1 with iscsi-target compiled (I can't find it in the ports) It support disk slice directly, I use /dev/sd1c. 2. NetBSD 4.0-current with iscsi-target in base OS It support disk slice directly, I use /

Re: can we use disk device for iscsi-target port?

2007-05-30 Thread Mark Foster
Patrick Dung wrote: > It would be great if disk device can be used directly. > > BTW, I have not yet test netbsd with raw disk. > seems someone test on openbsd and it seems working: > http://www.freebsdforums.org/forums/showthread.php?t=43960 > Whole disk or slice? I don't think either works at

can we use disk device for iscsi-target port?

2007-05-30 Thread Patrick Dung
Hi This port is from netbsd. I have test it, It is great. I found it seems iscsi-target has to take a file instead of disk devicek (eg. /dev/da1) as the target. Below is my test result: Starting iscsi_target. Reading configuration from `/usr/local/etc/iscsi/targets' target0:rw:0.0.0.0/0 e