[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

3345.0. "Edit in shared drawer - You are low on disk space" by TOPPER::BARHAM (Norbert:) Thu Sep 30 1993 13:46

ALL-IN-1 3.0-1

My customer finds that whenever a basic user tries to edit a document in a
shared drawer they receive the message

Warning: You are low on disk space. Do you want to continue? [Y/N]

The fact is none of them are low on diskquota though the problem goes away when
diskquotaing is disabled. It's not much of a problem since it lets them 
continue to edit anyway, more of annoying and misleading message.

I have dialled in and confirmed what they say. I am assuming that it is a
problem with the CHECK_DISKQUOTA function but I don't know what.
I created a test account BARHAMC (with VMS account BARHAMC) and got a trace 
out of an edit on a document in ALL-IN-1 account HARVEY.W whose VMS account 
name is HARVEYW. Trace follows at the end.

UAF entries :-

Username: BARHAMC                          Owner:  Digital test
Account:  618                              UIC:    [1015,113] ([BARHAMC])
CLI:      DCL                              Tables: DCLTABLES
Default:  DISK$USER_2:[BARHAMC]
LGICMD:   sys$manager:captive_login
Flags:
Primary days:   Mon Tue Wed Thu Fri
Secondary days:                     Sat Sun
No access restrictions
Expiration:            (none)    Pwdminimum:  6   Login Fails:     0
Pwdlifetime:         30 00:00    Pwdchange:  29-SEP-1993 17:04
Last Login: 29-SEP-1993 17:08 (interactive),            (none)
(non-interactive)
Maxjobs:         0  Fillm:       100  Bytlm:        65000
Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0
Maxdetach:       0  BIOlm:        50  JTquota:       1024
Prclm:          10  DIOlm:        50  WSdef:         1200
Prio:            4  ASTlm:       100  WSquo:         3000
Queprio:         0  TQElm:        50  WSextent:     16384
CPU:        (none)  Enqlm:       300  Pgflquo:      40000
Authorized Privileges:
  TMPMBX NETMBX
Default Privileges:
  TMPMBX NETMBX
Identifier                         Value           Attributes
  OA$G_ZUVSGJUPG                   %X80010017      RESOURCE

*****************************************

Username: HARVEYW                          Owner:  Walter Harvey

Account:  618                              UIC:    [1015,2] ([HARVEYW])
CLI:      DCL                              Tables: DCLTABLES
Default:  DISK$USER_1:[HARVEYW]
LGICMD:   SYS$MANAGER:CAPTIVE_LOGIN
Flags:
Primary days:   Mon Tue Wed Thu Fri
Secondary days:                     Sat Sun
No access restrictions
Expiration:            (none)    Pwdminimum:  6   Login Fails:     2
Pwdlifetime:         90 00:00    Pwdchange:  22-SEP-1993 08:59
Last Login: 21-SEP-1993 16:03 (interactive), 30-SEP-1993 09:08 (non-interactive)
Maxjobs:         0  Fillm:       100  Bytlm:        65000
Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0
Maxdetach:       0  BIOlm:        50  JTquota:       1024
Prclm:          10  DIOlm:        50  WSdef:         1500
Prio:            4  ASTlm:       100  WSquo:         3000
Queprio:         0  TQElm:        50  WSextent:     16384
CPU:        (none)  Enqlm:       300  Pgflquo:      40000
Authorized Privileges:
  TMPMBX NETMBX
Default Privileges:
  TMPMBX NETMBX
Identifier                         Value           Attributes
  OA$ADMIN                         %X80010006
  OA$G_ZUVSGJUPG                   %X80010017      RESOURCE
  OA$G_ZUWKFWPM3                   %X8001003E      RESOURCE

***********************************************

UAF> sho allin1

Username: ALLIN1                           Owner:
Account:                                   UIC:    [1,5] ([ALLIN1])
CLI:      DCL                              Tables: DCLTABLES
Default:  DISK$DATA1:[M_ALLIN1]
LGICMD:   LOGIN
Flags:

***********************************************

Don't know if this is involved !

UAF> sho oafc$server

Username: OAFC$SERVER                      Owner:  FILECABSERVER
Account:                                   UIC:    [20,3] ([OAFC$SERVER])
CLI:      DCL                              Tables: DCLTABLES
Default:  NLA0:[USER]
LGICMD:   NLA0:
Flags:  Restricted DisMail GenPwd


***********************************************

$ mc diskquota
DISKQ>use disk$user_2
DISKQ>sho barhamc
UIC [BARHAMC] has 840 blocks used
of 15000 authorized, 5000 permitted overdraft.
DISKQ>sho allin1
UIC [ALLIN1] has 550658 blocks used
of 2000000 authorized, 2000 permitted overdraft.
DISKQ>sho oafc$server
UIC [OAFC$SERVER] has 0 blocks used
of 100000 authorized, 10000 permitted overdraft.

DISKQ>use disk$user_1
DISKQ>sho harveyw
UIC [HARVEYW] has 7853 blocks used
of 50000 authorized, 2000 permitted overdraft.
*****************************************************

ALL-IN-1 profiles

                              Account Details

  ALL-IN-1 account details:

 Account name:  BARHAMC
 Directory: DISK$USER_2:[BARHAMC.A1]
 Form libr:

  VMS account details:

 Account name: BARHAMC
 When deleting the VMS account, delete from directory:
 DISK$USER_2:[BARHAMC]


***********************************************

                              Account Details

  ALL-IN-1 account details:

 Account name:  HARVEY.W
 Directory: DISK$USER_1:[HARVEYW.A1]
 Form libr: OA$LIB:ADMIN

  VMS account details:

 Account name: HARVEYW
 When deleting the VMS account, delete from directory:
 DISK$USER_1:[HARVEYW]

****************************************************

$ sho log disk$user_2/full
   "DISK$USER_2" [exec] = "DISK$DATA1:[USER_2.]" [concealed] (LNM$SYSTEM_TABLE)

$ sho log disk$data1/full
   "DISK$DATA1" [exec] = "PTZV15$DKA400:" [concealed,terminal] (LNM$SYSTEM_TABLE

$ sho log disk$user_1/full
   "DISK$USER_1" [exec] = "DISK$DATA1:[USER_1.]" [concealed] (LNM$SYSTEM_TABLE)
(the account HARVEYW whose drawer I am accessing is on this disk)

*****************************************************

ALL-IN-1 profile directory for BARHAMC then changed to

PTZV15$DKA400:[USER_2.BARHAMC.A1]

to remove the rooted logical DISK$USER_2 but no change.

*****************************************************

Trace :-

![SYMBOL] Symbol: OA$CURDWR_REMOTE, Value: N
![SYMBOL] Symbol: OA$Y, Value: Y
![SCRIPT] IF Operation starting
![SCRIPT] .IF condition OA$CURDWR_REMOTE EQS OA$Y  is FALSE
![SCRIPT] Null ELSE clause detected
![SCRIPT] WP_SYS_EDIT Line 83: CHECK_DISKQUOTA OA$CURDWR_OWNER, FILE$.DEVICE[LOG
!               $OA$CURDWR_DIRECT]
![FUNC]   Function: CHECK_DISKQUOTA, Cmd line: OA$CURDWR_OWNER, FILE$.DEVICE[LOG
!               $OA$CURDWR_DIRECT]
![A1LOG]  Entry: %OA-I-LOGFUN, Function: CHECK_DISKQUOTA OA$CURDWR_OWNER, FILE$.
!               DEVICE[LOG$OA$CURDWR_DIRECT]
![SYMBOL] Symbol: OA$CURDWR_OWNER, Value: HARVEYW
![SYMBOL] Symbol: LOG$OA$CURDWR_DIRECT, Value: DISK$USER_1:[HARVEYW.A1.ZUWQOD9FD
!               ]
![SYMBOL] Symbol: FILE$.DEVICE[LOG$OA$CURDWR_DIRECT], Value: DISK$USER_1:
![FUNC]   Function: YESNO_PROMPT, Cmd line: "Warning: You are low on disk
space.
!                Do you want to continue? [Y/N]"
![A1LOG]  Entry: %OA-I-LOGFUN, Function: YESNO_PROMPT    "Warning: You are low
o
!               n disk space. Do you want to continue? [Y/N]"
![SYMBOL] Symbol: "Warning: You are low on disk space. Do you want to continue?
!               [Y/N]", Value: Warning: You are low on disk space. Do you want
t
!               o continue? [Y/N]
![FORM]   Form: WP, Field: CHOICE/12, Page: 1, Prompt: y



Any ideas ?

Thanks,

Clive Barham
UK CSC
T.RTitleUserPersonal
Name
DateLines
3345.2IOSG::CARLINDick Carlin IOSG, Reading, EnglandThu Oct 07 1993 14:1017
    Clive
    
    Sorry, yes there is a problem with the concealed devices and
    CHECK_DISKQUOTA/FILE$. However I'm puzzled that you got a "Warning: low
    on space" rather than a parameter error on the CHECK_DISKQUOTA (that's
    what I get when I do it). Do you also have a device called
    DISK$USER_1:?
    
    For a temporary fix you would have to unconceal DISK$USER_1 rather than
    DISK$USER_2. Remember it's the drawer owner's quota that matters,
    however I must confess that our message is misleading. Perhaps it
    should say "One is low on disk space" rather than "You are low on disk
    space". :-)
    
    SPR it as Andrew says
    
    Dick
3345.3ignore .2!IOSG::CARLINDick Carlin IOSG, Reading, EnglandTue Oct 12 1993 18:0118
    Clive
    
    Sorry again, what I said in .2 was rubbish. The CHECK_DISKQUOTA/FILE$
    functions are perfectly happy with concealed devices. However I might
    take the opportunity to add a FILE$.PHYSICAL_DEVICE option to FILE$
    which will always wade through the concealments to return the
    physical device id.
    
    So, did changing HARVEYW's profile to PTZV15$DKA400:[USER_1. blah] have
    any effect? I wouldn't have thought so. If you have the time to try it,
    what happens if you do these interactively:?
    
    CHECK_DISK "HARVEYW","DISK$USER_1:"
    CHECK_DISK "HARVEYW","PTZV15$DKA400:"
    
    but I'm grabbing at straws. Back to being puzzled again.
    
    Dick
3345.4still a problemCHEFS::HARVEYWFri Nov 05 1993 13:4217
    Hi this problem is getting worse, as we now have it on all of our
    ALL-IN-1 systems.  (As I have just finished upgrading them all to 
    V3 ALL-IN-1)
    
    I have tried removing all references to concealed devices in the
    ALL-IN-1 profile and the authorize entry but still get the warning:
    "You are low on disk space. Do you want to continue? [Y/N]" 
    when we edit a shared document.
    
    The systems are standard apart from having WordPerfect integrated into
    them, I have tried going in /nocust to avoid using the WordPerfect
    integration, but still get the same warning.
    
    
    
    
    Wal...
3345.5LOOKIN::BARHAMNorbert:Wed Nov 10 1993 19:2019
    Hi Dick,
    
    Sorry, I've been off sick for quite a while (sinus operation!) but this 
    problem is still alive and kicking.
    We do not currently have access to the system in question but a similar
    system displays the same symptoms (in fact they all do now after the
    upgrade to v3). The only difference here is that the disk logicals are
    not rooted and point to hard devices.
    We tried the two CHECK_DISKQUOTA commands you suggested. They both
    returned '1' in the symbol oa$status.
    We believe it is the same on the machine in the base note too. (I'll
    say later if this is not true).
    
    Any more I can tell you ?
    
    Thanks,
    
    Clive  
                     
3345.6escalation time ?!TOPPER::BARHAMNorbert:Mon Nov 22 1993 20:25107
    OK, last chance everyone :-)
    
    We have eliminated all disk logicals and we now have a hard coded
    device in the profile and UAF records - DSA21: 
    The shared drawer is in BROADJ's account which we are trying to access
    from BROADW.
    
    BROADJ's summary :-
    ======================
    
    UIC [BROADJ] has 985 blocks used
    of 10000 authorized, 1000 permitted overdraft.
    
    -------------------------
    
    UAF entry
    
    Username: BROADJ                           Owner:  janet Broad
    Account:  624                              UIC:    [1022,11] ([BROADJ])
    CLI:      DCL                              Tables: DCLTABLES
    Default:  DSA21:[BROADJ]
    LGICMD:   LOGIN
    
    --------------------------
    ALL-IN-1 profile
    
     Account name:  BROAD.J
     Directory: DSA21:[BROADJ.A1]
     Form libr:
    
      VMS account details:
    
     Account name: BROADJ
     When deleting the VMS account, delete from directory:
     DISK$USER_1:[BROADJ]
    
    ************************************
    
    BROADW's summary :-
    =====================
    
    UIC [BROADW] has 636 blocks used
    of 10000 authorized, 1000 permitted overdraft.
    
    --------------------------
    
      ALL-IN-1 account details:
    
     Account name:  BROAD.W
     Directory: DSA21:[BROADW.A1]
     Form libr:
    
      VMS account details:
    
     Account name: BROADW
     When deleting the VMS account, delete from directory:
     DISK$USER_1:[BROADW]
    
    -------------------------------
    
    Username: BROADW                           Owner:  Walter Broad
    Account:  680                              UIC:    [1070,46] ([BROADW])
    CLI:      DCL                              Tables: DCLTABLES
    Default:  DSA21:[BROADW]
    LGICMD:   LOGIN
    
    
    
    Trace reads
    
    ![SCRIPT] WP_SYS_EDIT Line 83: CHECK_DISKQUOTA OA$CURDWR_OWNER, 
    FILE$.DEVICE[LOG
    !               $OA$CURDWR_DIRECT]
    ![FUNC]   Function: CHECK_DISKQUOTA, Cmd line: OA$CURDWR_OWNER,
    FILE$.DEVICE[LOG
    !               $OA$CURDWR_DIRECT]
    ![SYMBOL] Symbol: OA$CURDWR_OWNER, Value: BROADJ
    ![SYMBOL] Symbol: LOG$OA$CURDWR_DIRECT, Value:
    DSA21:[BROADJ.A1.ZUYBEIC5K]
    ![SYMBOL] Symbol: FILE$.DEVICE[LOG$OA$CURDWR_DIRECT], Value: DSA21:
    ![FUNC]   Function: YESNO_PROMPT, Cmd line: "Warning: You are low on
    disk space.
    !                Do you want to continue? [Y/N]"
    
    
    
    To me, this is saying that BROADJ (where the drawer is located) is
    overquota so we logged into BROADJ and did the equivalent (I think)
    command :-
    
    <check_diskquota "BROADJ","DSA21:"
    
    and nothing happened. To confirm we were doing it right we reduced
    BROADJ's diskquota so it was very low and the command gave the expected
    quota warning.
    
    So why would the command work when typed interactively from within 
    BROADJ's account but not from a script that does the equivalent command ?? -
    
    CHECK_DISKQUOTA OA$CURDWR_OWNER, FILE$.DEVICE[LOG$OA$CURDWR_DIRECT]
    
    
    Anyone ?!
    
    Thanks,
    
    Clive
3345.7Still puzzledIOSG::CARLINDick Carlin IOSG, Reading, EnglandMon Nov 22 1993 22:0312
    Clive
    
    What happens when, from BROADW's account, you interactively do:
    
    <check_diskquota "BROADJ","DSA21:"
    
    This is a better match of what is actually being done in the script.
    
    (I think I asked this in .2, but possibly we were all getting confused
    with usernames).
    
    Dick - sorry I haven't replied earlier, but I've run out of ideas.
3345.8TOPPER::BARHAMNorbert:Tue Nov 23 1993 12:3314
    Thanks Dick,
    
    You are indeed right. When doing the 
    
    <check_diskquota "BROADJ","DSA21:"
    
    from BROADJ, it gives the correct results. But when doing it from
    BROADW it always gives the quota warning. 
    
    What does that tell us ?!
    
    Thanks,
    
    Clive
3345.9Protection problem?IOSG::MAURICEInsufficient hair for flowerTue Nov 23 1993 14:5210
Hi,

The CHECK_DISKQUOTA function uses ALL-IN-1's installed privileges, expect 
BYPASS, to get information it needs. It reads information from the 
disk quota file on the disc (QUOTA.SYS in the root directory). Check 
whether there is system access on this file.

Cheers

Stuart
3345.10TOPPER::BARHAMNorbert:Tue Nov 23 1993 17:2013
    Stuart/Dick,
    
    At last !! 
    
    DSA21:[000000]quota.sys had a protection of (,RWED,,). Even though the
    owner was SYSTEM, changing the protection to (RWED,RWED,RE,) fixed it !
    
    Weird. STARS article on it's way.
    
    Thanks for your help.
    
    Clive