|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Very sorry if this is a dup posting. I tried posting about 45 min ago and my
post hasn't shown up yet. Thought I did something wrong the first time. We have a Dell PowerEdge 2900 Server (I'll call Server1) running Server 2008 (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); both running Server 2003. Each of the servers has a C: partition and E: partition. Server2 has run out of space on the E: partition. I purchased a physical hard drive for Server1. I can probably figure out how to install that on the PowerEdge but don't know how to allocate additional space to the virtual server. Is it done thru the Hyper-V manager on Server1? Are there some tutorials out there that would be helpful, easy to understand as I am a beginner at Hyper-V. Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for backing up. Will expanding that partition affect backup jobs we have configured? I've had quite a few problems getting the Hyper-V agent to run consistently. Maybe that's not a question for this forum? Thanks much in advance! |
|
|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
"rfIPS" <rfIPS@discussions.microsoft.com> wrote in message news:06B11F98-3FEB-44CB-8A18-9E4F5EB69536@microsoft.com... > Very sorry if this is a dup posting. I tried posting about 45 min ago and > my > post hasn't shown up yet. Thought I did something wrong the first time. > > We have a Dell PowerEdge 2900 Server (I'll call Server1) running Server > 2008 > (Standard Ed., I think). Created two virtual servers (VMServer2 & > VMServer3); > both running Server 2003. Each of the servers has a C: partition and E: > partition. Server2 has run out of space on the E: partition. I purchased a > physical hard drive for Server1. I can probably figure out how to install > that on the PowerEdge but don't know how to allocate additional space to > the > virtual server. Is it done thru the Hyper-V manager on Server1? Are there > some tutorials out there that would be helpful, easy to understand as I am > a > beginner at Hyper-V. > > Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for > backing up. Will expanding that partition affect backup jobs we have > configured? I've had quite a few problems getting the Hyper-V agent to run > consistently. Maybe that's not a question for this forum? > > Thanks much in advance! What was the reason to partition the drives on the vms? Partitioning does not make much sense on a virtual disk. Why not just create two vhds? Expanding a partition in a virtual machine is really no different from expanding a partition in any other machine. You use the same tools. If there is not enough space on the physical drive, you will need to create a larger vhd on a different physical drive. |
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
|
Are you talking about expanding a VHD and the partition within the VHD? I think that's the gist I'm getting. I have a procedure I've compiled for doing that. I have only run this on 2003 machines with VS2005, but I don't think 2008/Hyper-V would be much different. The primary difference is that VS2005 had a great tool called VHDMount. Hyper-V does not come with it. 2008/Hyper-V does have the ability within DISKPART though. I haven't had an opportunity yet to try this in 2008 though. This is done entirely outside of the virtual server service, so it really shouldn't matter if it's Hyper-V or VS2005. Here it is: 1. Shutdown the virtual machine 2. Use VHDResizer (free download) to create a new VHD file with a larger size. Can also change between fixed and dynamic disks. 3. After new VHD is created, change name of original VHD file and change the new file to the original VHD filename. (delete the old file after the procedure is complete) --- A new VHD file with additional free space is created, but the partition in the VHD is still the original size. Need to extend the partition. Use diskpart on the virtual host to extend the partition, but need to get access to the VHD. (if your VM is also 2008, I think you can extend the partition within the VM's operating system using Diskpart or Disk Management; skip steps 4-6 if you do that instead for info on using Diskpart) Mount VHD from host: ---For VS2005: 4. Open a command prompt and navigate to C:\Program Files\Microsoft Virtual Server\Vhdmount\ 5. Run the command: vhdmount /m /f E:\VirtualMachines\DevSystem.vhd K 6. After that is completed, a new K drive is present in the virtual host ---For Hyper-V: 4. Run DISKPART 5. Type > sel vdisk file="E:\VirtualMachines\DevSystem.vhd" 6. Type > attach vdisk and new drive is present --- Now resize the partition 7. Run the commands: >diskpart >list disk *should see disk listed with free space >list volume *look for the volume number of the partition...for this example, we'll say it's 5 >select volume 5 >extend *using just extend will utilize all remaining free space on the disk >select volume 0 *need to select another volume before quitting diskpart or else may need to restart the server to dismount the drive (this was true in Server 2003) --- Dismount the VHD from the Host --In VS2005: 8. Exit from Diskpart 9. Run the command: vhdmount /u E:\VirtualMachines\DevSystem.vhd -The VHD should be dismounted and ready 10. Restart the virtual machine --In Hyper-V: 8. In Diskpart, type > detach vdisk 9. Exit from Diskpart 10. Restart the virtual machine I tested this on a system VHD and a secondary data VHD in VS2005 and both worked. I did not test this yet in 2008/Hyper-V, so try it on a test system first before using it on a production system. Also, I don't know regarding Backup Exec within the VM. We use Backup Exec to backup at the host-level and we don't have any problems doing that after resizing a VHD. Hope this helps, Steve K. |
|
|
|
#4 (permalink) |
|
Guest
Posts: n/a
|
A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help.
rfIPS wrote: How to Expand Partition? 05-Jan-10 Very sorry if this is a dup posting. I tried posting about 45 min ago and my post has not shown up yet. Thought I did something wrong the first time. We have a Dell PowerEdge 2900 Server (I will call Server1) running Server 2008 (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); both running Server 2003. Each of the servers has a C: partition and E: partition. Server2 has run out of space on the E: partition. I purchased a physical hard drive for Server1. I can probably figure out how to install that on the PowerEdge but do not know how to allocate additional space to the virtual server. Is it done thru the Hyper-V manager on Server1? Are there some tutorials out there that would be helpful, easy to understand as I am a beginner at Hyper-V. Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for backing up. Will expanding that partition affect backup jobs we have configured? I have had quite a few problems getting the Hyper-V agent to run consistently. Maybe that is not a question for this forum? Thanks much in advance! Previous Posts In This Thread: On Tuesday, January 05, 2010 2:02 PM rfIPS wrote: How to Expand Partition? Very sorry if this is a dup posting. I tried posting about 45 min ago and my post has not shown up yet. Thought I did something wrong the first time. We have a Dell PowerEdge 2900 Server (I will call Server1) running Server 2008 (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); both running Server 2003. Each of the servers has a C: partition and E: partition. Server2 has run out of space on the E: partition. I purchased a physical hard drive for Server1. I can probably figure out how to install that on the PowerEdge but do not know how to allocate additional space to the virtual server. Is it done thru the Hyper-V manager on Server1? Are there some tutorials out there that would be helpful, easy to understand as I am a beginner at Hyper-V. Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for backing up. Will expanding that partition affect backup jobs we have configured? I have had quite a few problems getting the Hyper-V agent to run consistently. Maybe that is not a question for this forum? Thanks much in advance! On Tuesday, January 05, 2010 8:21 PM Bill Grant wrote: What was the reason to partition the drives on the vms? What was the reason to partition the drives on the vms? Partitioning does not make much sense on a virtual disk. Why not just create two vhds? Expanding a partition in a virtual machine is really no different from expanding a partition in any other machine. You use the same tools. If there is not enough space on the physical drive, you will need to create a larger vhd on a different physical drive. On Friday, January 08, 2010 10:24 AM SteveJHU wrote: Are you talking about expanding a VHD and the partition within the VHD? Are you talking about expanding a VHD and the partition within the VHD? I think that is the gist I am getting. I have a procedure I have compiled for doing that. I have only run this on 2003 machines with VS2005, but I do not think 2008/Hyper-V would be much different. The primary difference is that VS2005 had a great tool called VHDMount. Hyper-V does not come with it. 2008/Hyper-V does have the ability within DISKPART though. I have not had an opportunity yet to try this in 2008 though. This is done entirely outside of the virtual server service, so it really should not matter if it is Hyper-V or VS2005. Here it is: 1. Shutdown the virtual machine 2. Use VHDResizer (free download) to create a new VHD file with a larger size. Can also change between fixed and dynamic disks. 3. After new VHD is created, change name of original VHD file and change the new file to the original VHD filename. (delete the old file after the procedure is complete) --- A new VHD file with additional free space is created, but the partition in the VHD is still the original size. Need to extend the partition. Use diskpart on the virtual host to extend the partition, but need to get access to the VHD. (if your VM is also 2008, I think you can extend the partition within the VM's operating system using Diskpart or Disk Management; skip steps 4-6 if you do that instead for info on using Diskpart) Mount VHD from host: ---For VS2005: 4. Open a command prompt and navigate to C:\Program Files\Microsoft Virtual Server\Vhdmount\ 5. Run the command: vhdmount /m /f E:\VirtualMachines\DevSystem.vhd K 6. After that is completed, a new K drive is present in the virtual host ---For Hyper-V: 4. Run DISKPART 5. Type > sel vdisk file="E:\VirtualMachines\DevSystem.vhd" 6. Type > attach vdisk and new drive is present --- Now resize the partition 7. Run the commands: *should see disk listed with free space *look for the volume number of the partition...for this example, we will say it is 5 *using just extend will utilize all remaining free space on the disk *need to select another volume before quitting diskpart or else may need to restart the server to dismount the drive (this was true in Server 2003) --- Dismount the VHD from the Host --In VS2005: 8. Exit from Diskpart 9. Run the command: vhdmount /u E:\VirtualMachines\DevSystem.vhd -The VHD should be dismounted and ready 10. Restart the virtual machine --In Hyper-V: 8. In Diskpart, type > detach vdisk 9. Exit from Diskpart 10. Restart the virtual machine I tested this on a system VHD and a secondary data VHD in VS2005 and both worked. I did not test this yet in 2008/Hyper-V, so try it on a test system first before using it on a production system. Also, I do not know regarding Backup Exec within the VM. We use Backup Exec to backup at the host-level and we do not have any problems doing that after resizing a VHD. Hope this helps, Steve K. Submitted via EggHeadCafe - Software Developer Portal of Choice Windows Forms .NET DataGrid ComboBox Columns And Custom Row Coloring http://www.eggheadcafe.com/tutorials...et-datagr.aspx |
|
|
|
#5 (permalink) |
|
Guest
Posts: n/a
|
A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help.
rfIPS wrote: How to Expand Partition? 05-Jan-10 Very sorry if this is a dup posting. I tried posting about 45 min ago and my post has not shown up yet. Thought I did something wrong the first time. We have a Dell PowerEdge 2900 Server (I will call Server1) running Server 2008 (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); both running Server 2003. Each of the servers has a C: partition and E: partition. Server2 has run out of space on the E: partition. I purchased a physical hard drive for Server1. I can probably figure out how to install that on the PowerEdge but do not know how to allocate additional space to the virtual server. Is it done thru the Hyper-V manager on Server1? Are there some tutorials out there that would be helpful, easy to understand as I am a beginner at Hyper-V. Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for backing up. Will expanding that partition affect backup jobs we have configured? I have had quite a few problems getting the Hyper-V agent to run consistently. Maybe that is not a question for this forum? Thanks much in advance! Previous Posts In This Thread: On Tuesday, January 05, 2010 2:02 PM rfIPS wrote: How to Expand Partition? Very sorry if this is a dup posting. I tried posting about 45 min ago and my post has not shown up yet. Thought I did something wrong the first time. We have a Dell PowerEdge 2900 Server (I will call Server1) running Server 2008 (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); both running Server 2003. Each of the servers has a C: partition and E: partition. Server2 has run out of space on the E: partition. I purchased a physical hard drive for Server1. I can probably figure out how to install that on the PowerEdge but do not know how to allocate additional space to the virtual server. Is it done thru the Hyper-V manager on Server1? Are there some tutorials out there that would be helpful, easy to understand as I am a beginner at Hyper-V. Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for backing up. Will expanding that partition affect backup jobs we have configured? I have had quite a few problems getting the Hyper-V agent to run consistently. Maybe that is not a question for this forum? Thanks much in advance! On Tuesday, January 05, 2010 8:21 PM Bill Grant wrote: What was the reason to partition the drives on the vms? What was the reason to partition the drives on the vms? Partitioning does not make much sense on a virtual disk. Why not just create two vhds? Expanding a partition in a virtual machine is really no different from expanding a partition in any other machine. You use the same tools. If there is not enough space on the physical drive, you will need to create a larger vhd on a different physical drive. On Friday, January 08, 2010 10:24 AM SteveJHU wrote: Are you talking about expanding a VHD and the partition within the VHD? Are you talking about expanding a VHD and the partition within the VHD? I think that is the gist I am getting. I have a procedure I have compiled for doing that. I have only run this on 2003 machines with VS2005, but I do not think 2008/Hyper-V would be much different. The primary difference is that VS2005 had a great tool called VHDMount. Hyper-V does not come with it. 2008/Hyper-V does have the ability within DISKPART though. I have not had an opportunity yet to try this in 2008 though. This is done entirely outside of the virtual server service, so it really should not matter if it is Hyper-V or VS2005. Here it is: 1. Shutdown the virtual machine 2. Use VHDResizer (free download) to create a new VHD file with a larger size. Can also change between fixed and dynamic disks. 3. After new VHD is created, change name of original VHD file and change the new file to the original VHD filename. (delete the old file after the procedure is complete) --- A new VHD file with additional free space is created, but the partition in the VHD is still the original size. Need to extend the partition. Use diskpart on the virtual host to extend the partition, but need to get access to the VHD. (if your VM is also 2008, I think you can extend the partition within the VM's operating system using Diskpart or Disk Management; skip steps 4-6 if you do that instead for info on using Diskpart) Mount VHD from host: ---For VS2005: 4. Open a command prompt and navigate to C:\Program Files\Microsoft Virtual Server\Vhdmount\ 5. Run the command: vhdmount /m /f E:\VirtualMachines\DevSystem.vhd K 6. After that is completed, a new K drive is present in the virtual host ---For Hyper-V: 4. Run DISKPART 5. Type > sel vdisk file="E:\VirtualMachines\DevSystem.vhd" 6. Type > attach vdisk and new drive is present --- Now resize the partition 7. Run the commands: *should see disk listed with free space *look for the volume number of the partition...for this example, we will say it is 5 *using just extend will utilize all remaining free space on the disk *need to select another volume before quitting diskpart or else may need to restart the server to dismount the drive (this was true in Server 2003) --- Dismount the VHD from the Host --In VS2005: 8. Exit from Diskpart 9. Run the command: vhdmount /u E:\VirtualMachines\DevSystem.vhd -The VHD should be dismounted and ready 10. Restart the virtual machine --In Hyper-V: 8. In Diskpart, type > detach vdisk 9. Exit from Diskpart 10. Restart the virtual machine I tested this on a system VHD and a secondary data VHD in VS2005 and both worked. I did not test this yet in 2008/Hyper-V, so try it on a test system first before using it on a production system. Also, I do not know regarding Backup Exec within the VM. We use Backup Exec to backup at the host-level and we do not have any problems doing that after resizing a VHD. Hope this helps, Steve K. On Tuesday, February 02, 2010 6:54 AM sdfax wrote: Extend Partition A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help. Submitted via EggHeadCafe - Software Developer Portal of Choice SumColumn: Custom DataGrid Column that automatically shows Sum/Count/Average in DataGrid Footer. http://www.eggheadcafe.com/tutorials...m-datagri.aspx |
|
|
|
#6 (permalink) |
|
Guest
Posts: n/a
|
A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help.
rfIPS wrote: How to Expand Partition? 05-Jan-10 Very sorry if this is a dup posting. I tried posting about 45 min ago and my post has not shown up yet. Thought I did something wrong the first time. We have a Dell PowerEdge 2900 Server (I will call Server1) running Server 2008 (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); both running Server 2003. Each of the servers has a C: partition and E: partition. Server2 has run out of space on the E: partition. I purchased a physical hard drive for Server1. I can probably figure out how to install that on the PowerEdge but do not know how to allocate additional space to the virtual server. Is it done thru the Hyper-V manager on Server1? Are there some tutorials out there that would be helpful, easy to understand as I am a beginner at Hyper-V. Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for backing up. Will expanding that partition affect backup jobs we have configured? I have had quite a few problems getting the Hyper-V agent to run consistently. Maybe that is not a question for this forum? Thanks much in advance! Previous Posts In This Thread: On Tuesday, January 05, 2010 2:02 PM rfIPS wrote: How to Expand Partition? Very sorry if this is a dup posting. I tried posting about 45 min ago and my post has not shown up yet. Thought I did something wrong the first time. We have a Dell PowerEdge 2900 Server (I will call Server1) running Server 2008 (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); both running Server 2003. Each of the servers has a C: partition and E: partition. Server2 has run out of space on the E: partition. I purchased a physical hard drive for Server1. I can probably figure out how to install that on the PowerEdge but do not know how to allocate additional space to the virtual server. Is it done thru the Hyper-V manager on Server1? Are there some tutorials out there that would be helpful, easy to understand as I am a beginner at Hyper-V. Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for backing up. Will expanding that partition affect backup jobs we have configured? I have had quite a few problems getting the Hyper-V agent to run consistently. Maybe that is not a question for this forum? Thanks much in advance! On Tuesday, January 05, 2010 8:21 PM Bill Grant wrote: What was the reason to partition the drives on the vms? What was the reason to partition the drives on the vms? Partitioning does not make much sense on a virtual disk. Why not just create two vhds? Expanding a partition in a virtual machine is really no different from expanding a partition in any other machine. You use the same tools. If there is not enough space on the physical drive, you will need to create a larger vhd on a different physical drive. On Friday, January 08, 2010 10:24 AM SteveJHU wrote: Are you talking about expanding a VHD and the partition within the VHD? Are you talking about expanding a VHD and the partition within the VHD? I think that is the gist I am getting. I have a procedure I have compiled for doing that. I have only run this on 2003 machines with VS2005, but I do not think 2008/Hyper-V would be much different. The primary difference is that VS2005 had a great tool called VHDMount. Hyper-V does not come with it. 2008/Hyper-V does have the ability within DISKPART though. I have not had an opportunity yet to try this in 2008 though. This is done entirely outside of the virtual server service, so it really should not matter if it is Hyper-V or VS2005. Here it is: 1. Shutdown the virtual machine 2. Use VHDResizer (free download) to create a new VHD file with a larger size. Can also change between fixed and dynamic disks. 3. After new VHD is created, change name of original VHD file and change the new file to the original VHD filename. (delete the old file after the procedure is complete) --- A new VHD file with additional free space is created, but the partition in the VHD is still the original size. Need to extend the partition. Use diskpart on the virtual host to extend the partition, but need to get access to the VHD. (if your VM is also 2008, I think you can extend the partition within the VM's operating system using Diskpart or Disk Management; skip steps 4-6 if you do that instead for info on using Diskpart) Mount VHD from host: ---For VS2005: 4. Open a command prompt and navigate to C:\Program Files\Microsoft Virtual Server\Vhdmount\ 5. Run the command: vhdmount /m /f E:\VirtualMachines\DevSystem.vhd K 6. After that is completed, a new K drive is present in the virtual host ---For Hyper-V: 4. Run DISKPART 5. Type > sel vdisk file="E:\VirtualMachines\DevSystem.vhd" 6. Type > attach vdisk and new drive is present --- Now resize the partition 7. Run the commands: *should see disk listed with free space *look for the volume number of the partition...for this example, we will say it is 5 *using just extend will utilize all remaining free space on the disk *need to select another volume before quitting diskpart or else may need to restart the server to dismount the drive (this was true in Server 2003) --- Dismount the VHD from the Host --In VS2005: 8. Exit from Diskpart 9. Run the command: vhdmount /u E:\VirtualMachines\DevSystem.vhd -The VHD should be dismounted and ready 10. Restart the virtual machine --In Hyper-V: 8. In Diskpart, type > detach vdisk 9. Exit from Diskpart 10. Restart the virtual machine I tested this on a system VHD and a secondary data VHD in VS2005 and both worked. I did not test this yet in 2008/Hyper-V, so try it on a test system first before using it on a production system. Also, I do not know regarding Backup Exec within the VM. We use Backup Exec to backup at the host-level and we do not have any problems doing that after resizing a VHD. Hope this helps, Steve K. On Tuesday, February 02, 2010 6:54 AM sdfax wrote: Extend Partition A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help. On Tuesday, February 02, 2010 6:54 AM sdfax wrote: Extend Partition A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help. Submitted via EggHeadCafe - Software Developer Portal of Choice BASICS: Make any Method Call "Timeout"-able http://www.eggheadcafe.com/tutorials...-method-c.aspx |
|
|
|
#7 (permalink) |
|
Guest
Posts: n/a
|
extend partition you can use MiniTool Partition Wizard to extend it:http://www.partitionwizard.com/hot-e...partition.html
> On Tuesday, January 05, 2010 2:02 PM rfIPS wrote: > Very sorry if this is a dup posting. I tried posting about 45 min ago and my > post has not shown up yet. Thought I did something wrong the first time. > > We have a Dell PowerEdge 2900 Server (I will call Server1) running Server 2008 > (Standard Ed., I think). Created two virtual servers (VMServer2 & VMServer3); > both running Server 2003. Each of the servers has a C: partition and E: > partition. Server2 has run out of space on the E: partition. I purchased a > physical hard drive for Server1. I can probably figure out how to install > that on the PowerEdge but do not know how to allocate additional space to the > virtual server. Is it done thru the Hyper-V manager on Server1? Are there > some tutorials out there that would be helpful, easy to understand as I am a > beginner at Hyper-V. > > Also, we use Symatnec Enterprise (with the Hyper-V agent installed) for > backing up. Will expanding that partition affect backup jobs we have > configured? I have had quite a few problems getting the Hyper-V agent to run > consistently. Maybe that is not a question for this forum? > > Thanks much in advance! >> On Tuesday, January 05, 2010 8:21 PM Bill Grant wrote: >> What was the reason to partition the drives on the vms? Partitioning does >> not make much sense on a virtual disk. Why not just create two vhds? >> >> Expanding a partition in a virtual machine is really no different from >> expanding a partition in any other machine. You use the same tools. If there >> is not enough space on the physical drive, you will need to create a larger >> vhd on a different physical drive. >>> On Friday, January 08, 2010 10:24 AM SteveJHU wrote: >>> Are you talking about expanding a VHD and the partition within the VHD? I >>> think that is the gist I am getting. >>> >>> I have a procedure I have compiled for doing that. I have only run this on >>> 2003 machines with VS2005, but I do not think 2008/Hyper-V would be much >>> different. The primary difference is that VS2005 had a great tool called >>> VHDMount. Hyper-V does not come with it. 2008/Hyper-V does have the ability >>> within DISKPART though. I have not had an opportunity yet to try this in 2008 >>> though. This is done entirely outside of the virtual server service, so it >>> really should not matter if it is Hyper-V or VS2005. Here it is: >>> >>> 1. Shutdown the virtual machine >>> 2. Use VHDResizer (free download) to create a new VHD file with a larger >>> size. Can also change between fixed and dynamic disks. >>> 3. After new VHD is created, change name of original VHD file and change the >>> new file to the original VHD filename. (delete the old file after the >>> procedure is complete) >>> --- A new VHD file with additional free space is created, but the partition >>> in the VHD is still the original size. Need to extend the partition. Use >>> diskpart on the virtual host to extend the partition, but need to get access >>> to the VHD. (if your VM is also 2008, I think you can extend the partition >>> within the VM's operating system using Diskpart or Disk Management; skip >>> steps 4-6 if you do that instead for info on using Diskpart) >>> Mount VHD from host: >>> ---For VS2005: >>> 4. Open a command prompt and navigate to C:\Program Files\Microsoft Virtual >>> Server\Vhdmount\ >>> 5. Run the command: vhdmount /m /f E:\VirtualMachines\DevSystem.vhd K >>> 6. After that is completed, a new K drive is present in the virtual host >>> ---For Hyper-V: >>> 4. Run DISKPART >>> 5. Type > sel vdisk file="E:\VirtualMachines\DevSystem.vhd" >>> 6. Type > attach vdisk >>> and new drive is present >>> --- Now resize the partition >>> 7. Run the commands: >>> *should see disk listed with free space >>> *look for the volume number of the partition...for this example, we will say >>> it is 5 >>> *using just extend will utilize all remaining free space on the disk >>> *need to select another volume before quitting diskpart or else may need to >>> restart the server to dismount the drive (this was true in Server 2003) >>> --- Dismount the VHD from the Host >>> --In VS2005: >>> 8. Exit from Diskpart >>> 9. Run the command: vhdmount /u E:\VirtualMachines\DevSystem.vhd >>> -The VHD should be dismounted and ready >>> 10. Restart the virtual machine >>> --In Hyper-V: >>> 8. In Diskpart, type > detach vdisk >>> 9. Exit from Diskpart >>> 10. Restart the virtual machine >>> >>> I tested this on a system VHD and a secondary data VHD in VS2005 and both >>> worked. I did not test this yet in 2008/Hyper-V, so try it on a test system >>> first before using it on a production system. >>> >>> Also, I do not know regarding Backup Exec within the VM. We use Backup Exec >>> to backup at the host-level and we do not have any problems doing that after >>> resizing a VHD. >>> >>> Hope this helps, >>> Steve K. >>>> On Tuesday, February 02, 2010 6:54 AM sdfax wrote: >>>> A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help. >>>>> On Tuesday, February 02, 2010 6:54 AM sdfax wrote: >>>>> A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help. >>>>>> On Tuesday, February 02, 2010 6:55 AM sdfax wrote: >>>>>> A great article talk about how to extend partition: http://www.extend-partition.com/exte...partition.html to get more help. >>>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice >>>>>> Book Review: Excel 2010 - The Missing Manual [OReilly] >>>>>> http://www.eggheadcafe.com/tutorials...l-oreilly.aspx |
|