>On Tue, 29 Jun 1999, Kedar Barve wrote:
>
> > Would like to know how to span/combine partitions in linux.
> >
> > Scenario: I have one partition of 15G, another of the same size but on a
> > different disk. The mount points are different. Currently my active
> > partition is the 1st one and data gets added on to it on a daily basis. 
>When
> > atleast more than 90% of the space is utilised, I want to utilize the 
>2nd
> > free partition. In short I want to append it, the scripts creating data 
>on
> > the 1st partition never know that a new disk has been appended...
>
>Hi,
>       Welcome to the Gang! One of the simplest solutions is to mount
>both disks (at different mount points). Never write to any one mount
>point directly. ie. suppose you have the disks mounted under /disk1
>and /disk2. Creat a link in the root (/) to /disk1. ie.
>       ln -sf /disk1 /mymount
>ALWAYS WRITE ONLY TO THE LINK, ie. /mymount.
>When your first disk is filling up, at a particular point, have a script 
> >detect it, stop all disk activity temporarily, change the link
>'/mymount' from /disk1 to /disk2.
>This automatically transfers all control to your second disk. Now you can 
> >resume all disk activity.
>
>However, since you're using disks of the magnitude of 15GB, I would assume 
> >that your system's response (as in time taken) is critical. Here, I would 
> >suggest a hardware raid controller. This will greately boost your disk 
> >performance.

Hi Vinod,

Thx. for u'r response. I am looking forward towards a hardware raid 
controller. In the above process, i can switch over, but in this case my 1st 
disk becomes inactive as the sym link has changed, so data cannot be 
read/written onto that disk, as the symlink points to the new disk. The 
progs. on my system will need to refer data from the old disks also as well 
as the new ones added. The trend will always be the higher side.

My cause of concern is that: "is there any way in which i can mount both the 
disk partitions under a SINGLE mount point (so i can get 30G for data 
storage)". I heard about MD (Multiple Disks). can MD be used??
I want to use it as an interim solution, till raid is not in place.

Thanks again.
Kedar :-)



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to