concate / stripes in solaris 8 to solaris 10

We did live upgrade from solaris 8 (primary boot environment) to 10 . Switching to alternative boot environment in solaris 10 succeeded but it gave disk error for our concat , strips & mirrors for existing mount points which are already in use . It advised to run fsck on these device.

So I switched back to original environment and then all mount points are ok and usable . Is there any separate procedure for being able to use existing solaris 8 mount points to solaris 10 BE .

you have to initalize the metadb's new under solaris 10 and build the devices like under solaris 8. just look at "metastat -p" under 8 and use the infos on 10...

First of all thanks for very useful hint .

metastat -p gives following output .

d45 -r c0t1d0s0 c0t2d0s0 c0t3d0s0 -k -i 32b
d46 -r c0t1d0s1 c0t2d0s1 c0t3d0s1 -k -i 32b
d47 -r c0t1d0s3 c0t2d0s3 c0t3d0s3 -k -i 32b

Will I have to remove these mountpoints from lufslist output also. How can i do so.
# lufslist sol10
boot environment name: sol10

Filesystem fstype device size Mounted on Mount Options
----------------------- -------- ------------ ------------------- --------------
/dev/dsk/c0t0d0s1 swap 2757888000 - -
/dev/dsk/c0t1d0s4 ufs 16109666304 / -
/dev/md/dsk/d45 ufs 62912102400 /ora -
/dev/md/dsk/d46 ufs 20970700800 /appl -
/dev/md/dsk/d47 ufs 20970700800 /back -
/dev/dsk/c0t1d0s6 swap 3761700864 - -
/dev/dsk/c0t3d0s5 ufs 11811555328 /back2 -
/dev/dsk/c0t2d0s6 ufs 3221733376 /back1 -

Further how do I use metastat -p output in sol10 . Last will it affect my solaris 8 environment data in case I switch back to solaris 8 .I am bit new to meta*commands . Pointer to right resource or some handy tips will be very much appreciated .

have a look here:
Solaris Volume Manager Administration Guide - Sun Microsystems

Hi,

Thanks for the pointer . I will look into the same . But off hand if u can tell me is there a way to retain old data in solaris 8 . Will that get formatted. This will help me search in right direction .

Does metaimport help in this regrds.

metaimport only helps with metasets... and if you don't format the filesystems on solaris 10 (newfs) the data will remain intact.

Hi ,

Thanks for ur pointers till now . In order to be able to use existing fs , all sol 10 required services must be online . And I c the output of svcs -x and service system/filesystem/local is in maintenance state . And there are 21 services dependent on it .

In my case mountall returns status -1 in system/filesystem/local .It gives error for all 3 concat/strip/mirrors . I believe sbin/mountall script has something wrong leading to inability to mount these mount points . I could not c anything wrong /etc/mnttab or /etc/vfstab.

Further at the time of creating sol10 enviroment one of my concate slice was in maintenance mode (I discovered it later) which i corrected yesterday in original environment with metareplace -e command. However can this affect all the 3 mountpoints instead of just one .

Can anybody give script /sbin/mountall from solaris 10 environment for me to check / compare. I'' be very much thankful .