Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Using diskpart to assign drive letter

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 17-01-2008
Frank Pietersen
 
Posts: n/a
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/ =-


Reply With Quote
  #2  
Old 17-01-2008
Pegasus \(MVP\)
 
Posts: n/a
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/ =-
>



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Using diskpart to assign drive letter"
Thread Thread Starter Forum Replies Last Post
Start Explorer in Drive View and hide drive letter in Windows 7 Alexis25 Windows Software 3 08-05-2009 01:41 PM
How to change, remove, assign a drive letter in Windows XP SpearMan Customize Desktop 2 24-02-2009 08:03 PM
Assign a drive letter to any folder in Vista! Erskine Tips & Tweaks 1 29-11-2008 02:19 PM
How to assign drive letter to PDA Fryderyk Portable Devices 4 24-10-2008 01:37 PM
GPT Protective Partition - cannot assign drive letter or access it Z Man Windows Server Help 3 31-01-2006 07:19 AM


All times are GMT +5.5. The time now is 05:25 PM.