LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-11-2013, 07:58 PM   #1
aoscott
LQ Newbie
 
Registered: Mar 2013
Location: Oakland, CA
Posts: 23

Rep: Reputation: Disabled
File system layout problem


This is probably real basic.

I have a server with the foot file system with 6 GB alotted. I installed an application rpm with does not log to /var by default. As a result the root file system filled rapidly.

My question-- Is there any way to change a directory to a sym link to another directory on a partition with more storage? I think this may involve moving all the files and sub folders of the directory to another directory or partition. Then deleting that directory and creating a symlink. Move the files to the location the symlink points too.

Please correctd me where I'm going wrong.
 
Old 04-12-2013, 12:51 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
yes, in general it is ok. But usually it should be a mount point, not a symbolic link.
and one more thing:
removing /var or /usr or /etc or a similar directory from a living OS will destroy it immediately, so you will not be able to complete this task. You would need to boot another OS (liveCD)

Last edited by pan64; 04-12-2013 at 12:59 AM. Reason: added info
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to change the keyboard layout for the entire system? JohnV2 Slackware 3 02-25-2012 01:38 AM
[SOLVED] How can I change my keyboard layout after intalled the system already? ggyyree Linux - Newbie 3 11-04-2009 08:55 AM
LXer: Choosing the right Linux File System Layout using a Top-Bottom Process LXer Syndicated Linux News 0 08-01-2009 10:10 PM
file system layout wizardmax Linux - Newbie 4 09-16-2004 12:26 PM
changing desktop layout for all users of one system k4zau Linux - Software 0 09-06-2003 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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