Results 1 to 2 of 2

Thread: Using diskpart to assign drive letter

  1. #1
    Frank Pietersen Guest

    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/ =-


  2. #2
    Pegasus \(MVP\) Guest

    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/ =-
    >




Similar Threads

  1. Replies: 3
    Last Post: 08-05-2009, 01:41 PM
  2. How to change, remove, assign a drive letter in Windows XP
    By SpearMan in forum Customize Desktop
    Replies: 2
    Last Post: 24-02-2009, 08:03 PM
  3. Assign a drive letter to any folder in Vista!
    By Erskine in forum Tips & Tweaks
    Replies: 1
    Last Post: 29-11-2008, 02:19 PM
  4. How to assign drive letter to PDA
    By Fryderyk in forum Portable Devices
    Replies: 4
    Last Post: 24-10-2008, 01:37 PM
  5. Replies: 3
    Last Post: 31-01-2006, 07:19 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,728,098,667.07078 seconds with 17 queries