Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-06-2014, 04:02 AM
|
#1
|
Member
Registered: Dec 2005
Location: Villahermosa, Bucharest, Birminham, Brooklyn, Beverly
Distribution: Mandriva
Posts: 118
Rep:
|
Running out of space on root partition
I am running out of space with >1.1GB available. I have almost 44G free on my home. I want to change the mountpoint on my fstab but I am still a bit nervous if it will work.
Currently there is 7GB between /usr and /lib, I want to create an ISO file, and mouth it and change the mount points to that partition.
Another more traditional way is to resize my home and create new partitions for folders like /var/ or /usr/
Please help me decide which course of action to take.
|
|
|
08-06-2014, 05:40 AM
|
#2
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Try gparted-live-cd/usb to resize partitions
http://gparted.org/
post output of
|
|
|
08-06-2014, 07:50 AM
|
#3
|
Member
Registered: Dec 2005
Location: Villahermosa, Bucharest, Birminham, Brooklyn, Beverly
Distribution: Mandriva
Posts: 118
Original Poster
Rep:
|
I need to be non-destructive resizing.
|
|
|
08-06-2014, 08:27 AM
|
#4
|
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281
|
gparted has that ability to non-destructive resize, however there is no guarantee that everything goes well so backup recommended (it is recommended anyway). When I get into free space on / problem due underestimation of partition size, I have created on my /home folders for /usr, /opt, /srv etc. and symlinked them to /. This is temporary solution, but there is nothing wrong with this (besides someone can have for example noexec on home, probably bind mount can help, but I did not tested it).
|
|
|
08-06-2014, 08:51 AM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,047
|
Quote:
I am running out of space with >1.1GB available. I have almost 44G free on my home
|
Running out of space on what, the / partition. If you have free space in the separate /home partition, you should be able to use GParted from a Live CD/flash drive to shrink it. Don't do it from GParted installed on your system.
Quote:
I want to change the mountpoint on my fstab but I am still a bit nervous if it will work.
|
Change the mount point of what to what? You say you have 7GB between /usr and /lib meaning each is on a separate partition. If that is the case, just create a mount point somewhere (/mnt directory) and then use to create a partition there and mount the filesystem. You could also shrink your home partition and do the same. I'm not sure exactly what you are trying to do, what your end goal is. If you want to create an iso and mount it you can do that in your /home partition. You might post more details on your final goal.
Changing partitions is not something trivial so if you have any important data, you need to back up before doing anything. For new users, it is generally a lot simpler to have a / and swap partitions then create different partitons for all these directories.
|
|
|
08-07-2014, 01:00 AM
|
#6
|
Member
Registered: Dec 2005
Location: Villahermosa, Bucharest, Birminham, Brooklyn, Beverly
Distribution: Mandriva
Posts: 118
Original Poster
Rep:
|
Well is exactly cuz I dont have the means to backup a 100GB partition atm that I want to do it the less intrussive possible. someone suggested to do a binary ball.
Like mkisofs -T -O <somefile>.iso /var; then edit the fstab as in mount -o loop <somefile>.iso /var
That way I dont really mess up with the partition table and can always make quick fixes if problems arrise in the future, like extending the filesize or generating other iso files.
Can anyone share any possible risk on going this route?
|
|
|
08-07-2014, 04:03 AM
|
#7
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Can you post output of & Also use code or Quote tags around commands.
Last edited by EDDY1; 08-07-2014 at 04:05 AM.
|
|
|
08-07-2014, 06:49 AM
|
#8
|
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281
|
As I known iso filesystem is not writable. It also include additional garbage data (headers, etc.). Why just not make copy of /var into directory on free space and mount it with "mount --bind /partition_with_free_space/var /var".
|
|
|
All times are GMT -5. The time now is 11:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|