R. C. White
Guest
|
Posted:
Wed Dec 14, 2005 1:16 am Post subject:
Re: Diskpart extend or expand? |
|
|
Hi, BvdB.
Expand "Expands one or more compressed files. This command is used to
retrieve compressed files from distribution disks", as it says in the Help
and Support Center. I'm not aware of any use of expand to change size of
anything, including a hard drive or volume.
I know nothing of servers or san or lun, but I have used DiskPart /extend on
a couple of occasions. It's a very useful tool, but it's easy to make a
mistake that is not easily recoverable. (Voice of experience!) You
probably know that there are two distinct - and very different - DiskParts.
The DiskPart command in the Recovery Console is quite limited; about all it
can do is create and delete partitions.
DiskPart.exe, run from inside Windows, opens a shell within the Command
Prompt ("DOS" window). From this shell, nearly two dozen commands are
available, including /extend. Minimal help is available inside the shell
(just says use extend to "Extend a volume"). More help is available from
Windows' Start | Help and Support Center. Search for "extend". The help is
not written linearly; you'll have to follow Related topics to get the whole
story - and several limitations and caveats.
You'll need to be careful, but I think "DiskPart /extend size=75000" might
do what you want. (Note that "size" must be in MEGAbytes, not GIGAbytes.
That's the mistake I made.)
RC
--
R. C. White, CPA
San Marcos, TX
rc@grandecom.net
Microsoft Windows MVP
"BvdB" <BvdB@discussions.microsoft.com> wrote in message
news:E9C615B5-66ED-4B60-AD5B-A587B6A0ED61@microsoft.com...
| Quote: | Hi
We've a windows 2003 server with a san connection.
We enlarged a 75 Gb lun with 25 GB to 100 GB.
In Disk administrator we see the extra 25 GB as undefined space.
I want to use the diskpart tool to create the 100 Gb disk.
But what option do I need expand or extend? What is the difference?
Kind regards
BvdB |
|
|