Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScale OneFS 9.8.0.0 Web Administration Guide

Set a retention period through a UNIX command line

You can specify when a file will be released from a WORM state through a UNIX command line.

  1. Open a connection to any node in the PowerScale cluster through a UNIX command line and log in.
  2. Set the retention period by modifying the access time of the file through the touch command.
    The following command sets an expiration date of June 1, 2025 for /ifs/data/test.txt:
    touch -at 202506010000 /ifs/data/test.txt
    Other touch command input formats are also allowed to modify the access time of files. For example, the command:
    touch -a MMDDhhmm[yy] [file]
    can modify the access time in some versions of FreeBSD.
    Other commands that modify the access time have the same effect of modifying the retention period. For example, the command:
    cp -p <source> <destination>
    copies the contents of source to destination, and then updates the attributes of destination to match the attributes of source, including setting the same access time.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\