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.
I want to increase the size of my "Home" folder. I use it for all my work, music and videos. The partition is 200Gbs and I am using 28Gbs. To me, that means that I have 178Gbs left, but no, I keep getting the message "You only have 645Mbs of space left". Why is this, and how do I resolve it. I looked at "properties for my home folder and it says :-
NAME:- colin
TYPE:- Folder(inode/directory)
CONTENTS:- 354 items, totalling 6.2GB
LOCATION:- on the desktop
VOLUME:- unknown
FREE SPACE:- 702.8MB.
I would appreciate it if someone could tell me how to increase the size of this folder in a simple manner.
EDIT 2: from the command output already given, your /home directory is on the / file system. To increase the space available for files in your /home directory you must increase the size of the / file system or put /home on another file system. Hopefully someone will explain how / is on /dev/loop0.
You have 169G free in /host partition. You can link your home directory with a folder on /host partition and then copy all you files from home directory to that new folder.
Login as root
This is what I get when I try hostmasters fix, and when I run fdisk -l
root@mint:/home/colin# cd /
root@mint:/# mkdir /host/myhome
mkdir: cannot create directory `/host/myhome': File exists
root@mint:/# mv home/colin /host/myhome
mv: inter-device move failed: `home/colin' to `/host/myhome/colin'; unable to remove target: Is a directory
root@mint:/# mv /home/* /host/myhome
mv: inter-device move failed: `/home/colin' to `/host/myhome/colin'; unable to remove target: Is a directory
Hostmaster's suggestion was good but there were a couple of problems.
When following a procedure like that it's a good idea to stop when the system gives an error message. The first problem was that /host/myhome already exists, so use /host/<something else> that does not exist, maybe /host/h -- but use /bin/ls -l /host to see what's in /host first.
The second problem was that /host/myhome/colin also exists. Have you already tried moving your home directory onto /hosts? Were you trying to run the same commands again?
I hope you did not run the final rm -f /home because that would have deleted /home and all the files under it, and the error messages show that they would not have been copied anywhere else first!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.