beautypg.com

Example – HP NonStop G-Series User Manual

Page 167

background image

Performing Routine Disk Operations

Guardian User’s Guide 425266-001

9- 21

Listing and Purging Old Disk Files

A list of all existing subvolumes on the disk of your default subvolume is
displayed. This list can help you determine the names of subvolumes that might
need to be purged.

c.

Generate a DSAP report showing all subvolumes owned by a given user:

> DSAP $disk, BYSUBVOL, USER group-id,user-id

d. Determine the ages of files in a given subvolume:

> VOLUME subvolume-name

> FILEINFO

A listing of all files contained within the given subvolume is displayed on your
home terminal. The date of the most recent change to each file is shown in the
column named “Last Modification.”

e.

Consult with the user’s manager to determine whether you should purge any
files. Your ability to purge files depends on file security settings; you might
need to change file security if you are authorized to do so, or you might need to
contact your operations manager or database administrator.

2. Purge the files or subvolumes you have determined are old.

To purge a single file within a given subvolume, enter:

> PURGE subvolume.file

To purge an entire subvolume, enter:

> FUP PURGE subvolume-name.*

Example

1. Generate a DSAP report that lists all the subvolumes on $DATA1 owned by the user

SALES.BONNIE, the amount of disk space they occupy, and the number of days
since the subvolumes have been modified and opened:

> DSAP $DATA1, BYSUBVOL, USER SALES.BONNIE

Disk Space Analysis Program -- T9543D20 - (01JUN93) -- 7/23/93 10:28:29
Tandem Computers Incorporated 1981, 1983, 1985-1993

Summary of space use for SALES.BONNIE on $DATA1

234 allocated pages in 8 files in 19 extents (0.0%).

24 unused pages in 7 files (0.0%).

0 deallocatable extent pages in 0 files (0.0%).

No SQL views.

Subvol Summary Report

Subvolume Name Total Unused Dealloc Large Min Age Num
Files Pages Pages Pages File Mod,Opn Exp
BONN 6 162 23 0 140 365,365 6
MEMOS 2 72 1 0 64 365,365 2

This manual is related to the following products: