LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-28-2005, 01:19 AM   #1
listlow
LQ Newbie
 
Registered: Mar 2005
Posts: 10

Rep: Reputation: 0
Question Partition Full


Hi,

On my slackwave server, one of the partition have reached the space limit, i have bought a new hard disk, and i am going to slot in the new harddisk and partition it, i was thinking is there any way to keep my old partition file to store on the new partition without removing my old partition.

Like example:- old partition -> /local/notedata, new partition -> /local/New_notedata, make a link in between the notedata folder and New_notedata folder, instead of redirecting application to store the database in the New_notedata, remain the database path to continue store on old partition notedata and the actual data will store in the New_database partition.

pls advise me what is the best ways to help me to solve this problem.

Your help is very appreciates.
 
Old 03-28-2005, 02:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you basically mean you want to somehow implicitly create all new fiels on one partition, but read data from another without modifying anything, then you can't achieve that. you can always crete symlinks between certain old files that the system will need, to the new location using "ln" but that's not going to be a scalable solution... depends what kind fo data this actually is.
 
Old 03-28-2005, 02:44 AM   #3
listlow
LQ Newbie
 
Registered: Mar 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Yeah, i have read alot of info about the "ln", even now i am thinking can you link up two different folder in differ partition together, like old partition /local/notedata and new partiton will be mount on /local/New_notedata. with these 2 partition with folder can i used "ln" to link up together?? i am not sure, i didnt use "ln" b4 and i knew that is mainly for shotcut purposes.

pls advise me, maybe you can share with your experience, what will you do if this happen to you.

Your help will be very apprieciates.

Thanks
 
Old 03-28-2005, 02:48 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can't "join things together". there is a way to actaully take two file systems and merge them into one, either via raid or LVM2, but this is not fun nor easy to do... all ln will be able to do is to say that if something wants to access a certain file, e.g. /local/_new_notedata/an_old_file, then you can redirect it to actually open /local/nodedata/an_old_file but this is either per file or per directory.
 
Old 03-28-2005, 09:42 PM   #5
listlow
LQ Newbie
 
Registered: Mar 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for you advised, i have done with using "ln" for creating a folder shotcut. This is the easiest way to do it, but i understand there is not scalable solution, we will try to figure it out again.

Thanks for you help again, very appreciates.
 
  


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
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 06:41 AM
What Happens when your partition is full? Echo Kilo Linux - General 4 05-30-2005 07:36 PM
Full Partition PhuckFonix Linux - Newbie 4 05-09-2004 04:55 PM
why the partition is full? xyfan Linux - Newbie 4 11-09-2003 05:24 PM
Partition full BinaryBob Linux - Software 5 04-22-2003 02:23 PM

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

All times are GMT -5. The time now is 04:08 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