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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3083.0. "SM MUA MDK - fails to create proper disk quota entry on new device" by VELI::KORKKO (General nuisance...) Wed Jul 28 1993 17:38

We are running ALL-IN-1 V3.0-1 (Finnish) on top of VMS V5.5-2. Today I had to 
move some users to another disk. So I launched the run and soon noticed that
the MDK batch creates disk quota entry with /PERM=0/OVERD=0.

It took quite some time (apparently I have spent too much time lately with non
ALL-IN-1 things) but the solution turns out to be:


	$ delete sysmanini.ini 

from ALL-IN-1 managers home directory. I have usually created a SYSMANINI-INI
file on the home directory and usually this contains line

	set environment/cluster
	set timeout 0::30

Now, apprently this messes the logic in OA$LIB:SM_GET_QUOTA_DETAILS.COM where

$       SYSMAN := $SYS$SYSTEM:SYSMAN
$!
$       SYSMAN  DISKQUOTA SHOW 'IDENT'/DEVICE='device'/OUTPUT='q_out_file'
...
$! Quota is enabled and there is one - so, get the details:
$!
$       open destdisk_quota_file 'q_out_file'
$       read/end=close_destdisk_quota_file destdisk_quota_file dummy
$       read/end=close_destdisk_quota_file destdisk_quota_file quota_header
$       read/end=close_destdisk_quota_file destdisk_quota_file quota_line
$ close_destdisk_quota_file:
$       if f$trnlnm("destdisk_quota_file") .nes. "" then -
          close destdisk_quota_file


Whilst on the subject, maybe you should change (on SM_MOVEDISK.SCP) line

        get oa$dcl='dir /size/grand/out=' #size_file

to be at least 

	get oa$dcl='dir/siz=allocated /size/grand/out=' #size_file

also take into account the headers. So, add at least the number of files to the
grand total filesize (of allocated blocks). And hope that cluster size on the
target disk is same...


Regards, Veli
T.RTitleUserPersonal
Name
DateLines
3083.2I hadn't heard of that command before - Workround...IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeWed Aug 11 1993 19:2510
    So to fix this, everywhere we use SYSMAN, we should precede it with a
    line that says:
    
    	$ DEFINE/USER_MODE SYSMANINI NL:
    
    which will override any existing .INI file, or logical pointing to one.
    If you haven't submitted the SPR yet, please include this information
    with it.
    
    Graham