0

I have tried to move the space from one partition to the other using GParted.

GParted

But it is not working out for me, the disk seems locked (considering the key), and I have tried to unmount it:

$ sudo umount /dev/sda5
umount: /dev/sda5: not mounted

How can I move the 10GB to /dev/sda5?

5
  • 2
    The fact that the current installation uses LVM means that the answer suggested by Pilot6 as a duplicate is not a good model to follow. There are other relevant questions and answers, though; see my answer for some links. I don't think any of those is really a 100% perfect duplicate, though. – Rod Smith Apr 21 '17 at 17:25
  • The solution provided by How to resize partitions? did not provide any help. The suggestions given by @RodSmith did prove helpful. – Antenne Apr 22 '17 at 9:18
  • Ì believe it all boiled down to being part of the same mount point. – Antenne Apr 22 '17 at 9:52
  • From which partition or volume do you want to move space to which partition or volume? The (likely duplicated) answer depends on whether you want to resize an LVM volume or an LVM container. – David Foerster Apr 22 '17 at 10:21
  • Intention was to move space from /dev/sda3 to /dev/sda5 – Antenne Apr 23 '17 at 18:11
0

If you want to add the space from /dev/sda3 to /dev/sda5, then rather than resize partitions, I recommend you use LVM tools to expand the volume group, and to then add logical volumes or increase the size of existing logical volumes. There are numerous references online to how to do this, such as:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.