DebianThis forum is for the discussion of Debian Linux.
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.
root@1:/home/papi# lvscan
ACTIVE '/dev/1/root' [332.00 MiB] inherit
ACTIVE '/dev/1/usr' [8.38 GiB] inherit
ACTIVE '/dev/1/var' [2.79 GiB] inherit
ACTIVE '/dev/1/swap_1' [3.86 GiB] inherit
ACTIVE '/dev/1/tmp' [380.00 MiB] inherit
ACTIVE '/dev/1/home' [77.19 GiB] inherit
root@1:/home/papi# lvdisplay /dev/mapper/1-root
--- Logical volume ---
LV Name /dev/1/root
VG Name 1
LV UUID 7sTMfS-H1tH-qI2m-cpkH-HHF8-1sAU-dBV5LO
LV Write Access read/write
LV Status available
# open 1
LV Size 332.00 MiB
Current LE 83
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
When I try to extend:
root@1:/home/papi# lvextend -L +5G /dev/mapper/1-root
Extending logical volume root to 5.32 GiB
Insufficient free space: 1280 extents needed, but only 0 available
root@1:/home/papi# lvextend -L +5G /dev/mapper/1-root /dev/mapper/1-home
Physical Volume "/dev/mapper/1-home" not found in Volume Group "1"
I don't Know how to liberate space from '/dev/1/home' to add it to '/dev/1/root'.
The first removes packages you no longer need (be careful as it can break stuff!) the 2nd clears out the cache. Run as root. If that doesn't get you enough, back up your data and reinstall, giving / more space: 322 MB is way to little! All partitions on my systems (desktop+server) are at least 1 GB, and more if and where appropriate. (even my desktops have a server-like partition layout, separating /, /boot, /var, /usr and of course /home)
The first removes packages you no longer need (be careful as it can break stuff!) the 2nd clears out the cache. Run as root. If that doesn't get you enough, back up your data and reinstall, giving / more space: 322 MB is way to little! All partitions on my systems (desktop+server) are at least 1 GB, and more if and where appropriate. (even my desktops have a server-like partition layout, separating /, /boot, /var, /usr and of course /home)
Thanks for your quick answer. But I've tried the reinstallation twice, this will be the third and I don't know how to specify the size for root partition. Do you know any URL where explain this?. I'm sorry but I'm rookie in Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.