When I boot off mirror disk, I want to confirm I am actually booting
off mirror disk, how do I do that?
No matter which disk I boot off, primary or mirror, I always end up
with the same df output:
OK, I can boot off either disk but I am not real sure that when I boot
off the mirror, I am actually booting off that mirror.
The reason I am saying this, when I look at output of df in either
case, I always get the same disk. Shouldn't I get d2 if it's truly the
mirror boot?
#: df -kFufs
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d1 119098248 12882647 105024619 11% /
/dev/dsk/c1t0d0s7 10331209 10265 10217632 1% /export/home
Pull the other one.
--
Ian Collins
:-)
--
Chris
No. The mirror remains the same... you're changing submirrors.
The whole point of mirroring is to provide one logical device to the
OS that actually represents two physical devices, so that "things" can
happen to the physical devices and the OS will drive on.
If booting from the other submirror changed the df output, then that means
the devices aren't properly abstracted, the device nodes changed, every
entry in /etc/vfstab would be wrong... and, well, your machine would fail
to boot.
In your original post you indicated that d1 was composed of d10 and d11,
and d2 was composed of d20 and d21. You didn't provide the contents
of your /etc/vfstab. But d2 is NOT a mirror of d1, if that's still the
case.
--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/