Technical Discussion
  >> Linux Issues


Register (or login) on our website and you will not see this ad.


  Print Thread
Standard User think26872
(committed) Wed 06-Nov-13 10:48:02
Print Post

gparted - does it skip empty space when moving partition?


[link to this post]
 
Has anyone used gparted recently and moved a partition?

It is going to take it ages (I can't stop it now) but the partition is only a third full.

Does anyone know if when it gets to free sectors does it speed up?

I have tried searching but getting conflicting answers.

Thanks
Standard User Lethe
(fountain of knowledge) Wed 06-Nov-13 11:00:44
Print Post

Re: gparted - does it skip empty space when moving partition


[re: think26872] [link to this post]
 
I doubt it skips empty space as gparted doesn't care (or know) what the data is, it just has to preserve it!

Ref. the slowness, it can take a while - see here:

http://ubuntuforums.org/archive/index.php/t-762685.html

Nick
Standard User think26872
(committed) Wed 06-Nov-13 11:23:14
Print Post

Re: gparted - does it skip empty space when moving partition


[re: Lethe] [link to this post]
 
Thanks - I was hoping after 4 or 5 years things might have changed smile

Now wishing I never started it going to have to leave it overnight if it does not skip empty space!


Register (or login) on our website and you will not see this ad.

Standard User Lethe
(fountain of knowledge) Thu 07-Nov-13 11:06:33
Print Post

Re: gparted - does it skip empty space when moving partition


[re: think26872] [link to this post]
 
Well, did everything go OK? And how long in the end (also what size[s] of data was you moving around)?

Nick
Standard User think26872
(committed) Thu 07-Nov-13 16:56:56
Print Post

Re: gparted - does it skip empty space when moving partition


[re: Lethe] [link to this post]
 
I have simplified the figures below all are very approximate.

It seemed to copy free sectors about 50% quicker.

900GB (300GB full) took 9 hrs (approx 100GB per hour overall).

I should have resized the partition to 325GB, then moved the 325GB partition, then resized back to 900GB. That would have been many hours quicker as it would not have been moving 100's GB of nothing.

Edited by think26872 (Thu 07-Nov-13 16:57:22)

Standard User Lethe
(fountain of knowledge) Thu 07-Nov-13 16:59:03
Print Post

Re: gparted - does it skip empty space when moving partition


[re: think26872] [link to this post]
 
Geez... 900GB. No wonder it took so long.

Crikey. You really made it work.

Nick

EDIT: OK, maybe later versions of parted now do query FS state and know what is current data as opposed to 'empty' space but with random nonsense in them (that in noraml operations would be overwritten anyhow). But still, 900 GB - that is amazing.

Edited by Lethe (Thu 07-Nov-13 17:02:38)

Standard User billford
(elder) Thu 07-Nov-13 17:14:20
Print Post

Re: gparted - does it skip empty space when moving partition


[re: Lethe] [link to this post]
 
In reply to a post by Lethe:
But still, 900 GB - that is amazing.
Not really- it would only be about 70% of my iTunes library tongue

Needless to say, I don't move that around if I can avoid it!

Bill
A level playing field is level in both directions.

__________Fold at Home_________________Planes and Boats and ... ______________BQMs: IPv4 IPv6
Standard User Lethe
(fountain of knowledge) Thu 07-Nov-13 17:23:33
Print Post

Re: gparted - does it skip empty space when moving partition


[re: billford] [link to this post]
 
Heh, no not moving data, but REPARTITIONING 900GB of data on a disk.

Moving data around in GNU/Linux is easy.

Nick
  Print Thread

Jump to