| Title: | LSM | 
| Moderator: | SMURF::SHIDERLY | 
| Created: | Mon Jan 17 1994 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 803 | 
| Total number of notes: | 2852 | 
    DUNIX 3.2C   LSM 
    
    We have found the following problem when trying to add a previously
    known volume back into rootdg.  This problem occurs when rootvol,
    usrvol, and varvol already exist.  We are trying to recover another 
    volume called testvol using the volmake script from a previously saved
    LSM configuration file. 
    
    	volprint -g rootdg -mvps > /var/lsm_data/volmake.rootdg.out
    
    Our failure occurred using the following commands:
    
    # voldiskadm (to add rza9 to rootdg)
    # volmake -g rootdg -d /var/lsm_data/volmake.rootdg.out
    
    We received messages satting rootvol, usrvol, varvol already exists
    and no failure messages.  No testvol volume gets created.
    
    If we edit the /var/lsm_data/volmake.rootdg.out file and cut everything
    out except the testvol details and rerun the same sequence testvol
    gets added fine.  
    
    The problem we can foresee is if many more volumes are in rootdg and 
    this type of recovery is attempted I would think extracting the volumes
    out separately could be costly and very time consuming.
    
    Are we missing something here or is this a limitation of LSM that we 
    have found ?  Is there another way to recover ?
    
    thanks,
    dave mahder 
    ken inghram
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 771.1 | NETRIX::"[email protected]" | Fri Mar 21 1997 08:41 | 3 | ||
| Check out volsave(8) and volrestore(80). [Posted by WWW Notes gateway] | |||||
| 771.2 | 3.2c dunix | CSC32::D_MAHDER | Fri Mar 21 1997 15:13 | 6 | |
|     volsave and volrestore look to be new with 4.0, we are using 3.2C
    is there anything besides the workaround that can be used for this
    version.
    
    thanks,
    dave
 | |||||
| 771.3 | file separate records of the volumes | BACHUS::DEVOS | Manu Devos DEC/SI Brussels 856-7539 | Tue Mar 25 1997 17:10 | 7 | 
|     HI,
    
    No, I used to use a 'volprint -vhm  vol_name > /dir/vol_name' for  each
    of the volumes I created, so I can re-create any volume simply by
    selecting the correct 'save' file.
    
    Manu.
 | |||||
| 771.4 | thanks for .3 | CSC32::D_MAHDER | Sat Mar 29 1997 15:26 | 3 | |
|     That works...
    
    thanks
 | |||||