Yes, Linux swap managing is quite "intelligent". Imagine you have 2
modern harddisks hda and hdc, and an old slow one hde. In that case you
may want to swap splitting into hda and hdc, and only if they both are
full up it will use the old hde. You could do this complicated scenario
by putting in /etc/fstab the entries (I used partition numbers just to
show an example):

/dev/hda11 swap swap defaults,pri=1 0 0
/dev/hdc13 swap swap defaults,pri=1 0 0
/dev/hde5  swap swap defaults,pri=2 0 0


As if by magic, isn't it?  =8-O





El mié, 08-10-2003 a las 21:19, Norman Zhang escribió:
> Hi,
> 
> >> I'm running software RAID on 9.0. I would like ask what's the best way of
> >> setting the swap partition? I currently have two swap partitions of
> >> identical (not mirrored) setup on both drives. I heard mirroring swap is
> >> waste of time.
> >
> > you heard right. Best set up is this:
> >
> > X = total RAM * 2, rounded up to the nearest gig
> >
> > DISK1:
> > Partition 1 of size X/3
> > Partition 2 = remaining capacity
> > DISK2:
> > Partition 1 of size X/3
> > Partition 2 = remaining capacity
> > DISK3:
> > Partition 1 of size X/3
> > Partition 2 = remaining capacity
> 
> So it is a good practice to setup multiple swap partitions on different
> drives. LM knows how make best use of it?
> 
> Regards,
> Norman
> 
> 
> 
> 
> 
> ----
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
           Diego  Dominguez                 
              __/\__  
             |      | 
 Andalucia  /        \  Spain
            \        /
             |__  __| 
                \/    



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to