Re: can we use disk device for iscsi-target port?
- From: Patrick Dung <patrick_dkt@xxxxxxxxxxxx>
- Date: Thu, 31 May 2007 00:37:33 -0700 (PDT)
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 /dev/sd1d.
3. FreeBSD 6.2 with iscsi-target port:
When the new harddisk is added. It is empty and do not have any
individual slice (only have /dev/da1).
iscsi-target cannot use /dev/da1 directly (tested yesterday)
/dev/da1c is gone in FreeBSD (since 5.0)....
I have tried to create a disk slice by fdisk (/dev/da1s1 and
/dev/da1s1c is created).
But iscsi-target cannot use them directly:
Reading configuration from `./targets'
target0:rw:0.0.0.0/0
extent0:/dev/da1s1:0:629145600
DISK: 1 logical units (1228800 blocks, 512 bytes/block), type iscsi fs
DISK: LU 0: pid 1916:disk.c:778: ***ERROR*** error reading "target0"pid
1916:disk.c:895: ***ERROR*** error allocating space for "target0"pid
1916:target.c:1487: ***ERROR*** device_init() failed
pid 1916:iscsi-target.c:150: ***ERROR*** target_init() failed
Reading configuration from `./targets'
target0:rw:0.0.0.0/0
extent0:/dev/da1s1c:0:629145600
DISK: 1 logical units (1228800 blocks, 512 bytes/block), type iscsi fs
DISK: LU 0: pid 1919:disk.c:778: ***ERROR*** error reading "target0"pid
1919:disk.c:895: ***ERROR*** error allocating space for "target0"pid
1919:target.c:1487: ***ERROR*** device_init() failed
pid 1919:iscsi-target.c:150: ***ERROR*** target_init() failed
Patrick
--- Mark Foster <mark@xxxxxxxxx> wrote:
Patrick Dung wrote:
It would be great if disk device can be used directly.Whole disk or slice? I don't think either works at this point but
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
can't
say I've tried. Can you please test an individual slice and report
your
findings?
--
Said one park ranger, 'There is considerable overlap between the
intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP <mark@xxxxxxxxx> http://mark.foster.cc/
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- 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: boot0 vs XP
- Next by Date: Re: direct I/O access
- Previous by thread: Re: can we use disk device for iscsi-target port?
- Next by thread: boot0 vs XP
- Index(es):
Relevant Pages
- can we use disk device for iscsi-target port?
... I found it seems iscsi-target has to take a file instead of disk ... devicek
as the target. ... DISK: 1 logical units, type iscsi fs ... I have not yet test
netbsd with raw disk. ... (freebsd-hackers) - FreeBSD 6.2-STABLE crash under moderate disk activity
... FreeBSD 6.2-RELEASE and 6.2-STABLE both repeatedly crash with moderate disk activity.
... The problem occurs with two different disk drives, ... <ACPI PCI bus>
on pcib0 ... 2 ports with 2 removable, ... (freebsd-stable) - 2TB+ on ahd broken? (6.2-R)
... 29320 card, and when I export a 7TB disk to the card, and kept getting ... 7TB
or 2.3TB disk, ahd failed w/ the messages at the end of the ... <ACPI PCI bus>
on pcib0 ... 2 ports with 2 removable, ... (freebsd-current) - 2TB+ on ahd broken? (6.2-R)
... 29320 card, and when I export a 7TB disk to the card, and kept getting ... 7TB
or 2.3TB disk, ahd failed w/ the messages at the end of the ... <ACPI PCI bus>
on pcib0 ... 2 ports with 2 removable, ... (freebsd-stable) - atapicam hangs boot on 5.3 5.4pre1 5.4pre2
... On my P4 system with 'umass0' solid-state disk on the ... some digital camera
reader 'disk' slots on one of the USB ports. ... <ACPI PCI bus> on pcib0 ...
Opened disk da0 -> 6 ... (freebsd-current)