Recently when working on an OpenVZ container I was attempting to create a backup. While doing so I kept running into a problem where the server wouldn’t let me unmount the container in order to create the backup. The error you may see in this instance would say “Can’t umount /var/lib/vz/root/OpenVZID device or resource busy”, or “Can’t umount /var/lib/vz/root/100: Device or resource busy TASK ERROR: command ‘vzctl umount 100’ failed: exit code 51″, in this case the container being 100. Here’s how I was able to fix it …
How to Changing a file’s “Date Created” and “Last Modified”
you can use the
touch command along with the
-r switch to apply another file’s attributes to a file.
NOTE: There is no such thing as creation date in Unix, there are only access, modify, and change. See this U&L Q&A titled: get age of given file for further details.