VMware Cloud Community
Kake
Contributor
Contributor

VDS fails to write boot code on a disk during clean operation. Error code: 80070013@02070008

Hello,

I extended a vdisk to max size 1200 GB to 2048 GB with vmkfstools. I started to get error in Windows VDS fails to write boot code on a disk during clean operation. Error code: 80070013@02070008.

The disk is uninitialized and I am unable to initialize it. Tried to google, but not many good answers yet.

Tags (3)
0 Kudos
2 Replies
ThompsG
Virtuoso
Virtuoso

Hi there,

Can you recreate the VMDK but make it at 2TB - 512 bytes? This should load fine.

Kind regards,

Glen

0 Kudos
faizanmkhan
Contributor
Contributor

Hi There,

I also ran into the same issue and got it fixed. I believe you must have already fixed it, but sharing is not bad.

from a DOS prompt execute:
> diskpart
> list disk
> select disk 1    (assuming disk 1 was the drive in the above list disk command)
> clean
> create partition logical
*Error: DiskPart has encountered an error: The media is write protected.
Workaround
Run > online disk
> detail disk
Disk ID: ########
Type : <type>
Bus : #
Target : #
LUN ID : #
Read-only : Yes
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No

run > ATTRIBUTE DISK CLEAR READONLY

> create partition logical

> select partition 1

> active

> format fs=NTFS

> assign

0 Kudos