Map allocated space from Storage device to existing partition
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Map allocated space from Storage device to existing partition
Dear Team,
i just received some new space from storage and verified it is allocated on the server by multipath command. now i want to resize the existing partition. Please help me for the same.
In my limited knowledge this could be tricky if you want to keep your existing data on that 600G partition intact.
You should be using LVM for this type of as its very easy to extend, shrink and add more capacity to partitions as your needs grow.
What file system do you have currently on that 600G partition?
One way out of this may be to boot into a rescue CD and with parition magic extend your partition, although you may have issues getting these mounted in that environment.
By all means try it but make sure you have a backup of your data.
The thing I am not sure of is if the procedure you outlined, will resize a disk that is already added to the server, or whether that you want to merge two multipath devices to the one 'map' partition.
Short answer: you can't. What you can do is dump/tar the filesystem, build a new LVM2 volume group from the two LUNs, then carve out a logical volume of the desired size and restore the data you backed up.
The lazysystemadmin and RH URIs are not relevant in your case. Those are referring to a LUN that's been resized on the back end. You, instead, have two separate LUNs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.