On Thu, 8 Jan 1998, Peter Duempert wrote:
> Hi ADSM-ers,
> putting a new client into service, I encountered the following:
>
> 1. The o/p from a dsmadmc's
> adsm> q occu rzcipa01 /var/spool/mail
>
> Node Name Type Filespace Storage Number of Space
> Name Pool Name Files Occupied
> (MB)
> ------------------------ ---- ----------- ----------- -------------------
> RZCIPA01 Bkup /var/spool- ACL452 359 13.0>
> RZCIPA01 Bkup /var/spool- ACL452 359 13.07
> /mail
>
> RZCIPA01 Bkup /var/spool- BACKUPPOOL 36 4.49
> /mail
>
> i.e. the total # of files shown is 359 + 36 = 395
>
> 2. The last page of "dsmc rest -pick /var/spool/mail" on the relevant
> client produced:
> ADSM Scrollable PICK Window - Restore
>
> # Backup Date/Time File Size A/I File
>
> -----------------------------------------------------------------------------
> 488. | 07.01.1998 10:57:56 16526 A /var/spool/mail/witt>
> 488. | 07.01.1998 10:57:56 16526 A /var/spool/mail/witte
> 489. | 07.01.1998 10:57:58 145060 A /var/spool/mail/wr000002
> 490. | 07.01.1998 10:57:58 3004 A /var/spool/mail/wr000003
> 491. | 07.01.1998 10:57:58 6942 A /var/spool/mail/wr000006
> 492. | 07.01.1998 10:57:58 0 A /var/spool/mail/wr000007
> 493. | 07.01.1998 10:58:00 0 A /var/spool/mail/wr000009
> 494. | 07.01.1998 10:58:00 1372 A /var/spool/mail/wr000010
> 495. | 07.01.1998 10:58:00 16412 A /var/spool/mail/z1011001
> 496. | 07.01.1998 10:58:00 16478 A /var/spool/mail/z1011002
> 497. | 07.01.1998 10:58:00 19408 A /var/spool/mail/z1011003
> 498. | 07.01.1998 10:58:00 16445 A /var/spool/mail/z1011004
> 499. | 07.01.1998 10:58:00 3710 A /var/spool/mail/z1011005
> 500. | 07.01.1998 10:58:00 0 A /var/spool/mail/z1011009
> 501. | 07.01.1998 10:58:00 8777 A /var/spool/mail/z1011021
> 502. | 07.01.1998 10:58:00 0 A /var/spool/mail/z1011024
>
> 0---------10--------20--------30--------40--------50--------60--------70-----
> <U>=Up <D>=Down <T>=Top <B>=Bottom <R#>=Right <L#>=Left
> <U>=Up <D>=Down <T>=Top <B>=Bottom <R#>=Right <L#>=Left
> <G#>=Goto Line # <#>=Toggle Entry <+>=Select All <->=Deselect All
> <#:#+>=Select A Range <#:#->=Deselect A Range <O>=Ok <C>=Cancel
> pick>
>
> i.e. the CORRECT # of files as shown by the o/p of:
> root@rzcipa01:~ 293 > ls /var/spool/mail/|wc
> 502 502 4302
>
> 3: The client on rzcipa01 is on 2.1.0.8, the dsmadmc is on 2.1.0., both
> running under AIX 4.1.5. The server is on 2.1.0.12 running under AIX 4.1.5.
> 4. The # of empty files , i.e. length = 0, in the above example is 161,
> i.e no match with the 107 = 502 - (359 + 36)
>
> Q: Any explanation for this descrepancy ?
>
> --
> MfG / Ciao - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Peter Dümpert Email: p.duempert@tu-bs>
> Peter Dümpert Email: p.duempert AT tu-bs
> DOT de
> Rechenzentrum der Technischen Universität Fax : ++49/531/391-5549
> D 38092 Braunschweig Tel : ++49/531/391-5535
>
>
Yes, the q occ output only displays the number of files stored in
storage-pools. "Zero-length"-files and directories only take up space in
the DB.
These are the numbers for a filespace which I deleted a couple of weeks
ago:
q occup reported 10422 files.
q backup on the client reported 10709 files. 287 of these were '0-length'
10709-287=10422
q backup -dirsonly on the client reported 2705 files.
So, the total number of files stored on the server for this filespace was
10709+2705=13414
This number was confirmed by the delete filesp-process, which reported
"ANR0806I Delete Filespace /med/aslak/u4 complete for node
ASLAK: 13414 files deleted."
Tom
|