Hi!

I have an autodetecting RAID1 swap set. The kernel does so all the work for
me...

        Thomas

On Sat, Apr 01, 2000 at 05:06:52PM +0000, Jeff Hill wrote:
> I have a Debian system, but the swapping on RAID thread seems to have
> all been based on redhat systems. For Debian, it seems I only need to
> modify /etc/init.d/mountall.sh which currently executes:
> 
>       swapon -a 2>/dev/null
> 
> and just change it to roughly Mike Billow's
> 
> > 
> >      if [ ! -e /proc/mdstat ] || \
> >                [ `grep -ci resync /proc/mdstat` -eq 0 ] ; then
> >           swapon -a 
> >      fi
> 
> My kernel automounts my root raid, so this seems right.
> 
> Thanks in advance,
> 
> Jeff Hill
> 
> P.S. Thanks also to all of those who commented on the disk v. tape
> question. Now I'll just have to find the money to buy an 8GB, ouch.

Reply via email to