We have a pSeries box running AIX 5.1 which has had some bad corruption on the /var filesystem that fsck will not fix. We've decided to rebuild the filesystem from an old backup. The system is currently 'stable' on the existing /var except that certain portions of the fs (which normally go unused) will panic the box when accessed. We've decided to rebuild /var from an old backup but I have some questions:
1. Can we build /var on a new logical volume and then just swap them out by editing the mounts? This would give us the added safety net of being able to boot back on the original /var if we have problems with the new one.
2. If #1 is a yes, does /var have to be on the hd9var logical volume or can it have a different name? If it must be on hd9var, can we simply rename the original to hd9var-old and rename the new one to hd9var?
Looking for any pointers from someone who may have found themselves in a similar situation.