Originally posted by: Bancal
Hello,
I'm sort of stuck after importing rootvg group on a host with existing rootvg. As you know this leads to automatic renaming of logical volumes of the imported rootvg so what they do not overlap existing logical volumes.
In essense it looks as follows:
0516-530 synclvodm: Logical volume name hd5 changed to bootlv00.
0516-530 synclvodm: Logical volume name hd6 changed to pagelv00.
0516-530 synclvodm: Logical volume name hd8 changed to loglv01.
0516-712 synclvodm: The chlv succeeded, however chfs must now be
run on every filesystem which references the old log name hd8.
0516-530 synclvodm: Logical volume name hd4 changed to fslv01.
0516-530 synclvodm: Logical volume name hd2 changed to fslv02.
0516-530 synclvodm: Logical volume name hd9var changed to fslv03.
0516-530 synclvodm: Logical volume name hd3 changed to fslv04.
0516-530 synclvodm: Logical volume name hd1 changed to fslv05.
0516-530 synclvodm: Logical volume name hd10opt changed to fslv06.
0516-530 synclvodm: Logical volume name fwdump changed to fslv07.
imfs: Warning: mount point / already exists in /etc/filesystems.
imfs: Warning: mount point /usr already exists in /etc/filesystems.
imfs: Warning: mount point /var already exists in /etc/filesystems.
imfs: Warning: mount point /tmp already exists in /etc/filesystems.
imfs: Warning: mount point /home already exists in /etc/filesystems.
imfs: Warning: mount point /opt already exists in /etc/filesystems.
imfs: Warning: mount point /var/adm/ras/platform already exists in /etc/filesystems.
Now I'm unable to boot the LPAR from which I imported rootvg and get 0557 error code. My case is just the same as an issue described here
http://www.unix.com/aix/212173-aix-0557-error-root-file-system-does-not-mount.html My question is how should I revert to original logical volume names and make the LPAR bootable.
I try to boot the LPAR in SMS mode then select maintenance mode. Next I select to access rootvg. Now there is a fork in SMS menu. I've got two options: either import rootvg and start a shell or start a shell w/o importing rootvg.
Whenever I choose importing rootvg, I get an error about /usr. AIX can't find JFS log for it and, therefore, can't mount it. Once this error message is displayed, I got a quite restricted shell where I'm unable to do ls, mount, chlv, chfs etc. In short, I'm unable to rename logical volumes by using this shell.
If I opt to start a shell before mounting rootvg I get the same restricted shell where chlv and chfs are both unavailable. I can fsck all filesystems and mount them but this doesn't help to change logical volume names.
I need a step by step procedure on how should I rename logical volumes and make LPAR bootable again.