Windows Update Kills SATA

meluvalli

Member
Feb 19, 2012
18
0
21
Hello!

Not sure if this as been addressed... Looked in forums and can't find anything on it..

If you install Windows 2008r2 or Windows Server 2012 on a VM where the HD is on SATA0... After you do Windows Updates, the system will no longer boot. You have to manually edit the config file for the VM and change it to IDE1 for it to boot again.

Is this a known issue? Is there a workaround other than not using SATA?

Thanks!

Aaron
 
I do not have this problem here. a reboot can takes a long time after applying updates, just wait a few minutes.

For win2012/win8, disable "fast boot" and try again.

Make sure you run latest packages (post 'pveversion -v' and also your VM config: 'qm config VMID')
 
I do not have this problem here. a reboot can takes a long time after applying updates, just wait a few minutes.

For win2012/win8, disable "fast boot" and try again.

Make sure you run latest packages (post 'pveversion -v' and also your VM config: 'qm config VMID')

Hi Tom. Thanks for the reply.
I think I am running all the latest packages.. Below is my pveversion -v
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-18-pve
proxmox-ve-2.6.32: 2.3-88
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-18-pve: 2.6.32-88
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-18
pve-firmware: 1.0-21
libpve-common-perl: 1.0-48
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-6
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-8
ksm-control-daemon: 1.1-1

Below is my qm config
bootdisk: ide1
cores: 6
cpu: host
ide0: none,media=cdrom
ide1: local-hd2:103/vm-103-disk-1.raw,size=100G
memory: 8192
name: w2kr2-LYNC
net0: e1000=02:70:56:4D:95:09,bridge=vmbr0
net1: e1000=02:70:56:4D:95:10,bridge=vmbr0
ostype: win7
sockets: 1

Note Prior to changing it to ide1 it was:
bootdisk: sata0
cores: 6
cpu: host
ide0: none,media=cdrom
sata0: local-hd2:103/vm-103-disk-1.raw,size=100G
memory: 8192
name: w2kr2-LYNC
net0: e1000=02:70:56:4D:95:09,bridge=vmbr0
net1: e1000=02:70:56:4D:95:10,bridge=vmbr0
ostype: win7
sockets: 1

As for taking a long time to boot, it has nothing to do with a time issue. When it reboots, it goes into "Windows Recovery" and that's it. There is no way to get back into Windows. It's stuck in it...
I am not sure what you mean by "fast boot" :(

I am able to re-duplicate this problem over and over again... Just create a new VM, and install Windows 2008 R2 or Win Server 2012 while using sata0 as your boot device. Then do windows updates after install is complete. Windows will reboot, and never come back.. (Will be stuck in Windows Recovery).

Thank you,

Aaron
 
your VM config looks ok. what hardware do you have? CPU with 6 cores? Try with just 1 CPU core assigned.

regarding fast boot, just google for "win8 fast boot".

if have test box, you can also try with latest packages from our pvetest repository.
 
your VM config looks ok. what hardware do you have? CPU with 6 cores? Try with just 1 CPU core assigned.

regarding fast boot, just google for "win8 fast boot".

if have test box, you can also try with latest packages from our pvetest repository.

Hi Tom. Thanks again for your help.

I was able to disable "fast boot", but this didn't solve the problem :(. I am currently running on a AMD FX-6300 AM3+. This is a 6 core processor. I have tried changing this to 1 and it makes no difference.

I am at a loss on what to do from here, so I can only leave it as IDE for now :(. As for Test server, how would I go about getting pvetest repository? Also, can you confirm, is this what you are running? I would like to know what is different if you don't have this problem.

I installed from Proxmox 2.0 and ran aptitude update && aptitude full-upgrade to get to 2.3.

Thank you,

Aaron
 
I have no such CPU here. Try the default CPU type KVM64 instead of host.

Otherwise I am out of ideas for sata. But you should use virtio for disks and storage anyways. faster.

See also http://pve.proxmox.com/wiki/Windows_2012_guest_best_practices

Hi Tom! Thanks for the reply. I actually ended up redoing my Proxmox and that fixed the problem. So not sure what the cause was. But do have a question... You recommended I use Virtio for my drives? When I select that and start a Windows 2012 install, it can't find my drives. I assume it needs drivers? Where would you find the correct drivers for this? Is there really that much difference in performance? Also, have another question. I have 3 VMs running on one physical HD... So, I have my Proxmox boot drive (sda) and then a second HD (sdb).. When I try to run all three of them, I notice huge performance issues... I don't think it's my CPU as it is 6 cores, and I have 64GB of ram... So, thinking it must be drive issue??? I have a Seagate 7200 SATA HD... Is this common? Any recommendations to overcome this?

Once again, thanks for all your help!!

Aaron
 
most of your questions are already covered by other threads (search!). and the subject here is "windows update kills sata", so keep this thread to the topic.

if you have new questions which are not already covered, pls open a new thread.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!