• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Hunting Down Storage Hogs

    February 24, 2010 Hey, Joe

    My System i 550 disk space keeps filling up, and now it’s approaching 87 percent utilization. I’m worried it will be a major problem once storage tops 90 percent used. I’ve checked everything I can think of. Do you have any ideas for what could be eating up my disk space?

    –Tim

    This is a common issue that most shops face at one time or another. Here are some common places to search for memory hogs on your system.

    1. Excessive spooled files–Some shops are spooled file pack rats, refusing to delete large numbers of spooled files, sometimes for years. To see if you have a spooled files issue, use this Work with Output Queue (WRKOUTQ) command to check for output queues that contain too many entries.

    WRKOUTQ OUTQ(*ALL)
    

    This command displays all your output queues and the number of spooled files each output queue contains, making it easy to determine if your users are keeping too many reports on the system.

    2. Junk libraries–Do you have any copies of old libraries that you saved before performing a software upgrade or before performing a major database change? Many shops forget to delete these saved libraries and the files wind up junking up their system. Run this Display Library (DSPLIB) command to determine if you have any junk libraries on your system.

    DSPLIB LIB(*ALL)
    

    Look for any libraries that have the literals ‘OLD’, ‘SAV’, or ‘XX’ as the last characters in their names (these are classic tells for library copies). Sometimes a junk library will also contain the date the library was created in their library name (i.e., RBT021810). Make sure you backup junk libraries to media before deleting them, in case you later discover that they weren’t junk libraries after all.

    3. Junk files and large files or file members that need reorganization–Several years ago, I developed a procedure for creating a file that contains meta-data about all the other files on my system, including the number of deleted records in each file and member. You can review this procedure by clicking here. Once created, sort your file metafile data in descending order by number of deleted records. This will provide a road map for determining which files can return the most disk drive space through reorganization.

    Also be on the lookout for junk files and old versions of large files. Junk files include old save files that haven’t been removed, as well as test versions of large production files that an IT staffer tucked away in a private library before a database change. You can also use the metafile data to search for these files.

    4. Journal Receivers–We recently solved a storage problem by reviewing and finding 27 journal receivers that weren’t being deleted off the system at the proper time. These receivers consumed almost 9 percent of system storage and their removal reduced storage utilization from 86 to 77 percent full, enough to take away the imminent threat of our machine crashing when storage filled up. To view all the journal receivers on your system, run this Work with Journal Receivers (WRKJRNRCV) command.

    WRKJRNRCV JRNRCV(*ALL/*ALL)
    

    Look for a high number of receivers that have the same core name but different receiver numbers (such as AUDRCV2602 through AUDRCV2623). If you see this pattern, check out the library the receivers belong to with this Display Library (DSPLIB) command.

    DSPLIB LIB(LIB_NAME)
    

    If your suspect journal receivers are consuming a lot of space, you can delete old receivers and change your journal management technique to detach and delete receivers at regular intervals.

    5. AS/400 Integrated File System (AS/400 IFS) –In some instances, third-party applications can fill up the AS/400 IFS with ASCII files and other objects. I’ve seen this happen with fax or email packages where old records aren’t being purged in a timely manner and several months of documents pile up in an IFS directory. A few years ago, I evaluated four different free tools to calculate how big your AS/400 IFS is so that you can determine if any folders are taking up too much space. Perhaps you can use one of these tools to check for excessive storage usage in the AS/400 IFS.

    HTH

    –Joe

    RELATED STORIES

    How Big is My IFS?

    Dealing with i5 Critical Storage Errors, Part 2

    Dealing with i5 Critical Storage Errors, Part 1

    Protecting Your System from Critical Storage Errors

    Determining Which OS/400 Files Need Reorganizing

    5 Things to Do Before Adding iSeries Disk Capacity



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Midrange Dynamics North America

    Git up to speed with MDChange!

    Git can be lightning-fast when dealing with just a few hundred items in a repository. But when dealing with tens of thousands of items, transaction wait times can take minutes.

    MDChange offers an elegant solution that enables you to work efficiently any size Git repository while making your Git experience seamless and highly responsive.

    Learn more.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    PowerTech:  Strengthen your security. Get a FREE Compliance Assessment today
    looksoftware:  Learn more and get your complementary ilook licences
    COMMON:  Join us at the annual 2010 conference, May 3 - 6, in Orlando, Florida

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    Chip Wars: List Price, $29.95

    eCMS Gets an Interface to Vehicle Scales X64 and Blade Servers Lead the Server Recovery

    Leave a Reply Cancel reply

Volume 10, Number 7 -- February 24, 2010
THIS ISSUE SPONSORED BY:

WorksRight Software
Profound Logic Software
Northeast User Groups Conference

Table of Contents

  • Naming Idiosyncrasies with the DB2 Storage Engine for MySQL
  • How To Use the Inhibit Write Keyword?
  • Hunting Down Storage Hogs

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Public Preview For Watson Code Assistant for i Available Soon
  • COMMON Youth Movement Continues at POWERUp 2025
  • IBM Preserves Memory Investments Across Power10 And Power11
  • Eradani Uses AI For New EDI And API Service
  • Picking Apart IBM’s $150 Billion In US Manufacturing And R&D
  • FAX/400 And CICS For i Are Dead. What Will IBM Kill Next?
  • Fresche Overhauls X-Analysis With Web UI, AI Smarts
  • Is It Time To Add The Rust Programming Language To IBM i?
  • Is IBM Going To Raise Prices On Power10 Expert Care?
  • IBM i PTF Guide, Volume 27, Number 20

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle