HI,
I received 1 respond from Phillips, John
<john.phillips@calanais.com> where we face the same
problem for disksets mounting after disabling HA, and
results in writing a rc scripts.
Attacehd is a copy of John's scripts following by the
original message.
Again, thanks John for the reply.
Here is the scripts:
===========================================
#!/bin/sh
#
SET="retailas1"
METASYNC=/usr/opt/SUNWmd/sbin/metasync
METASET=/usr/opt/SUNWmd/sbin/metaset
case "$1" in
'start')
$METASET -s $SET -f -t
$METASYNC -s $SET -r
echo "Mounting filesystems"
grep $SET /etc/vfstab | sed "s/ no / yes /" |
/usr/sbin/mountall -l
-
;;
'stop') ;;
*) echo "Usage: $0 { start | stop }"
;;
esac
============================================
Original message:
> How can i permanently reserved the ownership of a
> diskset during boot up process, and the disksets can
> be mounted via /etc/vfstab?
> I do a "metaset -s <disk_set> -t in a machine to
> become the owner of a diskset, but somehow after
> rebooting the server will caused the ownership gone,
> and have the mounting problem during boot up.
> Do i have to write a rc scripts?
> There are 4 SSAs sharing between 2 servers, running
> Solaris 2.5.1
>
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:19 CDT