Mirror Boot disk with Solaris 10 Volume Manager

From: manoj ghag (manojghag@rediffmail.com)
Date: Mon Mar 13 2006 - 19:03:08 EST


Hi, Managers

Good Morning to all

Need a small help ... I am new to Mirror
a Boot disk :)

Want to make a boot disk mirror

Some what confused with how
to make it run with Volume Manager which comes with Solaris 10

Any body have
any Example ?

I have a base installation as follows ( disk1--> c0t0d0 )
bash-3.00# df -kh
Filesystem size used avail capacity Mounted
on
/dev/dsk/c0t0d0s0 9.7G 3.2G 6.4G 34% /
/devices
0K 0K 0K 0% /devices
ctfs 0K 0K 0K
0% /system/contract
proc 0K 0K 0K 0%
/proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap
7.2G 848K 7.2G 1% /etc/svc/volatile
objfs 0K
0K 0K 0% /system/object
fd 0K 0K 0K
0% /dev/fd
/dev/dsk/c0t0d0s4 2.0G 82M 1.8G 5% /var
/dev/dsk/c0t0d0s3 994M 1.7M 933M 1% /tmp
swap
7.2G 40K 7.2G 1% /var/run
/dev/md/dsk/d10 66G 64M
66G 1% /u01
/vol/dev/dsk/c0t6d0/sol_10_305_sparc_2
628M 628M 0K 100% /cdrom/sol_10_305_sparc_2
/export/home/oracle
9.7G 3.2G 6.4G 34% /home/oracle

Primory Disk (c0t0d0)
partition> p
Current partition table (original):
Total disk cylinders
available: 7506 + 2 (reserved cylinders)

Part Tag Flag Cylinders
Size Blocks
  0 root wm 0 - 4384 9.85GB
(4385/0/0) 20662120
  1 swap wu 4385 - 6165 4.00GB
(1781/0/0) 8392072
  2 backup wm 0 - 7505 16.86GB
(7506/0/0) 35368272
  3 unassigned wm 6166 - 6611 1.00GB
(446/0/0) 2101552
  4 var wm 6612 - 7502 2.00GB
(891/0/0) 4198392
  5 unassigned wm 7503 - 7504 4.60MB
(2/0/0) 9424
  6 unassigned wm 0 0
(0/0/0) 0
  7 unassigned wm 0 0
(0/0/0) 0

Second Disk ( c0t1d0 --> which should be mirror of
first disk )

partition> p
Current partition table (original):
Total disk
cylinders available: 7506 + 2 (reserved cylinders)

Part Tag Flag
Cylinders Size Blocks
  0 root wm 0 - 4383
9.85GB (4384/0/0) 20657408
  1 swap wu 4385 - 6165
4.00GB (1781/0/0) 8392072
  2 backup wm 0 - 7505
16.86GB (7506/0/0) 35368272
  3 unassigned wm 6166 - 6611
1.00GB (446/0/0) 2101552
  4 var wm 6612 - 7502
2.00GB (891/0/0) 4198392
  5 unassigned wm 7503 - 7505
6.90MB (3/0/0) 14136
  6 unassigned wm 0 0
(0/0/0) 0
  7 unassigned wm 0 0
(0/0/0) 0

Now during this how to make sure that both the disk are
exact mirror of the each other ( If I remove the first disk from Server will
it boot with second disk ?)

if anybody required more information .. please
tell em which command output do u required ?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:39:17 EDT