From - Fri Sep 24 02:34:26 1999 Return-path: <dclarke@interlog.com> Envelope-to: dclarke@interlog.com Delivery-date: Tue, 15 Jun 1999 01:07:22 -0400 Received: from smtp.interlog.com ([207.34.202.37]) by mailhub2.interlog.com with esmtp (Exim 2.05 #1) id 10tlRS-0005K1-00 for dclarke@interlog.com; Tue, 15 Jun 1999 01:07:22 -0400 Received: from interlog.com (dclarke.interlog.com [204.225.242.227]) by smtp.interlog.com (8.9.1/8.9.1) with ESMTP id BAA10054 for; Tue, 15 Jun 1999 01:07:57 -0400 (EDT) Sender: dclarke@interlog.com Message-ID: <3765A667.3E745BF4@interlog.com> Date: Tue, 15 Jun 1999 06:03:35 +0500 From: Dennis Clarke <dclarke@interlog.com> X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 i86pc) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.solaris Subject: DiskSuite Step by Step ... References: <3765B041.967D7EF7@mediaone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bcc: X-SPAM-Warning: unqualified To: line X-Mozilla-Status: 9001 X-Mozilla-Status2: 00000000 X-UIDL: 554043dabef0a630ef167be42fb53ec5
$ pkginfo -l SUNWmd PKGINST: SUNWmd NAME: Solstice DiskSuite CATEGORY: system ARCH: all VERSION: 4.0,REV=1.0 BASEDIR: / VENDOR: SunSoft, a Sun Microsystems, Inc. Business DESC: SunSoft's Solstice DiskSuite PSTAMP: airjazz950414160211 INSTDATE: Dec 11 1998 13:40 VSTOCK: 258-4903-10 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 75 installed pathnames 41 shared pathnames 22 directories 23 executables 6948 blocks used (approx) |
$ pkginfo -l SUNWmd PKGINST: SUNWmd NAME: Solstice DiskSuite CATEGORY: system ARCH: sparc VERSION: 4.2,REV=1998.02.09.12.47.28 BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: Solstice DiskSuite PSTAMP: 09/02/98-13:04:05 INSTDATE: May 29 1999 00:08 VSTOCK: 258-6252-11 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 95 installed pathnames 22 shared pathnames 25 directories 37 executables 13496 blocks used (approx) |
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t1d0 |
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 |
format> curr Current Disk = c0t1d0 |
format> curr Current Disk = c0t3d0 |
PATH=/usr/sbin:/usr/bin:/usr/opt/SUNWmd/sbin;export PATH |
# metadb -a -c 2 -f /dev/dsk/c0t3d0s4 /dev/dsk/c0t1d0s4 |
* Begin MDD database info (do not edit) set md:mddb_bootlist1="sd:28:16 sd:28:1050 sd:12:16 sd:12:1050" * End MDD database info (do not edit) |
# metadb -i flags first blk block count a m p luo 16 1034 /dev/dsk/c0t3d0s4 a p luo 1050 1034 /dev/dsk/c0t3d0s4 a p luo 16 1034 /dev/dsk/c0t1d0s4 a p luo 1050 1034 /dev/dsk/c0t1d0s4 o - replica active prior to last mddb configuration change u - replica is up to date l - locator for this replica was read successfully c - replica's location was in /etc/opt/SUNWmd/mddb.cf p - replica's location was patched in kernel m - replica is master, this is replica selected as input W - replica has device write errors a - replica is active, commits are occurring to this replica M - replica had problem with master blocks D - replica had problem with data blocks F - replica had format problems S - replica is too small to hold current data base R - replica had device read errors # |
# root mirror d10 1 1 /dev/dsk/c0t3d0s0 d0 -m d10 d20 1 1 /dev/dsk/c0t1d0s0 |
# installboot /usr/lib/fs/ufs/pboot /usr/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0 |
# metainit d20 concat/stripe setup # metainit -f d10 concat/stripe setup # metainit d0 mirror setup |
# metaroot d0 |
# swap mirror d11 1 1 /dev/dsk/c0t3d0s3 d1 -m d11 d21 1 1 /dev/dsk/c0t1d0s3 # usr mirror d12 1 1 /dev/dsk/c0t3d0s6 d2 -m d12 d22 1 1 /dev/dsk/c0t1d0s6 # var mirror d13 1 1 /dev/dsk/c0t3d0s1 d3 -m d13 d23 1 1 /dev/dsk/c0t1d0s1 # opt mirror d15 1 1 /dev/dsk/c0t3d0s5 d5 -m d15 d25 1 1 /dev/dsk/c0t1d0s5 |
# metainit d21 concat/stripe setup # metainit -f d11 concat/stripe setup # metainit d1 mirror setup |
# cat /etc/vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/md/dsk/d1 - - swap - no - /dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no - /dev/md/dsk/d2 /dev/md/rdsk/d2 /usr ufs 1 no - /dev/md/dsk/d3 /dev/md/rdsk/d3 /var ufs 1 no - /dev/md/dsk/d5 /dev/md/rdsk/d5 /opt ufs 2 yes - swap - /tmp tmpfs - yes - |
metattach d0 d20 metattach d1 d21 metattach d2 d22 . . . etc . . . |