Keeping hd6 as default paging space - part 2
AnthonyEnglish 270000RKFN Visits (7092)
Some time ago I experimented with removing the default paging space /dev/hd6 from an LPAR and creating a separate volume group for paging space. This worked ... until I had to restore a mksysb backup, as you may recall from this blog post.
Well, what about creating a separate paging space in rootvg instead of in a separate volume group, and then removing hd6? Not exactly sure why you'd do that, but I suppose if you were to create a smaller paging space to replace hd6, in case it's been extended too much, that might be a reason. Whatever your reason for renaming, removing or retiring hd6, if you decide to do it, you should read technote T1010881.
Didn't read it did you? (Or if you did, you probably found it more interesting than coming back here). Well never mind. Here's the key sentence:
"Because certain scripts are currently hard-coded to activate /dev/hd6, it is recommended to create the new paging space under the same name."
If you change the paging space from hd6 to something else, you have to update /sbin/rc.boot which is a script. The thought of editing /sbin/rc.boot horrifies me. It's just inviting trouble. Do changes get retained when you upgrade the OS to a new release? I hope so, but I don't know. Still, if you do decide to edit the rc.boot file, then make sure you follow the instructions in that technote, or you could be risking a mksysb that can't be cloned or at the very least a system that doesn't activate paging space after the next reboot.
My advice? Just keep hd6 as a default paging space, even if you have other paging spaces in other volume groups.
If you're still keen on resizing or relocating the hd6 paging space, see this document.