[SunHELP] help w/ unmirroring swap

Phil Stracchino alaric at caerllewys.net
Wed Sep 29 15:11:43 CDT 2004

On Wed, Sep 29, 2004 at 04:01:21PM -0400, Edward Chase wrote:
> Currently I have a Solaris 9 box that has a mirrored swap space.  We have a
> quick need to increase swap space.  I'm thinking that I can unmirror swap
> and then turn on both partitions as swap.  I'll get double the current swap
> and lose the protection that mirroring provides.
> Would the easiest way be to just alter the vfstab file and reboot?
> The current entry is
> /dev/md/dsk/d1  -       -       swap    -       no      -
> If I was to just replace it with
> /dev/dsk/c0t0d0s1       -       -       swap    -       no      -
> /dev/dsk/c0t1d0s1       -       -       swap    -       no      -
> Would that work?  Or do I have to worry at all about the metadevice, d1?

Actually, you don't even need to bounce the box.  Disable swap, delete
the metadevice, alter vfstab, re-enable swap.  Bam, you're done.

  ========== Fight Back!  It may not be just YOUR life at risk. ==========
  alaric at caerllewys.net : phil-stracchino at earthlink.net : phil at novylen.net
   phil stracchino : unix ronin : renaissance man : mystic zen biker geek
     2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)
           Linux Now!  ...Friends don't let friends use Microsoft.

More information about the SunHELP mailing list