LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Partition Full (https://www.linuxquestions.org/questions/linux-general-1/partition-full-306883/)

listlow 03-28-2005 01:19 AM

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.

acid_kewpie 03-28-2005 02:25 AM

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.

listlow 03-28-2005 02:44 AM

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

acid_kewpie 03-28-2005 02:48 AM

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.

listlow 03-28-2005 09:42 PM

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.


All times are GMT -5. The time now is 05:26 AM.