Project

General

Profile

Support #17924

Remove v5data runs from pnfs to clear space

Added by Marcus O'flaherty about 2 years ago.

Status:
Work in progress
Priority:
Normal
Start date:
10/16/2017
Due date:
% Done:

80%

Estimated time:
Duration:

Description

Using A Kreymer's script to remove most v5data copies from pnfs.
NOTE: not all runs were removed as 5 runs are present on pnfs but appear to not be backed up on tape.
The list of runs to remove was therefore retrieved from the list on tape, in contrast to previous issues.
Remaining runs will be removed and appended to this ticket once they have been copied to tape.

Steps taken outlined below, as per issue 17603/17815.

$ RUNS=$(ls /pnfs/annie/raw/v5data)
using list of runs on tape, as 5 runs are on pnfs but are NOT stored on tape.

$ echo ${RUNS}
0358 0359 0360 0362 0363 0364 0365 0366 0367 0368 0369 0370 0371 0372 0373 0374 0375 0376 0377 0378 0379 0380 0381 0382 0383 0384 0385 0386 0387 0388 0389 0390 0391 0392 0393 0394 0395 0396 0397 0398 0399 0400 0401 0402 0403 0404 0405 0406 0407 0408 0409 0410 0411 0412 0413 0414 0415 0416 0417 0418 0419 0420 0421 0422 0423 0424 0425 0426 0427 0434 0435 0436 0437 0451 0452 0453 0454 0468 0469 0472 0475 0476 0477 0478 0479 0487 0488 0489 0490 0492 0493 0494 0498 0499 0500 0501 0502 0503 0504 0505 0506 0511 0512 0513 0514 0515 0516 0517 0518 0519 0520 0521 0522 0523 0524 0525 0526 0527 0528 0529 0530 0531 0532 0533 0534 0535 0536 0537 0538 0539

$ echo ${RUNS} | wc -w
130

$ for RUN in ${RUNS}; do ${HOME}/archiver/transient v5data ${RUN}; done | tee /dev/shm/v5pre2

$ grep -v ^rm /dev/shm/v5pre2
Looks normal

$ grep OOPS /dev/shm/v5pre2
nothing

$ du -sh /pnfs/annie/persistent/raw/v5data
7.8T /pnfs/annie/persistent/raw/v5data

$ for RUN in ${RUNS}; do ${HOME}/archiver/transient v5data ${RUN} do; done

$ du -sh /pnfs/annie/persistent/raw/v5data
1.8T /pnfs/annie/persistent/raw/v5data



Also available in: Atom PDF