Article 5SNQN Help with partitioning - shrink an Extended Partition

Help with partitioning - shrink an Extended Partition

by
Milo4t
from LinuxQuestions.org on (#5SNQN)
Hello all. Just wondering if the assembled wisdom could assist me with this problem.

I have previously mucked around (successfully) with re-sizing & moving partitions, but that was with primary partitions when there was spare space to do it - and not dealing with an Extended partition.

I have a drive containing several partitions, one being /var. /var is now full, I can't print or install updates. I could expand /var by 1.6Gb that is free to the right of it (not enough for what I want), but I want to double the size of /var but I am hampered by the fact that the partition to the right (see screen shot) is an Extended partition containing a Logical partition which takes up the rest of the room to the end of the drive.

My question is, to create the required space to expand /var, do I first have to shrink the Logical partition /dev/sdc5, then shrink and move the Extended partition (/dev/sdc4) to the right thus creating some spare space that I can expand /var into?

I found another problem on here similar to this from a few years ago, but the person had an extended partition containing swap in the middle of other primary partitions, so not quite the same.

I don't have any experience with re-sizing Extended partitions and I just don't want to be mucking around with this, not knowing and not being comfortable with what I'm doing, and completely mucking the drive up.

Any help greatly appreciated.
Attached Thumbnailsattachment.php?attachmentid=37797&stc=1& latest?d=yIl2AUoC8zA latest?i=ygoyBt5yFdc:rsKH_VGCVOA:F7zBnMy latest?i=ygoyBt5yFdc:rsKH_VGCVOA:V_sGLiP latest?d=qj6IDK7rITs latest?i=ygoyBt5yFdc:rsKH_VGCVOA:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments