Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Using Space From /usr For /home ?, using space from /usr for /home ?
chanys
post Aug 26 2003, 10:35 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 8-August 03
Member No.: 1,226



Hi,

I'm quickly running out of space on /home
I've lots of space left on /usr

Is there anyway to "map" space from /usr to /home without doing another reinstallation?

Your help will be greatly appreciated!
Yee Seng.
Go to the top of the page
 
+Quote Post
hughesjr
post Aug 26 2003, 11:18 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Do you have any unpartitioned disk space on the system?

If so, you can move all the files to a temp directory, extend the /home partition using fdisk and the unpartitoned space, then copy all the files back.

If you don't have any free unpartitioned space, you could create a new directory under usr (maybe called new_home), then move several of your largest /home users (for example the users named jones and smith) to the new directory ... the command would be this:

mv /home/jones /usr/new_home/
mv /home/smith /usr/new_home/


then create a link from the new directory back to /home ...

cd /home
ln -s /usr/new_home/jones .
ln -s /usr/new_home/smith .


Now you have 2 directories (/usr/new_home/jones and /usr/new_home/smith) that used to be in /home ... but changing directories to /home/smith or /home/jones works as well...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 05:24 PM