About sessions?

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
jm5423
Posts: 10
Joined: Fri Nov 04, 2005 4:47 pm

Fri Nov 04, 2005 5:11 pm

First,I'M Very Happy To Use StarWind,It's A Very Good Soft.
I'm A Chinese User!
I see This In Conf File.
#
# SPTI-specific device parameters (optional)
# -timeout:nnn - SCSI command execution timeout (in seconds). Default is 108000 (30 hours).
# -share:"<rw|r>" - to allow multiple initiators to access the device (shared mode)
# -sessions:nnn - set maximum number of initiators allowed to mount the device in shared mode
# -readonly:<no|yes> - to export hard drives in readonly mode
#

So
I write
{
add "\\.\PhysicalDrive0" "Test" -sessions:"20" -readonly:"yes"
}
But It Seems That Tt's No Function.
There's Only One Initiator Can Connect And Worked!
Any Other Initiators Get A Error Information!
Tim
Posts: 93
Joined: Mon Jul 18, 2005 7:27 pm

Fri Nov 04, 2005 10:26 pm

Try this:

Code: Select all

add "\\.\PhysicalDrive0" "Test" -share:"r" -sessions:"20" -readonly:"yes" 
Also, you could be restricted by your license type.
You may only be allowed 1 client to connect to StarWind.
Val (staff)
Posts: 496
Joined: Tue Jun 29, 2004 8:38 pm

Fri Nov 04, 2005 10:56 pm

Hi,

You need use anadditional parameter: -share:"r" to allow several initiators to open the device simultaneously.
Best regards,
Valeriy
Val (staff)
Posts: 496
Joined: Tue Jun 29, 2004 8:38 pm

Fri Nov 04, 2005 11:03 pm

Tim,

Thank you for the detailed answer!
I was too slow answering the question. ;)
Tim wrote:Try this:

Code: Select all

add "\\.\PhysicalDrive0" "Test" -share:"r" -sessions:"20" -readonly:"yes" 
Also, you could be restricted by your license type.
You may only be allowed 1 client to connect to StarWind.
Best regards,
Valeriy
jm5423
Posts: 10
Joined: Fri Nov 04, 2005 4:47 pm

Sat Nov 05, 2005 3:18 pm

Thank You Two Answers My Question.
I Will Try Agian!
Thank You Two,Thank You Two Very Much!!!
jm5423
Posts: 10
Joined: Fri Nov 04, 2005 4:47 pm

Sat Nov 05, 2005 3:25 pm

# -share:"<rw|r>" - to allow multiple initiators to access the device (shared mode)

Can You Tell "R" and the "RW" difference?
"R"="Read"?
"RW"="Read And Write"?
But If "R"="Read"?"RW"="Read And Write"?
Then “readonly:"yes"” Not Have Been Unnecessary???
So I Have a little puzzled ~ hope could explain me !!!
jm5423
Posts: 10
Joined: Fri Nov 04, 2005 4:47 pm

Sat Nov 05, 2005 5:19 pm

Maybe I Can Do Chinese Language Chartering For You!
Val (staff)
Posts: 496
Joined: Tue Jun 29, 2004 8:38 pm

Mon Nov 07, 2005 12:46 am

Hi,

'-readonly:yes' - sets that the hard drive in Readonly-mode
'-share:r' - allows sharing the disk between several initiators in readonly mode

'-share:rw' - allows sharing the disk in R/W mode, but this should be used only if the disk is a SCSI one and a SAN filesystem or a Clustering environment is used to access the disk.
Best regards,
Valeriy
jm5423
Posts: 10
Joined: Fri Nov 04, 2005 4:47 pm

Mon Nov 07, 2005 2:34 am

OK I See~
Thank You!
Maybe I Can Do Chinese Language Interface For You!
art (staff)
Site Admin
Posts: 15
Joined: Tue Jan 13, 2004 12:14 pm

Mon Nov 07, 2005 11:13 am

jm5423 wrote:OK I See~
Thank You!
Maybe I Can Do Chinese Language Interface For You!
Thank you for your kind proposal. Unfortunately I do not see a way for us to keep such a translation up-to-date and always in sync with the current version of the product. We, however, will discuss if we can maintain custom, non oficially supported by RDS, resources downloads for our customers and will get back to you if weill decide to process with it. Thank you!

Artem
Post Reply