How can one mirror disk geometry from one hard disk to another in Solaris.
Is disk snapshot same as a mirror? Pls explain.
You can use the fmthard command to mirror disk layouts. Something like this:
prtvtoc /dev/rdsk/cXtXdXs2 | fmthard -s - /dev/rdsk/cYtYdYs2
And a snapshot is not like a mirror, a mirror is maintained at all times. Any changes in the data are reflected on all disks in the mirror. A snapshot is used to get a point-in-time image of a disk. It will fall out of sync after any updates occur on the actual data.
Thanx BT for the info. Think I would want to go with a snapshot in my case, would you let me know the best possible way to get a snapshot of a disk please.
Well, that depends on what you are working with. Can you provide details like the OS version, the volume manager in use and such?