can we use disk device for iscsi-target port?
- From: Patrick Dung <patrick_dkt@xxxxxxxxxxxx>
- Date: Wed, 30 May 2007 10:58:26 -0700 (PDT)
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
extent0:/dev/da1:0:10733223936
DISK: 1 logical units (20963328 blocks, 512 bytes/block), type iscsi fs
DISK: LU 0: pid 896:disk.c:778: ***ERROR*** error reading "target0"pid
896:disk.c:895: ***ERROR*** error allocating space for "target0"pid
896:target.c:1487: ***ERROR*** device_init() failed
pid 896:iscsi-target.c:150: ***ERROR*** target_init() failed
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
Thanks
Patrick
____________________________________________________________________________________Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
http://mobile.yahoo.com/go?refer=1GNXIC
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: can we use disk device for iscsi-target port?
- From: Mark Foster
- Re: can we use disk device for iscsi-target port?
- Prev by Date: Re: direct I/O access
- Next by Date: Re: Looking for speed increases in "make index" and pkg_version for ports
- Previous by thread: SoC / PMC
- Next by thread: Re: can we use disk device for iscsi-target port?
- Index(es):
Relevant Pages
- Re: FreeBSD on an old computer
... NetBSD would be a viable alternative here. ... > 120MB disk. ...
That kind of hardware can be picked up from the ... > driver for it wasn't included
on the install floppy. ... (comp.unix.bsd.freebsd.misc) - Re: NetBsd/Cobalt Qube 2
... I have installed this on a Qube 2 using the excellent Netboot disk ... geometries
correctly and you end up with a failed disk at some point. ... NetBoot CD/ISO for NetBSD
1.6.2 for the Qube. ... (comp.unix.bsd.netbsd.misc) - Re: More RAM or quicker CPU?
... > cache orders writes by LBA, but it's up to the hardware to re-order those ...
but isn't the way to get maximum throughput to the disk drive. ... hardware cache knows
about the disk geometry and ... that will run only NetBSD? ... (comp.unix.bsd.netbsd.misc) - Re: Transferral between two hard disks
... >> is installed NetBSD and another one is unused),to another hard disk.
... >> slices and then disklabel the FreeBSD slice and newfs the newly created ...
(freebsd-questions) - correct way to add new ide disk
... i'm following the netbsd documentation to add a new disk. ... me from
creating a partition. ... fdisk: DIOCGDEFLABEL: Inappropriate ioctl for device ...
(comp.unix.bsd.netbsd.misc)