Re: dsmserv format error
2003-07-24 17:13:28
As from the Admin Reference (GC32-0769-00, p. 1036)
"DSMSERV FORMAT number_of_log_files log_file_name
file:log_file_name
number_of_db_files db_file_name
file:db_file_name"
Therefore your commands ought to be:
# ./dsmfmt -m -db /dbdsk/db01.dsm 200
# ./dsmfmt -m -db /dbdsk/db02.dsm 200
# ./dsmfmt -m -log /logdsk10/log01.dsm 40
# ./dsmserv format 1 /logdsk10/log01.dsm 2 /dbdsk/db01.dsm /dbdsk/db02.dsm
dsmfmt tool allocates the necessary space on the filesystem (external
format) and size of the volumes should be supplied to it.
dsmserv format "tool" creates internal structures in these files (internal
format) and thus requires only number and names of the files.
You can supply volume name together with its size only when you are
creating additional volumes from server console (or admin client session):
TSMSERVER> DEFine DBVolume <volume name> [ Formatsize=<megabytes> ]
TSMSERVER> DEFine LOGVolume <volume name> [ Formatsize=<megabytes> ]
Maybe you were misled from there.
Internal format performed by "dsmserv format" and "dsmserv loadformat"
involves writing of data to every log page but only to few database pages.
That is why this format time is proportional to the sum of log volumes
sizes and does not change with different db volumes sizes.
It seems to you that dbvols are not formatted and this is close to the
real situation but not exactly. Whenever database is updated, the B-tree
is checked and reaching specific thresholds is reorganized. As part of
those reorganizations additional pages are "formatted". At database
initialization only few pages are filled with data and it does not take
too much time.
Zlatko Krastev
IT Consultant
Marc Lowers <Marc.R.Lowers AT GSK DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
24.07.2003 12:39
Please respond to "ADSM: Dist Stor Manager"
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: dsmserv format error
I am performing a DR without the original database or recovery log
volumes.
When I issue the DSMSERV FORMAT utility to initialize the database and
recovery log, I always get the error 'missing arguments' or 'missing
volume'. I've tried re-creating the same volumes from the original server
but this doesn't help.
The command I am issuing is something like this...
# ./dsmserv format 2 /dbdsk/db01.dsm /dbdsk/db02.dsm 200 1
/logdsk10/log01.dsm 40
Marc.
|
|
|