• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Checking file after moving them (CRC with cksum and File-Hast)

    Scheduled Pinned Locked Moved
    Tutorials
    1
    1
    209
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jmeyer
      last edited by

      Hello,

      For the first time, I had “zstd /stdin unsupported format” during deploy after moving an image between FOG servers and crossing two Windows computers.

      I end checking CRC with the commands directly inside image directory :

      • On Linux with :
      cksum *
      

      Result :

      4102865288 6 d1.fixed_size_partitions
      1553301511 1048576 d1.mbr
      21074109 873 d1.minimum.partitions
      3930731312 20 d1.original.fstypes
      4294967295 0 d1.original.swapuuids
      3323012245 11304005 d1p1.img
      4080882029 767 d1p2.img
      4038447468 7834146234 d1p3.img
      1735290603 153344 d1p4.img
      1356735187 873 d1.partitions
      2087979657 873 d1.shrunken.partitions
      
      • On Windows Powershell with :
      Get-ChildItem * | Select-Object -Property Name,@{name="Hash";expression={(Get-FileHash $_.FullName).hash}}
      

      Result :

      d1.fixed_size_partitions 8F2326E98FF66634578EC07879B45A6ADA0B681444819A581F5F3BFCA5FA6029
      d1.mbr                   5113DDB273F26E0D6F88367B5330BEF6E2A7FD399984EDB3519268DDE7B4FFCE
      d1.minimum.partitions    8A04A480F69C6A6084DDF9EB43F37E913C14C5EF57AF58CBB7406CD2CB832CAC
      d1.original.fstypes      A061EFCFAA6B32FBD533450D14E71E2C1EC422AC67A8F8296B773A46407F5914
      d1.original.swapuuids    E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
      d1.partitions            3F23AA64C5AFDCE83CCB59AACF2F03EDAD3EA6429B22010339C43B29DE406D2C
      d1.shrunken.partitions   59D5B234D923B3B73EA0CB808853397B8D19644C9E135BFDD8C538633ECE4106
      d1p1.img                 6B3A9D5B0C26BE448A24339F7DE1067A4C0F3615D9BE42B86BEB355BA6F9BCE6
      d1p2.img                 511CBE019A39980DF90F7D9A547BAE4521551EEF53625705538713AB14311DD0
      d1p3.img                 5F2223BB3D63C9400C77C10A5ADF5AE2DCA48D8C768AC2097F20E3731E843FC9
      d1p4.img                 A8D21F3E22C596EA01B8F7BAC981C9FB265938D0A1A3F2C3599ADF170A75CE9E
      

      This way I can check between my 2 computer under Windows before checking between my two FOG servers.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      160

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project