recover /var mount-point into new boot environment
807557Jan 18 2010 — edited Jan 21 2010I installed Solaris 10 u7 with zfs pool containing / mount-point (root)
One issue to mention is that - for no compulsory reason - I asked Solaris installer to place /var mount point into different file system (an option of the installer which I did not fully understood)
I used Live Upgrade to migrate Solaris 10 u7 to U8. First:
lucreate -c CBE - n NBE
I assume NBE boot environment was created in the zfs pool (rpool)
I did not take care of /var at this time.
I did luupgrade - to apply new Update 8 into NBE - the target boot environment.
Then did luactivate NBE and "init 6" to reboot.
At boot time Solaris does start NBE (Solaris 10 U8) - but cannot mount /var - hence forces console into
Maintenance Mode.
What is the strategy to use the /var file-system from CBE (old boot environment) ?
Can I mount file-system of old CBE /var ?
Or should I mount a spare file system as NBE /var and somehow copy it?
Please enlist a series of steps (commands), thanks.