-
March 30th, 2010, 04:37 AM
#1
problem with IOCTL_DISK_SET_DRIVE_LAYOUT
Hi All,
I am trying to decrease the size of my C: drive(OS drive)by using IOCTL_DISK_SET_DRIVE_LAYOUT control code,where I assign the new size of the volume, the computer reboots immediately, whereas its working fine with other volumes.
I am looking for the cause that why it happens only when i trim the size of OS drive? Why the computer restarts. And how can I trim the OS drive without this restart?
Thanks,
Mayank
-
March 31st, 2010, 08:27 AM
#2
Re: problem with IOCTL_DISK_SET_DRIVE_LAYOUT
It sounds reasonable to me that you cannot trim the OS drive while it is running.
When you run the IOCTL_DISK_SET_DRIVE_LAYOUT commend on your OS drive, does it do the trimming during the reboot?
-
December 1st, 2010, 05:26 AM
#3
Re: problem with IOCTL_DISK_SET_DRIVE_LAYOUT
Yes It does during reboot. But I dont want to get the PC reboot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|