Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To check your long running process, in the terminal, either run top

 and and look for the find or cksum command or ps -f | grep cksum

 You You can view the manifest progress with tail

 or or in your desktop’s previewer, or watch the file size grow in a finder or file explorer view.

When the process is no longer running, count the lines in the manifest and compare that with the number of files in the vault directory. They should match. Total the number of bytes in the manifest and that should match the total number of bytes in the vault directory.

Find the last tape label used so you can prescribe the next tape label. For example, when you list all the directories starting with misc in /home/vault/data/dcoll, you find the last label used was misc-set85.

Image Added

The next tape label would be misc-set86. Use this tape label in your vault request.

Submit a vault to tape request to DevOps, with the subject, request vault to tape n files occupying 5TB. Attach the manifest and in the message body, specify the source directory as /dps/vault. Include the next misc-set number as the tape label.

Image Added

DevOps will rsync from /dps/vault to the vault staging area. If the dps volume is near capacity, request confirmation from DevOps when the first tape copy has been produced. Once the first tape copy has been made, it’s ok to remove the /dps/vault directory, allowing snapshots to clear, and freeing capacity sooner than later.[2] After removing 5TB, it can take 10 calendar days for snapshots to clear, and 5TB of available capacity to appear in the volume. So, after deleting the vault directory send a team message with the subject “5TB removed from DPS” and in the message body include “in about 10 days we can expect to see 5TB available capacity once the snapshots have cleared.

When Brandon completes a vault request, he will update the tape_inventory spreadsheet with a tape number identifier, i.e. 0236[3] that corresponds to our descriptive tape label i.e. misc-set85-2018-04-03.

Image Added

In a terminal or text editor cut the SIP directory names from the dps-vault-manifest.txt, sorting them uniquely, and optionally outputting the results to a txt file named tape-number-0nnn.txt.

# cut -f3 dps-vault-manifest.txt | cut -d '/' -f4 | sort -u >> tape-no-0236.txt

Lastly, with the SIPs listed in your terminal or text editor, update the SIPs spreadsheet with the corresponding tape number. Use ‘fill down’ by dragging the cell marquee to fill all adjacent cells:

Image Added                      Image Added


...

[1] We generally want 10% (1.7TB) or more available capacity. A useful Unix command to display the capacity of a mounted volume is df –h /dps.

[2] Technically it’s ok to remove /dps/vault after rsync completion, but only do so in critical capacity situations. In very critical situations, we can always request a storage capacity increase through Michael Ackermann as a last resort.

[3] The _01 and _02 that trails a tape number is the tape copy number.