Hi Rick
Sorry for the delay.
I share a target on solaris server :
"iscsiadm create target --size 5g windows"
"iscsiadm modify target --acl mypc windows"
on my pc I install iscsi driver that I download to windows site.
With the iscsi iniator interface I use discovery to declare my iscsi
target
(just I need to parameter my firewall)
on target section I log on to my target, no problem, I identify that is
a solaris target, with the good size etc.
After I go on administration windows tool. In storage section I see my
disk, but it is not labeled with a letter by windows, and it state is
"unknow", "not initialized". I don't have a format menu.
I use Windows XP SP2.
Bye
Rick McNeal a écrit :
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!"
--
|
|
Pascal Guy
Consultant BI/DTW
Client Services
Agence du Grand Sud
Sun Microsystems - France
|
Technoparc bat 7 - rue Jean Bart Quartier
Plantaurel
31670 LABEGE
Phone: +33 5 61 39 57 06 , x35706
Cell: +33 6 71 58 41 54
mail : [EMAIL PROTECTED]
|
|
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss