[SunHELP] help w/ unmirroring swap

Ajit Datey ajit at datey.org
Wed Sep 29 16:07:00 CDT 2004


Hi! Most probably you are getting this error because /dev/md/dsk/d1 is the
only swap space you have.

Break the mirror first.

metadetach d1 d11 (where d11 is the submirror -- associated with
/dev/dsk/c0t1d0s1)
metaclear d11
swap -a /dev/dsk/c0t1d0s1
swap -d /dev/md/dsk/d1
metaclear -r d1
swap -a  /dev/dsk/c0t0d0s1

Update /etc/vfstab to reflect the changes to swap.

Ajit

----- Original Message ----- 
From: "Edward Chase" <echase at studentweb.providence.edu>
To: "'The SunHELP List'" <sunhelp at sunhelp.org>
Sent: Wednesday, September 29, 2004 4:38 PM
Subject: RE: [SunHELP] help w/ unmirroring swap


> Problem...
>
> # swap -d /dev/md/dsk/d1
> /dev/md/dsk/d1: Not enough space
>
> Now should I just reboot?
>
>
>
> > -----Original Message-----
> > From: sunhelp-bounces at sunhelp.org
> > [mailto:sunhelp-bounces at sunhelp.org] On Behalf Of Dale Ghent
> > Sent: Wednesday, September 29, 2004 4:31 PM
> > To: The SunHELP List
> > Subject: Re: [SunHELP] help w/ unmirroring swap
> >
> >
> > On Sep 29, 2004, at 4:01 PM, Edward Chase wrote:
> >
> > >
> > > Would the easiest way be to just alter the vfstab file and reboot?
> >
> > No, not at all.
> >
> > swap -d /dev/md/dsk/d1
> > metaclear d1
> > swap -a /dev/dsk/c0t0d0s1
> > swap -a /dev/dsk/c0t1d0s1
> >
> > Remember to reflect your changes in /etc/vfstab
> >
> > /dale
> >
> > Dale Ghent - UNIX Systems Specialist
> > UMBC Office of Information Technology
> > ECS201 - x58205 -  daleg [] umbc ! edu
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>



More information about the SunHELP mailing list