Why does partition tool GParted read the 190GB of data twice when shrink a 250GB partition to 190GB?

Posted by Jian Lin on Super User See other posts from Super User or by Jian Lin
Published on 2009-10-28T04:02:58Z Indexed on 2010/03/16 5:06 UTC
Read the original article Hit count: 426

Filed under:
|
|

When using GParted to shrink a 250GB partition to 190GB, I thought it will move the 60GB of data back into the 190GB region and call it done.

But instead it reads the 190GB of data twice, the first time taking about 1 hour and the second time for 2 hours.

The question is:

1) how come it touches the 190GB of data instead of the 60GB of data?
2) how come it reads it twice?

Update: i am suspecting this: it says "moving /dev/sdb1 to the right and then shrink it to 190GB"... so is that the reason, first it is to shrink the partition to 190GB, and then move it to the right? So it is not moving to the right and then shrink it, but to shrink it first and move it. (cannot move first because the original 250GB is the whole hard drive). Also, why move it to the right?

© Super User or respective owner

Related posts about gparted

Related posts about partitioning