You are not logged in.
Some time ago I read this http://www.phoronix.com/scan.php?page=n … px=MTA0MDg
How can I shrink my partition? I would like to do it online.
Thank you
Last edited by work (2012-04-06 18:03:52)
Offline
I would only perform online resizing if absolutely necessary, I'd say the preferred line of action is to backup all data in the partitions to be affected, do whatever changes are desired and copy everything back. As a bonus you get defragmented partitions and no legacy from older fs version since everything is newly created. It might also be faster than moving data from/to the same disk (depends on the disks/interfaces used).
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Agreed... Rsync is your friend.
Offline
First you have to shrink the filesystem, only after that you may shrink the partition/volume. Be sure not to shrink it more than you have shrank your filesystem. When I do this stuff, I always shrink the filesystem more than I really want to (say -100MB), then I resize the partition and after that I let the filesystem to grow over the newly resized partition.
But as guys up here said, it's always risky and you're not suppose to do it unless absolutely necessary.
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline
Thank you for your hints, I will follow the safe way and I will do as you said
Last edited by work (2012-04-06 18:04:19)
Offline