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

Conference aosg::lsm

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

779.0. "LSM import and deort" by DEKVC::JUNMOKSONG () Mon Apr 07 1997 05:20

	Hi,

	I want to know  about  the functionity of deport and import command.

	I have two machines with shared SCSI disk as following:

	------------------------------------------------
		|			|
	     machine A		    machine B
		|			|
		|---------rza10c--------|
		
        By using by LSM and Advfs, while first rza10c is used by machine A
	,when machine A is crashed , I want to use this disk at machine B.

	How can I set up LSM and ADVFS on the shared disk on the both machine?
    	Or is it possible or impossible?
    
	I read manual that "import" command doesn't be used without "deport".

	And they don't want use ASE disk service for some reason.

	Best Regards,
	Jun-Mok Song
                                        
T.RTitleUserPersonal
Name
DateLines
779.1Only ASE is SECURE, but this can work...BRSDVP::DEVOSManu Devos DEC/SI Brussels 856-7539Mon Apr 07 1997 07:4651
    Hi,
    
    You first need to have at least one partition in the rootdg diskgroup,
    even if you don't intend to use this rootdg LSM disk. LSM cannot work
    without the rootdg diskgroup and rootdg is NOT import/deportable.
    
    
    # volinstall
    # voldisksetup  rz0h   (or any free partition of at least 1024 sectors.) 
    
    Then, you should create the diskgroup that you  want to move from
    system to system. Let's name it move_dg.
    
    # voldisk -f init rza10 
    # voldg init move_dg rza10
    
    You now create the volume(s) on your rza10 disk with your preferred
    method (bottom-up, volassist...), make an ADVFS domain/fset on that
    volume(s).
    
    If you want to deport the directory mounted on that ADVFS domain/fset,
    you should :
    
    1) Stop any application having an open file on this filesystem.
    2) Umount the filesystem.
    3) Stop the volumes. (volume -g move_dg stopall)
    4) Deport the diskgroup. (voldg deport move_dg)
    5) Place the LSM disk(s) offline (voldisk offline rza10)
    
    Then, on the other system (machine-B), you should also have prepared in
    advance a rootdg diskgroup, and created in /etc/fdmns the same
    directory and link that your ADVFS domain has created on machine-A,
    then
    
    1) Define the LSM disk (voldisk define rza10 type=sliced )
    2) Online the LSM disk (voldisk online rza10 )
    3) Import the diskgroup (voldg import move_dg)
    4) Start/recover the volumes (volrecover -g move_dg -sb )
    5) Mount the ADVFS/Fset.
    
    That's it...
    
    But, don't forget to allocate a different SCSI id to the SCSI
    controllers on each side of the bus...
    
    And be prepared to CATASTROPHIC failures because nothing prevents the
    other system to write (and thus erased) onto your disks... That's why
    ASE is needed !!!
    
    Regards, Manu.