SUMMARY: Mirroring swap?

From: ert weerr <sun1sol_at_yahoo.com>
Date: Mon Aug 16 2004 - 03:29:10 EDT
Gents,

Thanks everyone for the responses!!!
Here's what I've done...

mkfile 1024m /home/swapfile
swap -a /home/swapfile
swap -d /dev/dsk/c1t0d0s1

metainit -f d11 1 1 c1t0d0s1
metainit d1 -m d11

swap -a /dev/md/dsk/d1
swap -d /opt/swapfile

metainit -f d21 1 1 c1t1d0s1
metattach d1 d21

vi /etc/vfstab

And now the system uses the new, mirrored swap
file system without any reboot!
Is there any good way to test that it's really
satisfied with the new, mirrored swap?
If I issue the swap -l it shows that
the box uses the new file system.

# swap -l
swapfile             dev  swaplo blocks   free
/dev/md/dsk/d1      85,1      16 840272 840272

But I'm just not sure that it really won't have
any problem with the new settings in the future.

Thanks in advance!

Regards,

John

--- "Ryan A. Krenzischek"
<krenzischek@Encompasserve.org> wrote:

> 
> Pardon me for asking this question but I did not see
> your original
> response.  What are you using to mirror?  If it is
> veritas, you should be
> able to do this without problems.  I would just do
> it off hours when it is
> least to impact customers *just in case* something
> should happen.
> 
> Ryan
> 
> On Thu, 12 Aug 2004, ert weerr wrote:
> 
> > Guruz,
> >
> > Thanks for the heaps of responses for my mirroring
> > question!!
> >
> > I decided to always mirror the swap partitions,
> > because
> > it won't hurt, but sometimes it could be useful.
> >
> > But I'd like to mirror the swap partitions on
> those
> > production systems where the applications are
> already
> > running.
> > Can I do that without rebooting the SUN box?
> >
> > I'm afraid I can't reboot the live systems just
> > because I changed my mind...
> >
> > Thanks in advance!
> >
> > Regards,
> >
> > John
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail is new and improved - Check it out!
> > http://promotions.yahoo.com/new_mail
> > _______________________________________________
> > sunmanagers mailing list
> > sunmanagers@sunmanagers.org
> >
>
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
> >
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Aug 16 03:29:02 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:37 EST