Forum Discussion

tarmizi's avatar
tarmizi
Level 5
8 years ago

Deleting "pack" directory in AIX

Hello all,

My customer having disk space issue in /usr and they as me if they can delete one of these directory:

[AIX_server]:/usr/openv>du -sg * | sort -n
1.44 pack.7.6.0.3
2.87 pack

Where in pack.7.6.0.3, they have:

[AIX_server]:/usr/openv>cd pack.7.6.0.3
[AIX_server]:/usr/openv/pack.7.6.0.3>du -sg * | sort -n
0.72 NB_CLT_7.6.0.1
0.72 NB_CLT_7.6.0.3

And in pack, they have 

[AIX_server]:/usr/openv>cd pack
[AIX_server]:/usr/openv/pack>du -sg * | sort -n
0.00 pack.history
0.00 pack.summary
0.71 NB_CLT_7.6.1
0.72 NB_CLT_7.6.0.1
0.72 NB_CLT_7.6.0.3
0.72 NB_CLT_7.6.1.2

If they may delete one of the directory, what is the impact?

Thank you

  • Sajal's avatar
    Sajal
    8 years ago

    Yes, you can delete all the sub-directories starting with keyword "NB_CLT" inside directory /usr/openv/pack*.It will only impact rollback process during push upgrade from master server.

    -Sajal

3 Replies

  • Files and directory within the /usr/openv/pack/ are used for rollback purposes during push upgrade.You can remove the NB_CLT_7.X.X.X directories, however
    rollback will fail in case of push upgrade of client servers.

    Don't remove pack.summary or pack.history as these serve as a record for what packs have been installed on the system

    -Sajal

    • tarmizi's avatar
      tarmizi
      Level 5

      Hi Sajal,

      Thank you for your promtp reply. In this case, you are saying my customer may delete folloeing directory?:

      [AIX_server]:/usr/openv>cd pack.7.6.0.3

      [AIX_server]:/usr/openv/pack.7.6.0.3>du -sg * | sort -n

      0.72    NB_CLT_7.6.0.1

      0.72    NB_CLT_7.6.0.3

      Thank you

      • Sajal's avatar
        Sajal
        Level 3

        Yes, you can delete all the sub-directories starting with keyword "NB_CLT" inside directory /usr/openv/pack*.It will only impact rollback process during push upgrade from master server.

        -Sajal