Mirroring Hardisk

How make mirror hardisk safe and not have trouble when we chance new hardisk in system live in sun solaris 8 server.

docs.sun.com has documentation detailing the procedure required to mirror your filesystems

Cheers
ZB

  1. print vtoc from source disk using prtvtoc -f filename
  2. copy the above vtoc to new blank disk using edvtoc -f filename
    3.above would create all slices /dev/rdsk/cxtxdxsx

copy slice by slice using dd command.

ex:

dd if=/dev/rdsk/c1txdxsx of=/dev/rdsk/c2txdxsx

Thanks for information . This information very importan for me. for my first project out side area.