LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 09-05-2006, 10:54 AM   #1
rmakers
Member
 
Registered: Jan 2005
Location: Ann Arbor MI
Distribution: Mandriva 2006
Posts: 99

Rep: Reputation: 15
hard drive space in mandriva


I am running mandriva 2006 on my toshba laptop, and when I originaly installed it (10.1 then, a updated to 2006) I used it's default partition table which gave me a rather large /home partition and significantly smaller / partition, but it seems to install things (from rpm/mandriva repository) into my / partition. So now I am basicly out of space on / but have plenty on /home. I'de rather not reinstall/repartition. There is only one user on my computer (2 if you include root). Is there a way to make it install things into /home/(username) insted of /usr? Is there something else I should be considering? Is there a way to easily move the already installed programs to /home? Any suggestions are appreciated.
 
Old 09-06-2006, 05:02 AM   #2
dexter11
Member
 
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
You didn't write the size of your partitions. If / is smaller than your home dir, how about changing the two?
 
Old 09-06-2006, 08:42 AM   #3
rmakers
Member
 
Registered: Jan 2005
Location: Ann Arbor MI
Distribution: Mandriva 2006
Posts: 99

Original Poster
Rep: Reputation: 15
partition sizes

my / is 5.8 GB and my /home is 26 GB, switching them would involve reinstalling right? hoping to avoid that.
 
Old 09-06-2006, 04:45 PM   #4
tytower
Member
 
Registered: Jun 2006
Location: Oz
Distribution: Mandriva 10.0,10.1,10.2,2006,Mepis 6.0,Opensuse10.2,Puppy 2.14
Posts: 250

Rep: Reputation: 30
Similar problem only two weeks ago -search this forum for last month
 
Old 09-13-2006, 06:26 AM   #5
noranthon
Member
 
Registered: Apr 2006
Location: Australia
Distribution: PCLinuxOS with Xfce
Posts: 301

Rep: Reputation: 30
I've just rediscovered this command, which will tell you which main folders are taking up space: du -s /*

There is a small chance that it's something you can remove or transfer to /home.

That's only likely to be a temporary measure. I cannot see much being achieved without reordering your partitions.

If you want to avoid reinstalling, have a look at DAR as a method of backing up everything. It is on the system rescue cd and I can give you some links if you reach that point.

I don't know how far you'll get searching for a similar thread during the past month. There's nothing that recent in the list at the bottom of the page in my browser.

EDIT: It's just occurred to me that you could use links to maintain the correct position of folders moved to the /home partition. It would get complicated and would provide at best only a temporary solution. I think I would back up and restore to better locations.

Last edited by noranthon; 09-13-2006 at 07:47 AM.
 
Old 09-13-2006, 08:19 AM   #6
dexter11
Member
 
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
Quote:
Originally Posted by rmakers
my / is 5.8 GB and my /home is 26 GB, switching them would involve reinstalling right? hoping to avoid that.
Not really. I meant that you make a backup of both your partitions. Then copy the contents of your / to your /home partition. Reinstall/modify bootloader and /etc/fstab to boot from your new / partition and mount your old / as your new home partition.
The question is how much of your current home dir is used. If it's more than 5.8 GB then you have to resize your partitions and do a clean install.
 
Old 09-15-2006, 07:21 AM   #7
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,604

Rep: Reputation: 47
Quote:
my / is 5.8 GB
surely should be enough; there must packages you can remove because
you never use them
rpmdrake-remove

check size of /var/log
very often people accumulate huge logs there

finally risky: how about deleting swap partition
so its space can be merged with /
and then resizing /home to create a new swap
(very risky and watch out partition might get renumbered)
you have been warned, backup
(assuming partition in the order / swap /home)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not enough hard drive space? doxford Red Hat 1 07-04-2005 01:33 PM
Hard Drive Space exaudiomag Linux - Newbie 3 01-05-2005 06:47 PM
Hard Drive space doralsoral Linux - Software 1 11-08-2003 04:19 PM
Hard Drive Space Odd_Bloke Linux - Newbie 4 09-13-2003 08:44 AM
hard drive space, available bbenz3 Linux - General 4 03-22-2002 01:03 PM


All times are GMT -5. The time now is 07:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration