LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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



Reply
 
Search this Thread
Old 06-04-2005, 07:27 AM   #1
varunbihani
Member
 
Registered: Jul 2003
Location: indore, india
Posts: 69

Rep: Reputation: 15
Soft Links


I have just purchased a new server with single large partition (70gb out of 80gb).
That single partition is mounted on folder named "home".

rest of the space has been alocated to swap, root, var, usr etc..

Now my mysql database's data and email comes in folder "/var" .
Now /var has very less space. wat can I do so that my mails and database stores in that large partition..

May be creating a soft link ... I do not know what should I do actually..
Please help me what and how to do that

thx
 
Old 06-04-2005, 08:50 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
OK - I guess you could delete /var and then create a link in / called var which points to /home/var ...

Or you could read through the mysql documentation to find out how to configure mysql so that it puts it's email et al in another directory.
 
Old 06-04-2005, 11:26 AM   #3
varunbihani
Member
 
Registered: Jul 2003
Location: indore, india
Posts: 69

Original Poster
Rep: Reputation: 15
well that is nice reply..
1 more query..
as I told u that there is only 1 partition mounted on "/home" now can I rename this folder "/home" to the folder "/data" and create a new folder named "/home" inside "/data"..
 
Old 06-05-2005, 12:42 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
You do this the same way you'd normally do it.
You may need to unmount the volume to change the name of the mountpoint.
If you do, make sure you remount it on the newly renamed mountpoint before you add anything to it.
Remember to edit fstab to reflect the changes.

Yes it would be simpler just to list the steps - but you learn more if you have to figure it out.
 
  


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
links (hard links and soft links..) sachitha Programming 1 08-10-2005 01:10 PM
Hard/Soft Links nodger Linux - General 1 05-15-2004 11:36 AM
Soft Links tonphi Red Hat 1 09-22-2003 10:20 PM
weird soft links guanyu Linux - General 1 03-16-2002 12:55 PM
Soft Links Resqtech Linux - Newbie 4 08-26-2001 11:00 AM


All times are GMT -5. The time now is 06:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration