Using diskpart to assign drive letter
Hi there,
The following situation:
With the iscsi initiator I will connect a drive on a SAN to my server.
Next I would like to connect a drive letter to that volume.
With iscsicli sessionlist I can find the disk number.
Then i use the following script to find the volume number with diskpart
select disk x (number of disk found with iscsicli sessionlist) detail disk (to find the volumenumber)
After that I would like to assign a driveletter to the disk with the following script:
select disk x
select volume x (found with the previous script) assign letter=G
But as you probably know (see: http://support.microsoft.com/kb/937252)
the volumenumbers will change when you start new instance of diskpart.
Has anyone any idee how to solve this problem?
Thanks in advance,
Frank
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
Re: Using diskpart to assign drive letter
Best not to use multi-posting - see here:
http://www.blakjak.demon.co.uk/mul_crss.htm
"Frank Pietersen" <spam@wereldbolletje.nl> wrote in message
news:d0a5f$478f4071$d594efba$5232@news.concepts.nl...
> Hi there,
>
> The following situation:
>
> With the iscsi initiator I will connect a drive on a SAN to my server.
> Next I would like to connect a drive letter to that volume.
>
> With iscsicli sessionlist I can find the disk number.
> Then i use the following script to find the volume number with diskpart
>
> select disk x (number of disk found with iscsicli sessionlist) detail disk
> (to find the volumenumber)
>
> After that I would like to assign a driveletter to the disk with the
> following script:
>
> select disk x
> select volume x (found with the previous script) assign letter=G
>
> But as you probably know (see: http://support.microsoft.com/kb/937252)
> the volumenumbers will change when you start new instance of diskpart.
>
> Has anyone any idee how to solve this problem?
>
> Thanks in advance,
>
> Frank
>
>
> --------------= Posted using GrabIt =----------------
> ------= Binary Usenet downloading made easy =---------
> -= Get GrabIt for free from http://www.shemes.com/ =-
>