resized HDD not seen in guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mrdata
Posts: 26
Joined: 28. Dec 2011, 22:05
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XP, UBUNTU Server

resized HDD not seen in guest

Post by mrdata »

I am running Windows 7 as a host and another copy as a guest.
I ran out of room on the guest so I did VboxManage modifyhd [vdi file] --resize 32000 . Worked fine.
Looking in "Settings" on the host for the guest I find the 32GB.

I launch the Windows 7 guest and look to "Expand" and it shows the original disk size (12gb).

Both are up-to-date with their shots and generally play nice with others.

Any suggestions or comments are welcomed.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resized HDD not seen in guest

Post by Perryg »

Snapshots?
mrdata
Posts: 26
Joined: 28. Dec 2011, 22:05
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XP, UBUNTU Server

Re: resized HDD not seen in guest

Post by mrdata »

No snapshots, it was a fresh install.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resized HDD not seen in guest

Post by Perryg »

mrdata
Posts: 26
Joined: 28. Dec 2011, 22:05
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XP, UBUNTU Server

Re: resized HDD not seen in guest

Post by mrdata »

VCM Manager
VCM Manager
Capture1.JPG (12.46 KiB) Viewed 1041 times
Attachments
Guest
Guest
Capture2.JPG (33.05 KiB) Viewed 1041 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resized HDD not seen in guest

Post by Perryg »

Didn't you say the guest was Windows 7? Why not use the disk management under manage?

Run the following in a command window and post the results ( as an attachment ).
VBoxManage showvminfo <name of guest>
mrdata
Posts: 26
Joined: 28. Dec 2011, 22:05
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XP, UBUNTU Server

Re: resized HDD not seen in guest

Post by mrdata »

Code: Select all

C:\Program Files\Oracle\VirtualBox>dir C:\Users\Mike\"VirtualBox VMs"\Windows7Test\Windows7Test.vdi
 Volume in drive C is Windows7_OS
 Volume Serial Number is 34AE-8535
 Directory of C:\Users\Mike\VirtualBox VMs\Windows7Test
05/19/2015  04:58 PM    12,806,307,840 Windows7Test.vdi
               1 File(s) 12,806,307,840 bytes
               0 Dir(s)  134,834,827,264 bytes free
C:\Program Files\Oracle\VirtualBox>VBoxManage showvminfo Windows7Test
Name:            Windows7Test
Groups:          /
Guest OS:        Windows 7 (32 bit)
UUID:            4af153ce-978a-454c-a2fa-b77431da6ae5
Config file:     C:\Users\Mike\VirtualBox VMs\Windows7Test\Windows7Test.vbox
Snapshot folder: C:\Users\Mike\VirtualBox VMs\Windows7Test\Snapshots
Log folder:      C:\Users\Mike\VirtualBox VMs\Windows7Test\Logs
Hardware UUID:   4af153ce-978a-454c-a2fa-b77431da6ae5
Memory size:     8192MB
Page Fusion:     off
VRAM size:       164MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  4
PAE:             off
Long Mode:       on
Synthetic CPU:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
State:           powered off (since 2015-05-20T17:01:26.923000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: on
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA Controller
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
Storage Controller Bootable (1):        on
IDE Controller (1, 0): C:\Users\Mike\Desktop\Share\
SATA Controller (0, 0): C:\Users\Mike\VirtualBox VMs\Windows7Test\Snapshots/{af9
03411-1e7e-4c47-a6ae-707b9b0ce015}.vdi (UUID: af903411-1e7e-4c47-a6ae-707b9b0ce0
15)
NIC 1:           MAC: 08002713C5AB, Attachment: Bridged Interface '1x1 11b/g/n Wireless LAN PCI Express Half Mini Card Adapter', Cable connected: off, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, 
Promisc
Policy: allow-all, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: DSOUND, Controller: HDA)
Clipboard Mode:  Bidirectional
Drag'n'drop Mode: Bidirectional
VRDE:            disabled
USB:             enabled
EHCI:            disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:

Name: 'Share', Host path: 'C:\Users\Mike\Desktop\Share' (machine mapping), writable

VRDE Connection:    not active
Clients so far:     0
Video capturing:    not active
Capture screens:    0
Capture file:       C:\Users\Mike\VirtualBox VMs\Windows7Test\Windows7Test.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25
Guest:
Configured memory balloon size:      0 MB
Snapshots:
   Name: CNMIVPN (UUID: fff7f290-954f-4174-8a7f-445e4755ddc1)
   Description:
Sonicwall CNMI VPN Saipan
      Name: CNMI-VPN (UUID: df042537-98e0-4f40-a529-75b087368300) *
      Description:
Sonicwall VPN Connector
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resized HDD not seen in guest

Post by Perryg »

Code: Select all

SATA Controller (0, 0): C:\Users\Mike\VirtualBox VMs\Windows7Test\Snapshots/{af9
03411-1e7e-4c47-a6ae-707b9b0ce015}.vdi (UUID: af903411-1e7e-4c47-a6ae-707b9b0ce0
15)
I thought you said no snapshots.

If you want to grow the snapshot you would need to resize the snapshot and not the base.
mrdata
Posts: 26
Joined: 28. Dec 2011, 22:05
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Win XP, UBUNTU Server

Re: resized HDD not seen in guest

Post by mrdata »

Yikes, I have no idea how that happened. Very weird. I installed Windows 7 from an image (iso).
Thanks, for the catch, I must admit my stupidity.

Thanks....

Mike
Post Reply