LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-07-2006, 03:47 PM   #1
mr_dizzle
Newbie
 
Registered: Oct 2003
Posts: 27

Rep: Reputation: 15
How to mount a directory?


One of my servers has most of the drive space allocated to /home.
There is also a mount for /usr but not that much space is allocated to it.
All of the install/set-up scripts I have use the path of /usr.

Is there a way to allocate all of the space from /home to /usr and kill /home ?

Or should I mount /usr/local/apache (i want this directory) with the space from /home ?

I guess I am asking how to mount the space from /home to /usr/local/apache ??

I'm using ext3.

Thanks for you help.
 
Old 01-07-2006, 08:49 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Is there a way to allocate all of the space from /home to /usr and kill /home ?

If you backup /home, you can do that. Backup /home, umount /home and create instead of 1 partition 2 partitions. 1 part for /home, the other one for /usr (as desired).
 
Old 01-07-2006, 08:49 PM   #3
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Is there a way to allocate all of the space from /home to /usr and kill /home ?

If you backup /home, you can do that. Backup /home, umount /home and create instead of 1 partition 2 partitions. 1 part for /home, the other one for /usr (as desired).
 
Old 01-08-2006, 01:12 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
But it is not easy to move an existing /usr
 
Old 01-08-2006, 01:26 AM   #5
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
why not just make a symbolic link from the full partition to the empty one?

Regards,

Alunduil
 
Old 01-08-2006, 05:20 PM   #6
mr_dizzle
Newbie
 
Registered: Oct 2003
Posts: 27

Original Poster
Rep: Reputation: 15
yeah, the symlink works and is probably the easiest way to fix.

thanks
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
mount:not a directory. Suse dvd mount problem tzanis Linux - General 8 11-06-2005 11:30 AM
mount: Not a directory perturbation Red Hat 14 06-26-2005 12:47 AM
how to mount a directory Johng Linux - General 6 04-21-2005 06:41 AM
mount a directory Magas Slackware 1 08-04-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration