I'd like to get a little more information regarding your trouble with
format on Windows. You state that Windows can see the volume, but not
format it. Are you able to attempt to format the drive, but the
format command fails? Or is it a case of format not willing to run on
the drive? Previously in my testing I never did the long format since
the underlying drive is already formated and just needs the Windows
label. It turns out the during the long format Windows uses the
optional SCSI command VERIFY. I didn't support that previously and
have now added the code (the latest OpenSolaris nightly builds would
have it). If it a case of not being able to run format could you give
me some more information about what version of Windows you're running
and that platform?
Do to the partition tables on SPARC the iSCSI target can't support
raw mode. A user level application is unable to access all of the
blocks on the device through the standard system calls. For raw mode
emulation all commands except for READ/WRITE use the pass through
ioctl (uscsi) in the sd driver. That means commands like
READ_CAPACITY return the actual value returned by the device. READ
and WRITE commands are sent through the asynchronous calls (aioread/
aiowrite) to avoid the synchronous nature of uscsi which will kill
performance. These aio calls however are limited to what is
accessible by the partition table on SPARC. So, I added code to catch
this condition and fail the create. I could, and maybe should have,
added code that looked if it was running on SPARC and printed a
message when someone attempted to use the raw mode.
On Sep 18, 2006, at 3:37 AM, Pascal Guy wrote:
Hi all.
I try to use my sparc server on iscsi server
When I publish a standard target type iscsitadm run well, but I
can't access to windows. (windows see the volume but cann"t know
how to format).
Also I try to publish a raw target, but I have always a on the bad
capacity :
[i]bash-3.00# iscsitadm create target --type raw --backing-store /
dev/sd10a test[/i]
[u]iscsitadm: Error Partition size doesn't match capacity of
device, use p0 or ctd name[/u]
I try with /dev/dsk or /dev/rdsk. My device is on /dev/c0d10t0; I
create just 1 partition with format command that use all the disk.
Someone try raw type on iscsitadm ?
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss
----
Rick McNeal
A good friend will come and bail you out of jail ... but, a true
friend will be sitting next to you saying, "Damn ... that was fun!"
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss