Jump to content


Photo

Remote Shut-Down Trashed VHD's?


  • Please log in to reply
4 replies to this topic

#1 Joe_Miner

Joe_Miner

    HSS Elite

  • Moderators
  • 1,721 posts
  • LocationCentral Illinois

Posted 20 July 2012 - 03:21 PM

I'm running Hyper-V in Win8 RP with 5 Hyper-V clients and was loading S2012e.

Before initializing S2012e I wanted to shut down my Win8 RP host to check something -- I had read about how this could be done remotely instead of going downstairs and hitting the button on the box -- so........

In a Remote Desktop into the Win8 RP host I went to the Command Prompt

typed in:

Shutdown /S

This shut down my host.

The problem arose when I powered the Host back up and when I went to my Hyper-V manager --- ALL of my VM's were "Off-Critical" and when I opend Windows Explorer my VHD drive was empty.

I thought I had everything set-up to shut down my VM's gracefully when the Host shut down and restart all of my VM's when the Host started back up.

What did I do wrong?
WHS-V1: HP EX-487: 4*WD20EARX, Athena AP-MFATX30, 4GB G.Skill, E5200, Stablebit Scanner-|-
WHS-2011: HP N54L G7, Kingston ECC 8GB KVR1333D3E9SK2/8G, OS: 256GB M4, 5*ST3000DM001, WD PCIe USB3, R640L, Stablebit DrivePool & Scanner -|-
Test Labs: HP N40L, G.Skill 16GB F3-1333C9D-16GAO, rr2720 -|- HP N40L, Kingston ECC 16GB KVR1333D3E9SK2/16G -|-
S2012 Hyper-V Lab: Lian-Li K9WX, GA-Z77X-UD5H, i7-3770, 32GB G.Skill, 240GB Corsair GT + various HDD's-|-
Desktop W8P64: HAF 932,GA-X58A-UD3R,i7-930,12GB,240GB Corsair GS + various HDD's,HD5850,Samsung Series9 & 213T+Planar PX2710MW,C920 -|-
HTPC3 W8P64WMC: GD05B, GA-Z68MX-UD2H-B3, i5-2500K, 16GB G.Skill, Corsair GTX 240GB, Crucial M4 256GB , C910, Camtasia-|-
Laptop W8P64WMC: Acer 1810T, 4GB RAM, 240GB Corsair GT SSD-|-

#2 pcdoc

pcdoc

    HSS Legend

  • Moderators
  • 3,563 posts
  • LocationLos Angeles, California

Posted 21 July 2012 - 04:12 AM

I'm running Hyper-V in Win8 RP with 5 Hyper-V clients and was loading S2012e.

Before initializing S2012e I wanted to shut down my Win8 RP host to check something -- I had read about how this could be done remotely instead of going downstairs and hitting the button on the box -- so........

In a Remote Desktop into the Win8 RP host I went to the Command Prompt

typed in:

Shutdown /S

This shut down my host.

The problem arose when I powered the Host back up and when I went to my Hyper-V manager --- ALL of my VM's were "Off-Critical" and when I opend Windows Explorer my VHD drive was empty.

I thought I had everything set-up to shut down my VM's gracefully when the Host shut down and restart all of my VM's when the Host started back up.

What did I do wrong?


Try changing your automatic stop actions configured to shut down the guest?

Main Server - WHS 2011, Core I5-2500, 12T RAID 5 (5x3T) + 2T of Mirror + 2T of backup
Second Server - 2008R2, Core I5-2500, 12T RAID 5
Main Systems - Core I7-2600k, 16 Gigs DDR3-1600, 180 Gig Intel 330 SSD Max IOPS 240 Gig Vertex 3, 2T Sata 3 for local Backup
Other systems - Core I7-2600, Core I3-530's, Core I5-2500, Core I7-920, Core I3-2100, and G620 (see System List)
My Blogs - The Docs Blog and Tablet Resource
BYOB Videos - TheBYOBPodcast
For a complete system List: Computer Systems


#3 Joe_Miner

Joe_Miner

    HSS Elite

  • Moderators
  • 1,721 posts
  • LocationCentral Illinois

Posted 21 July 2012 - 08:48 AM

I had it set to save the state and restart the guest when the host is turned on.

It was a little disturbing to see all my directories on the VHD drive empty -- no VHD's, VM's and my snapshots was empty. Yikes!

I know I screwed up I'm not sure how I screwed up. I'll change my stop action to shut down the guest's and hopefully that will portect me till I figure out more what I'm doing -- maybe I should hold off on the remote shutdown/restart commands too?
WHS-V1: HP EX-487: 4*WD20EARX, Athena AP-MFATX30, 4GB G.Skill, E5200, Stablebit Scanner-|-
WHS-2011: HP N54L G7, Kingston ECC 8GB KVR1333D3E9SK2/8G, OS: 256GB M4, 5*ST3000DM001, WD PCIe USB3, R640L, Stablebit DrivePool & Scanner -|-
Test Labs: HP N40L, G.Skill 16GB F3-1333C9D-16GAO, rr2720 -|- HP N40L, Kingston ECC 16GB KVR1333D3E9SK2/16G -|-
S2012 Hyper-V Lab: Lian-Li K9WX, GA-Z77X-UD5H, i7-3770, 32GB G.Skill, 240GB Corsair GT + various HDD's-|-
Desktop W8P64: HAF 932,GA-X58A-UD3R,i7-930,12GB,240GB Corsair GS + various HDD's,HD5850,Samsung Series9 & 213T+Planar PX2710MW,C920 -|-
HTPC3 W8P64WMC: GD05B, GA-Z68MX-UD2H-B3, i5-2500K, 16GB G.Skill, Corsair GTX 240GB, Crucial M4 256GB , C910, Camtasia-|-
Laptop W8P64WMC: Acer 1810T, 4GB RAM, 240GB Corsair GT SSD-|-

#4 ikon

ikon

    HSS Genius

  • Donating Member
  • 8,555 posts

Posted 21 July 2012 - 05:37 PM

Just remember to only change 1 thing at a time.

If at first you don't succeed, do it like your mother told you.


#5 Jason

Jason

    HSS Champion

  • Members
  • 452 posts
  • LocationBentonville, AR

Posted 24 July 2012 - 09:32 AM

Try changing your automatic stop actions configured to shut down the guest?


What are the recommended settings for automatic stop actions of guest OSs?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users