Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

diskpart - shrink or move partition


  • Please log in to reply
7 replies to this topic

#1
patronu

patronu

    Junior

  • Member
  • Pip
  • 86 posts
Is it posssible to use diskpart to move a partiton or to shrink it from left? Currently diskpart shrinks the partion only from right side. So this sucks.


How to remove advertisement from MSFN

#2
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,750 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Removed my apparently wrong statements in order not to confuse or mislead anyone...

Edited by Kelsenellenelvian, 10 October 2010 - 07:23 AM.


#3
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,043 posts
  • OS:none specified
  • Country: Country Flag

Hard rives USSUALY work like this:

Data stays near the inner circle of the drive where read times are faster, free space stays on the outside. (Untill the drive fills up)

Any reference to backup this statement? :unsure:

(Last time I checked outer tracks were WAY faster than inner ones :whistle:, and data was allocate form the outside to the inside )
http://www.pcguide.c...racksZBR-c.html
http://www.tomshardw...ive-performance
http://www.cs.berkel...lec20-disks.pdf

jaclaz

#4
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,750 posts
  • OS:Windows 7 x64
  • Country: Country Flag
WOW I am totally wrong!

I am very sorry I am so ashamed.

#5
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,043 posts
  • OS:none specified
  • Country: Country Flag

WOW I am totally wrong!

I am very sorry I am so ashamed.

No need to. :)

Hard disks and optical media work differently and you probably thought to estend your experience with CD/DVD's to actual hard disks....

jaclaz

#6
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,702 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Is it posssible to use diskpart to move a partiton or to shrink it from left? Currently diskpart shrinks the partion only from right side. So this sucks.


It is typically a bad idea and/or not supported to change the first sector of a partition. This is why Diskpart doesn't do it. Some other programs might, like Partition Magic, but I never tried it. The problem comes down to having to totally rebuild the FAT because you end up bit-shifting everything in the partition. I might be wrong (wouldn't be the first time) and Jaclaz can correct me (wouldn't be the first time) :w00t:

Only one way to learn!
MSFN RULES | GimageX HTA for PE 3.x | lol probloms
msfn2_zpsc37c7153.jpg

#7
patronu

patronu

    Junior

  • Member
  • Pip
  • 86 posts
all programs like acronis, gparted can do this. so why diskpart can't?

#8
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,043 posts
  • OS:none specified
  • Country: Country Flag

all programs like acronis, gparted can do this. so why diskpart can't?

Also Adobe Reader, Paint and Excel cannot. :ph34r:
Which kind of question is it?
A program is either designed to do something or it is not.

And yes, our k-martian legend does have some misconceptions.... :whistle: but it would be too lengthy to do a full immersion course about partition structures and filesystems and most of the related things, default sizes of FATs, etc. are either UNdocumented or misdocumented.
Even Partition Magic and Acronis apps in some versions were not reliable, and judging from the amount of versions of the various Linux based partitioning/resizing tools, even them have their quirks.

In a nutshell, if you want to be 100% safe DO NOT trust ANY partition resizing/moving program, it is much safer to backup, delete partition, create new partition and restore data.

Even a MS original tool like CONVERT may create problems... ;):
http://redmondmag.co...-converter.aspx

jaclaz

Edited by jaclaz, 12 October 2010 - 12:55 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN