Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After several years of using my PCLinuxOS/XFCE install, I find that the partitions sizes I settled on are not optimal: /var is too big, and /usr too small, probably because of all the progs I have been adding over the years.
Luckily the /var and /usr partitions are contiguous, which should simplify the process.
My idea is to boot a gparted live-cd/usb, shrink and move /var up, and expand /usr.
Since the partitions UUIDs remain untouched, mdadm.conf would remain unchanged.
Distribution: Ubuntu based stuff for the most part
Posts: 1,173
Rep:
Seems like you have it, but first use Clonezilla or other tool to make a backup of the entire disk so you can restore if things do go wrong.
I have not done resizing on a system with RIAD, so I may be missing something.
I would suggest read very carefully the supported features for gparted. It's a very good tool, but not (yet) magic.
You need to be cognisant of the separation of the filesystem from mdadm - they need to be managed separately and in the correct order. Especially when shrinking.
There are ways to do things as you describe, but you need the "magic" in place first - say btrfs/zfs or LVM RAID. For a "normal" mdadm setup, you have to do all the legwork correctly - quick search found this for example.
I always presume you have a verified B-A-C-K-U-P before taking any advice given.
Thank you for the kind advice.
Before making any change on one of the RAID HDs, I plan to clone it, so that if it comes to the worst, I can swap the un-modified clone to restore my system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.