[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::ase

Title:ase
Moderator:SMURF::GROSSO
Created:Thu Jul 29 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2114
Total number of notes:7347

1960.0. "writing config to LSM disk" by KYOSS1::GREEN () Wed Mar 19 1997 11:48

    CROSS-POSTED in LSM notes
    
    	I have searched and searched, but can't find answer.
    	PROBLEM:
    	UNIX 3.2g (all Patches)
    	ASE 13. (all patches)
    
    	Through a comedy of errors system B root disk and mirror was
    trashed. The customer didn't have a valid backup.
    
    	We used a backup from system A and handcrafted the system.
    
    	All went well except "/,swap, and /usr" mirroring.
    
    	What we currently have is :
    	rz8 and rz35 (/ swap and /usr) are mirrored, but DON'T have
    copies on thr rootdg config on them. We have rz10 (temporary disk)
    in rootdg, and it has the only valid copy of config info.
    
    	I check system A and rz8 and rz35 are the only disks in
    rootdg and both have copies of the config.
    
    	I have original rootdg descriptor file from old system.
    
    	I need to somehow write the config info to rz8 and rz35
    and remove rz10.
    
    	I thought about "volmake" or "volprivutil", but I am
    not sure how to proceed.
    
    			dick green
    
T.RTitleUserPersonal
Name
DateLines
1960.1BACHUS::DEVOSManu Devos DEC/SI Brussels 856-7539Fri Mar 21 1997 11:4841
    Hi Dick,
    
    I got finally some time. 
    
    You should give us the result of "voldisk list rz8" and "voldisk list
    rz25" such that we can verify that you have an LSM private area on both
    disks even if this private area has no LSM config/log.
    
    if you have an LSM private area, and if the mirroring of your volumes
    rootvol, swapvol and uservol is ACTIVE, you can proceed like this:
    
    	1) voldg -k rmdisk rz8
    	2) voldg -k rmdisk rz8b
    	3) voldg -k rmdisk advfs_rz8g (the_disk_media_name_of_the_usr_disk)
    	4) voldisk rm rz8
    	5) voldisk rm rz8b
    	6) voldisk rm rz8g (the_disk_access_name_of_the_usr_disk)
	7) voldisk -f init rz8 
    	8) voldisk -f init rz8b type=nopriv
    	9) voldisk -f init rz8g type=nopriv
    	10) voldg -k adddisk rz8
    	11) voldg -k adddisk rz8b
    	12) voldg -k adddisk advfs_rz8g=rz8
	13) volrecover -sb -g rootdg
    	14) Wait for the end of the mirror synchronization (Coffee break!)
	15) Repeat the same process for rz25
    	16) voldctl add disk rz8
    	17) voldctl add disk rz25
    	18) voldctl rm  disk rz10
    	19) voldg rmdisk rz10
    	20) voldisk rm rz10
    
    You may have to modify this procedure to adapt the disk media name and
    disk access name to your real configuration. Also, it can be usefull to
    check that you have well a LSM config on the rz8 and rz25 disk after
    the voldisk init.
    
    This procedure is described in more details in the LSM notefile in a
    note that I wrote ... But don't remember the number !!!
    
    Manu. 
1960.2thanksUNXA::GREENFri Mar 21 1997 17:554
    	Thanks,
    		I will try it when I go back to the customer.
    			dick