how can i test if the mirroring of two internal disks (hdisk0 and hdisk1) work?
can i just remove the definition of let's say hdisk0 then reboot the system and see if it boots to hdisk1?
I've been dealing with this problem couple of weeks ago (see older threads).
The best solution was to phisically remove one of the disks.
Other dirty tricks (ODM hacking,etc) are NOT recommended,I had bad results and had to reinstall the whole system from scratch. "Long live king Moshiach !"
h
As for "it is a bad idea to hold swap and jfslog on mirror ", this is absurd; when you mirror your volume group all lv's are mirrored, paging, jfslog, lv's, the only lv not mirrored is the sysdump device.
If you don't mirror your jfslog and paging space, you might not survive a disk failure. If the disk with those fails, the running system can no longer write to any rootvg filesystems, which is bad, but before that can happen, the kernel can't access paging space, which will crash your systems pretty much immediately.
Booting into a rootvg in a missing-drive config without those LVs having been mirrored will also be impossible - the filesystems cannot be mounted without a jfslog. I've never tried bringing a system up without any paging space, but I have a suspicion AIX won't come up - it'll probably stop with C51 on the front panel display.
Just FYI, AIX actually will boot without active paging space, but of course you need adequate RAM to do this. I found this out during some upgrades from 4.3.2 to 4.3.3 on F50 boxen when some sort of bug deactivated hd6 until I patched to ML-09 and rebooted. Second upgrade, I defined a temporary pagingvg so it would IPL in less than 45 minutes. IBM Certified -- AIX 4.3 Obfuscation
I would say the workaround is to use the LVM to mirror. It can even do a 3-way mirror if you want and is pretty transparent, meaning you don't have to run a cron job (or what have you) and therefore have the potential to lose a recent portion of your data. Plus someone already wrote it so why not use it?
I am assuming you are just trying to mirror your disks let me know if I missed your intention. IBM Certified -- AIX 4.3 Obfuscation
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.