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

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

172.0. "Proc wanted about proper threatment of Volume-sets" by IJSAPL::VELDEN () Tue Feb 11 1997 08:58

    
Procedure about proper threatment of Volume-sets,..
===================================================
       
At the moment we are configuring a storage environment which we want to use
as a solution on a customer site. Main problem is caused by an application
which they bought once. The problem is the amount of time the different daily 
procedures cycles take and the growing amount of data in the near future 
(upto three times the amount they have now).

The actually idea is to mirror volume set members on the different HSJ's 
(see the drawing below) which we want to use for backup and report purposes.
I know it is possible to seperate the mirror set and to mount this set (private)
as a volume set again, and I know it is possible to do a parallel backup of the 
different volumeset members. What we want is not a private mount but a 
mount/system of this mirror/volume-set. Problem with this mount is the label of 
the volume-set which is already known at that moment. 

So my question is: Is there a way to change the label of this mirror/volume-set
which can be used in a DCL procedure? Or does somebody has a different idea?

    
Any input can be useful,

Thanks in advance,

Frans    



VMS:
======
Volumeset:	DSA1000, DSA1001

Shadowset:	DSA1000 = $1$DUA1000 (HSJ001/002), $1$DUA1100 (HSJ101/102)
		DSA1001 = $1$DUA1001 (HSJ003/004), $1$DUA1101 (HSJ103/104)

HSJ:
======
Unit:		D1000 = S1000 (HSJ001)
		D1001 = S1001 (HSJ003)
		D1100 = S1100 (HSJ101)
		D1101 = S1101 (HSJ103)

Stripe set:	S1000 = MDISK100, MDISK200, MDISK300, MDISK400
		S1001 = MDISK100, MDISK200, MDISK300, MDISK400
		S1100 = MDISK100, MDISK200, MDISK300, MDISK400
		S1101 = MDISK100, MDISK200, MDISK300, MDISK400

Mirror set:	MDISK100 = DISK100, DISK210
		MDISK200 = DISK200, DISK310
		MDISK300 = DISK300, DISK410
		MDISK400 = DISK400, DISK510

				DSA1000        		VMS Shadow set
				 /   \
			  DUA1000     DUA1100		VMS Disk device
			       /       \
			 ---------------------		---------------
			  D1000		D1100		HSJ Unit (meta)
			     /		 \
			S1000		 S1000		HSJ Stripe set (meta)
			 //\\		  //\\
		       MDISK100		MDISK100	HSJ Mirror set (meta)
			/    \           /    \
		   DISK100 DISK210   DISK100 DISK210	HSJ disk (physical)








    
T.RTitleUserPersonal
Name
DateLines
172.1something along these lines?POMPY::LESLIEAndy Leslie, DEC man walking...Tue Feb 11 1997 09:215
    $ dismount $1$dua99 		! mem of shadow set
    $ mount/over=id $1$dua99            ! mount privately
    $ set vol/label=oldwhat $1$dua99 	! set label
    $ dismount $1$dua99 		! dismount
    $ mount/sys $1$dua99 oldwhat	! mount system wide
172.2Not with volume setsIJSAPL::VELDENTue Feb 11 1997 09:536
    Andy,..
    
    Thanks for answering, but as far as I know this doesn't work with
    volumesets. 
    
    Frans
172.3POMPY::LESLIEAndy Leslie, DEC man walking...Tue Feb 11 1997 09:585
    Hmm. That's what I get for not reading the question properly
    (%ANDY-F-INSUFF_COFFEE)
    
    Surely if you change the lables of the disks, then
    mount/bind=oldwhatsit it'll work?
172.4AUSS::GARSONDECcharity Program OfficeTue Feb 11 1997 21:0210
    re .2
    
    What goes wrong? (for the benefit of those of us who couldn't be
    bothered trying it)
    
    Why do you use the volume set? That's a pretty comprehensive disk
    arrangement you have but I don't see the purpose of the volume set. If
    it is causing a problem then maybe you can get rid of it.
                                                                    
    The host based shadowing looked to be a little over the top too.
172.5Using volume setsIJSAPL::VELDENThu Feb 13 1997 04:4427
    
    The issue with volumesets is that if, for example, you use a mirrored
    volume-set (mirrored on a HSJ and the volumeset bind with VMS) and you
    take the mirror members out of the volume set, than it is possible to
    mount this mirror members private as a second volumeset with no loss
    of the data. But if you try to mount this mirror member as a second 
    volumeset with the /system qualifier than VMS answers something like:
    cannot mount this set because this label is already in use. 
    
    The main problem is that, as far as I know, you cannot change this
    label. So again my question: does somebody know a proper way to get
    this second volumeset system-width mounted with another label and no
    loss of the data?
    
    As I said in .0, the reason we want to use volumesets is because the
    growth in the amount of data which will result, if we don't use volume
    sets, in batch cycles which take to long (there are only 24 hours in a
    day).
    
    I hope the problem is more clarified,
    
    
    Frans
    
    
    
       
172.7simple enough - but gotta hack about or program...CERN::HOBBSCongrats to the Ignoble Peace Prize winner! (http://www.eecs.harvard.edu/ig_nobel)Thu Feb 13 1997 05:2277
The volset and volume names are stored in <000000>VOLSET.SYS on RVN 1.

tignes$ sho dev disk$kits

Device                  Device           Error    Volume         Free  Trans Mnt
 Name                   Status           Count     Label        Blocks Count Cnt
COMBIN$DKB0:            Mounted              0  KITS.1          297630     1   4
COMBIN$DKB100:          Mounted              0  KITS.2          297690     1   4
COMBIN$DKB200:          Mounted              0  KITS.3           24262     1   4

tignes$ with readall dump disk$kits:<000000>volset.sys

Dump of file KITS$:<000000>VOLSET.SYS;1 on 13-FEB-1997 11:07:51.42
File ID (6,6,1)   End of file block 1 / Allocated 3

Virtual block number 1 (00000001), 512 (0200) bytes

 00000000 20202020 20202020 5354494B KITS        .... 000000
 00000000 00000000 00000000 00000000 ................ 000010
 00000000 00000000 00000000 00000000 ................ 000020
 00000000 00000000 00000000 00000000 ................ 000030
 00000000 20202020 2020312E 5354494B KITS.1      .... 000040
 00000000 00000000 00000000 00000000 ................ 000050
 00000000 00000000 00000000 00000000 ................ 000060
 00000000 00000000 00000000 00000000 ................ 000070
 00000000 20202020 2020322E 5354494B KITS.2      .... 000080
 00000000 00000000 00000000 00000000 ................ 000090
 00000000 00000000 00000000 00000000 ................ 0000A0
 00000000 00000000 00000000 00000000 ................ 0000B0
 00000000 20202020 2020332E 5354494B KITS.3      .... 0000C0
 00000000 00000000 00000000 00000000 ................ 0000D0
 00000000 00000000 00000000 00000000 ................ 0000E0
 00000000 00000000 00000000 00000000 ................ 0000F0
 00000000 00000000 00000000 00000000 ................ 000100
 00000000 00000000 00000000 00000000 ................ 000110
 00000000 00000000 00000000 00000000 ................ 000120


So, what you need to do is:

	$ mount the set privately
	$ set volume /name=newname for each of the devices in the set
	$ patch the first 12 bytes of <000000>VOLSET.SYS on the root
	  volume to get the new set name
	$ dismount
	$ mount/system

crans$ patch/abs/nonew volset.sys


  PATCH  Version 7.1    26-JUL-1995

%PATCH-I-NOGBL, some or all global symbols not accessible
%PATCH-I-NOLCL, image does not contain local symbols
PATCH>e/asc 0:0c
PAA:  'FOOB'
00000004:  'AR  '
00000008:  '    '
0000000C:  ''
PATCH>rep/asc 0
OLD>'FOOB'
OLD>'AR  '
OLD>exit
NEW>'KITS'
NEW>'    '
NEW>exit
old:    PAA:  'FOOB'
old:    00000004:  'AR  '
new:    PAA:  'KITS'
new:    00000004:  '    '
PATCH>update
%PATCH-I-OVERLAY, KITS$:<000000>VOLSET.SYS;1 being overwritten
PATCH> Exit

   (note = the example patch is shows me restoring the correct name...)

-cw
172.8CSC64::BLAYLOCKIf at first you doubt,doubt again.Thu Feb 13 1997 11:125
The volume set name is also kept in the volume home block
(VBN 2 and others of INDEXF.SYS) so patching VOLSET.SYS does
complete the job.  DFU (see NOTED::HACKERS) may be able to 
fix up the home block information.
172.9AUSS::GARSONDECcharity Program OfficeThu Feb 13 1997 16:5914
    re .5
    
    Well we probably shouldn't be suggesting hacks for a production
    environment but perhaps if you just clear out VOLSET.SYS and rebind,
    you can create a new volume set.
    
    I assume that it is the reporting that needs the shadow disks to be
    mounted /SYSTEM. BACKUP wouldn't need this. Can you restore the
    database elsewhere to do the reporting? Of course you can do the
    reporting single stream with a privately mounted set but you may not
    get optimal performance.
    
    The reason I questioned the use of volume sets is that given that you
    are already using stripe sets, why not just make the stripe sets bigger?
172.10UTRTSC::thecow.uto.dec.com::JurVanDerBurgChange mode to Panic!Fri Feb 14 1997 01:048
Re .0

Frans,

We've been through this before did'nt we? What was the problem with striping
instead of volume sets?

Jur.
172.11Continuing...IJSAPL::VELDENMon Feb 17 1997 08:1017
    Re .9 and .10
    
    At the moment the customer is using stripe-sets of 5 and 6 members (RZ29's).
    As I said before, the performance and time issues are very important at
    this site. We also looked at host-based striping, but the problem with this
    is that we will have a device of at least 15 RZ29's using Contoller-
    and Host-Based striping. This means a vey long backup time. When using 
    volume sets it will be possible to backup in parallel the different volume 
    set members.
    
    We want to do the restore of the database simply by taking out the mirror
    set, change the bind name, and mount this with the /system qualifier.
    This happens twice because we also use host-based shadowing.
    So we can use one set for backup and the other for reports.
    
    Frans