July 11, 2008 at 3:16 pm
· Filed under Scripts, Soalris X86, Solaris, Solaris 10, Solaris Sparc, Veritas Volume Manager
1. Detach each submirror
ex. metadetach -f d0 d20
d0: submirror d20 is detached
2. Clear each submirror
ex. metaclear d20
d20: Concat/Stripe is cleared
3. Delete the db replica on the failed drive (you can find the replica output by issuing metadb command with no arguments):
ex. metadb -d c0t2d0s7
4. Remove failed drive. Replace with new drive.
5. Run the format command and place the correct partition table, using the layout of the non-replaced drive.
6. re-create the metadb replica on the new disk
ex. metadb -a c0t2d0s7
7. Run metainit for each replaced submirror
ex. metainit d21 1 1 c0t2d0s1
d21: Concat/Stripe is setup
8. Run metattach for each submirror
ex. metattach d0 d20
d0: submirror d20 is attached
ex. metattach d1 d21
d1: submirror d21 is attached
Permalink
December 10, 2007 at 8:42 am
· Filed under Solaris, Solaris 10
root@solaris# zlogin zone1
[Connected to zone 'zone1' pts/2]
Last login: Mon Dec 10 10:24:53 on pts/2
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have new mail.
#
Permalink
December 10, 2007 at 8:37 am
· Filed under Solaris, Solaris 10
root@solaris# zoneadm list -v
ID NAME STATUS PATH
0 global running /
2 zone1 running /zones/zone1
Permalink
October 18, 2007 at 5:50 am
· Filed under Soalris X86, Solaris, Solaris 10
# svcs |grep ftp
blank humm?
# svcadm -v enable ftp
svc:/network/ftp:default enabled.
# svcs|grep ftp
online 9:06:54 svc:/network/ftp:default
It seams to work even though it is not listed.
Permalink
September 27, 2007 at 10:38 am
· Filed under Soalris X86, Solaris, Solaris 10, Solaris Sparc
root@server#svcadm enable ntp
root@server#svcs |grep ntp
online 13:35:01 svc:/network/ntp:default
[root@server# ps -ef|grep ntp
root 1459 1188 0 13:37:23 console 0:00 grep ntp
root 1393 1 0 13:35:01 ? 0:00 /usr/lib/inet/xntpd
Permalink