Friday, August 30, 2013

Expand VHD - Increase Capacity of Virtual Hard disk

well, i was stuck with 25 GB of in my virtual hard disk and started my favorite computer operation "Google" to find solution and surprisingly  found one pretty quickly

Here is goes.

Run below command sequentially in command prompt

diskpart                                    [open command prompt and type  this command]
Select vdisk file="Path of VHD"
list vdisk
expand vdisk maximum=40000                    [Size in MB]
attach vdisk
list disk
Online Disk
list volume
select volume                         [Select disk volume to be exteded]
extend
List Volume
detach vdisk
exit

Handle the error “OwnershipControlsNotFoundError” for buckets created prior to April 2023 when the bucket ownership was defaulted to “Object Writer”

Here you go published a  python code sample written for migrating S3 bucket ownership controls between AWS accounts. The code is written to ...