From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067216119.tru64-unix-managers.marc@archive.invalid> From: anthony.miller () vf ! vodafone ! co ! uk Date: Mon, 23 Aug 1999 12:58:57 +0000 To: tru64-unix-managers Subject: lsm export/import X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067216119 Please note what follows is being done on a test box prior to being done in the live environment... For reasons I wont go into, I need to rebuild /, and /usr on some of our systems, primarily to increase the size of the root file system. These are mirrored under LSM control with advfs file systems. I am quite happy with the rebuild/restore mechanism for the os and can get a rebuilt o/s in mirrored form back with no problems. Data in 'user' lsm disk groups seems to present a problem though. I want to be able to deport my user data before the rebuild, then import it after the restore, with all data on those disk groups in place after the import (obviously). As a test, I unmounted all relevant file systems and did a 'voldg deport diskgroupname' followed by a 'voldisk rm rz??' on each disk in the deported disk group. At this point, the o/s stuff would be done. After doing the restore of the o/s, the intention was to do a 'voldisk define rz??' for each disk in the deported disk groups before attempting a 'voldg import diskgroupname' followed by a 'volrecover -g diskgroupname -sb'. The only problem is that the 'voldisk rm' seems to totally 'zap' the disk label so that the 'voldisk define' fails and you cant even start the 'voldg import' (this is all documented in 6.3.7 of the LSM manual under Moving disks between systems). Am I missing something here?? It just so happened that I did a 'volsave' before all of this so I did a 'volrestore -g diskgroupname', but then had to do a 'volume -g diskgroupname init clean volname plexname' for each plex of each volume, followed by a 'volume -g diskgroupname start volumename'. This did recover the disk group and all data was ok. However for systems with large lsm configurations having to manually clean each plex of each volume prior to manually starting it is a payne. Is there a better/easier way of doing this? Your help is appreciated. Regards - Tony