Maximo Open Forum

 doclink attachments using s3 storage

Jump to  Best Answer
  • Everything Maximo
Jiang Monge's profile image
Jiang Monge posted 05-13-2025 09:41

Can we store attachment files in a s3 folder (just 1 level off root) instead of bucket root?  I heard different stories about this. Some people say yes,  while attachment using s3 storage does not support folder structure like file-based attachment storage,  however we should be able to store them in a folder (eg attachment) instead of bucket root.    Is this true? If so, can someone please share how to achieve it?    We have one s3 storage bucket that we'll be using to store attachments as well as logs,  we really would like to have separate folders in the s3 bucket, even if just one level folder, to separate attachment files vs log files.

Steven Shull's profile image
Steven Shull  Best Answer

This is only possible for existing files today when you enable the mxe.cosnestedfile property and will support 1 level deep (IE Attachments/file.txt but not Attachments/Work/file.text). New files will always get stored in the root directory. This was something I know was discussed potentially being enhanced in the future, but I haven't heard anything about it making it in 9.1. 

This is documented here: https://www.ibm.com/support/pages/collecting-data-s3-storage-attachments

Poonam Aswani's profile image
Poonam Aswani

Hi Jiang,

I also wanted to implement something similar. I read Steven's answer and wanted to ask about new attachments? Does that mean new attachments which we attach from now will be in root folder and not in level 1 deep folder? Any way you got to achieve this?

Jiang Monge's profile image
Jiang Monge

I have not tried, since IBM says new attachments will still be stored in root, I feel we may as well have old/existing attachment files folder structure flattened out.  We will get a different s3 bucket for log files.    

We are now storing all attachments in a NFS PV, we probably will keep it that way for now, hopefully IBM enhance the capabilities to support folder structure for s3 attachment storage.