User Tools

Site Tools


code:work:lvisf:2024:field_processing:arcsix:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:work:lvisf:2024:field_processing:arcsix:start [2024/10/15 17:16] davidcode:work:lvisf:2024:field_processing:arcsix:start [2024/10/15 17:30] (current) – [Final Raid Inventory] david
Line 255: Line 255:
 ==== Final Raid Inventory ==== ==== Final Raid Inventory ====
  
 +  * Ensure each drive has a meta and inventory entry
 +  * Copy inventory and meta files to three places **drive_meta/year/campaign/**
 +    * camera, card, lvisf, nav, rtp, usb
 +    * Box, Teams and Wiki <code>
 +# manual creation of inventory
 +time_date=$(date '+%Y%m%d')
 +time_time=$(date '+%H%M%S')
 +inventory_output="${camera_basepath}/inventory/${time_date}_${time_time}_${camera_diskid}_${linkname}_inventory.txt"
 +meta_output="${camera_basepath}/meta/${linkname}.txt"
 +mkdir -p ${camera_basepath}/inventory/ ${camera_basepath}/meta/
 +meta_path="${camera_basepath}/meta/"
 +drivemeta=$(df -h | grep ${camera_mountpoint})
 +echo "${time_date} ${time_time} ${camera_diskid} ${drivemeta}"
 +echo "${time_date} ${time_time} ${camera_diskid} ${drivemeta}" >> ${meta_output}
 +echo "find ${camera_mountpoint} -type f -exec ls -l {} \; >> ${inventory_output}"
 +find ${camera_mountpoint} -type f -exec ls -l {} \; >> ${inventory_output}
 +</code>
   * **md5deep** will follow symbolic links, so run this <code>   * **md5deep** will follow symbolic links, so run this <code>
-time sudo find /mnt/archive/ -type f -exec md5deep -z {} \; > md5deep_archive2024_all_takeIV.txt+time sudo find /mnt/archive/ -type f -exec md5deep -z {} \; > ~/md5deep_archive2024_all.txt
  
 # 68 hours for 44TB not bad # 68 hours for 44TB not bad
Line 264: Line 281:
 sys     429m25.964s sys     429m25.964s
  
 +# and make a sorted version of the file
 +cat ~/md5deep_archive2024_all.txt  | sort -k 3 > ~/md5deep_archive2024_all_sorted.txt
 </code> </code>
  
code/work/lvisf/2024/field_processing/arcsix/start.1729012584.txt.gz · Last modified: 2024/10/15 17:16 by david