Upgrade of server
Hi all !
I have some outdated RHEL5 installations with older vxfs 5.xx on. Some weeks back I popped out one of the mirrored OS disks and installed both RHEL7 and vxfs 6.2.1. I found no way to mount the old filsystems after the installation was done. No devices under /dev/vx/dsk or /dev/vx/rdsk. I could see the disks with 'vxdisk list' and the older diskgroups with vxdg ( don't remember the exact syntax I used ). Disk layout was already 7 on all filsystems, wich seems to be supported in 6.2.1.
At this moment - I felt lost, wasn't going to risk loosing any of the data by experimenting. So, I reverted the changes and booted up in RHEL5 again.
I'm quite sure that the task above could be solved - could someone please point me in the right direction ?
/Sverre.
Before mounting you need to import diskgroups and start volumes - when you import diskgroups, this is when you see the deivce path in /dev/vx/dsk , so next time:
Run the following to check you see the disks and diskgroups:
vxdisk -o alldgs list
If the diskgroups are in brackets, then you need to import using:
vxdg import dgname (may need "-C" flag if it says diskgroup is owned by someone else)
Check volumes are starting using:
vxprint -v
If volumes show as disabled, then start them using:
vxrecover -sg dgname
Now devices should be visable in /dev/vx/dsk and you should be able to mount.
Mike