Results 1 to 2 of 2

Thread: KVM image acess time

  1. #1

    Default KVM image acess time

    Greetings!

    There are 2 image files from a KVM guest from a backup, and I dont know which one of the two is the most recent one.

    Currently I mount both and check which has newer entriers in /var/log.

    Is there a more efficient method to check for the last access time of an image file?
    The file date is not relieble, because it might have been copied.

    Thanks for your comments,
    Wolf

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: KVM image acess time

    Quote Originally Posted by WolfGrossi View Post
    Greetings!

    There are 2 image files from a KVM guest from a backup, and I dont know which one of the two is the most recent one.

    Currently I mount both and check which has newer entriers in /var/log.

    Is there a more efficient method to check for the last access time of an image file?
    The file date is not relieble, because it might have been copied.

    Thanks for your comments,
    Wolf
    Some things you can check...
    File time/date last accessed or modified.
    If you boot the image, inspect the journal (system log) dates of the last boot.

    Possibly more relevant is what in the images is most important like a particular file or configuration.
    Else, if nothing is that important within each image, just update both and consider them equal.

    And, consider modifying your storage to address your issue in the future, like perhaps storing images in folders with date names, or modifying the image file names themselves.

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •