Enabling large file systems

Follow these instructions if you did not enable large file support during the initial installation of InfoPrint Manager and you want to use this function. These instructions apply to both the /var/pd and /var/psf file systems. You should have at least 7 gigabytes of available hard drive space to properly configure your system for large file support.
  1. Log into the InfoPrint server as root.
  2. Open a terminal window.
  3. Stop all InfoPrint related processes by using this command: /usr/lpp/InfoPrint/install/bin/killprocs.ksh
    Note: InfoPrint is capitalized.
  4. Use this command to unmount the /var/psf/segments, /var/pd, and /var/psf file systems:
    umount <file system name>
    Where <file system name> is /var/psf/segments, /var/psf, or /var/pd.
    Note: You need to umount /var/psf/segments to umount /var/psf. However, you do not need to large file enable /var/psf/segments because the segment files are limited to a approximately to 5 megabytes in size by default.
  5. Gather three pieces of information:
    • File system size
    • Volume group name
    • Does the file system currently support large files?
    1. Issue this command:
      lsfs -q <file system name>
      Where <file system name> is /var/pd or /var/psf. Check both of these file systems. If you see bf: false in the response text, the file system is not large file enabled. If you see bf: true in the response text, the file system is already large file enabled. However, continue with these steps to make sure that your file system is also large enough to support large file processing.
    2. Find the volume group name:
      1. Look in the Name column on the far left of the window for the logical volume name for the file system.
      2. Issue this command:
        lslv <logical volume name>
        Where <logical volume name> is the name that appears in the Name column in the previous step. For example: lslv lvpsfs. The volume group name is listed in the first row. For example: VOLUME GROUP: rootvg.
      3. Make a note of the volume group name.
    3. Find the size of the file system. The size of the file system will be displayed like: fs size: 1.445678. This is the number of blocks that the file system occupies. You will need to determine the number of megabytes in the file system. To find this number, divide the number of blocks by 2,048. For example:
      fs size: 2097152
      2,097,152/2,048 = 1,024
      There are 1,024 megabytes in the file system or 1 gigabyte.
    4. Make a note of the number of megabytes in the file system.

    It is necessary for the /var/psf and /var/pd file systems to be larger than 2.14 gigabytes in size to support files that are larger than 2.14 gigabytes in size. In our example, the file system is only 1 gigabyte and needs to be increased in size. Even if the file system is already large file enabled (bf: true), the size of the file system must also be greater than 2.14 gigabytes to be truly capable of supporting large files.

  6. Use these steps to enable large file support on the file system:
    1. Create a temporary directory:
      mkdir /tmp/psf
      mkdir /tmp/pd
      Note: make sure that the temporary directory that you create has enough space for the file systems you are copying. Sometimes the /tmp file system is not large enough for this process. Choose a location with enough space to store the contents of /var/psf and /var/pd. You could also enable large file support for /var/psf and /var/pd one at a time.
    2. Copy the file system contents to another location temporarily:
      cp -hfr <fsname> <temporary location>
      For example: cp -hfr /var/psf /tmp/psf.
    3. Issue this command to remove the file system:
      rmfs <fsname>
      For example: rmfs /var/psf.
    4. Recreate the file system as a large file enabled file system of the appropriate size:
      /usr/lpp/InfoPrint/install/bin/allocfs.ksh -n <fsname> -g <vgname> 
            -s <mb> -l
      Where <fsname> is the file system name, <vgname> is the volume group name, and <mb> is the size in megabytes of the new file system.

      For example:

      /usr/lpp/InfoPrint/install/bin/allocfs.ksh -n /var/psf -g rootvg 
            -s 3072 -l

      Ignore any messages like A file