Post

file 장기보관 TSM

01. Archieve 하는법

1
dsmc archive -se=chos14 /sc/arion/scratch/chos14/NYU/2024Mar_mkfastq.tar.gz -sub=yes
  • ⭐️ 완전중요 ⭐️
    • 디렉토리/파일 이름까지 절대 경로로 써줘야함.
    • 폴더 전체를 보관하고 싶다면, 꼭 끝이 / 로 끝나야함. -sub=yes 그래야 directory로 인식 & 내부 파일들까지 archived.
  • -description="text" : 뒤에 붙이면 설명도 함께 저장가능
  • -deletefiles : 저장후 원본 삭제. TSM object지우면 영구 손실 가능성 있음. 항상 주의.
👇output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
IBM Storage Protect
Command Line Backup-Archive Client Interface
  Client Version 8, Release 1, Level 21.0 
  Client date/time: 03/23/2026 11:34:14
(c) Copyright by IBM Corporation and other(s) 1990, 2023. All Rights Reserved. 

Node Name: CHOS14

Session established with server HPCTSM01: Linux/x86_64
  Server Version 8, Release 1, Level 21.000
  Server date/time: 03/23/2026 11:34:24  Last access: 03/23/2026 11:31:38

Archive function invoked.

ANS1898I ***** Processed       500 files *****
...
ANS1898I ***** Processed   185,500 files *****
03/23/2026 11:44:23 Normal File-->   133,458,605,068 /sc/arion/scratch/chos14/NYU/2024Mar_mkfastq.tar.gz [Sent]
Archive processing of '/sc/arion/scratch/chos14/NYU/2024Mar_mkfastq.tar.gz' finished without failure.   
03/23/2026 11:44:23 Total number of objects inspected:      185,983
03/23/2026 11:44:23 Total number of objects archived:             4
03/23/2026 11:44:23 Total number of objects updated:              0
03/23/2026 11:44:23 Total number of objects rebound:              0
03/23/2026 11:44:23 Total number of objects deleted:              0
03/23/2026 11:44:23 Total number of objects expired:              0
03/23/2026 11:44:23 Total number of objects failed:               0
03/23/2026 11:44:23 Total number of objects encrypted:            0
03/23/2026 11:44:23 Total number of objects grew:                 0
03/23/2026 11:44:23 Total number of retries:                      0
03/23/2026 11:44:23 Total number of bytes inspected:         125.00 GB
03/23/2026 11:44:23 Total number of bytes transferred:       124.30 GB
03/23/2026 11:44:23 Data transfer time:                      428.75 sec
03/23/2026 11:44:23 Network data transfer rate:          303,988.99 KB/sec
03/23/2026 11:44:23 Aggregate data transfer rate:        217,935.31 KB/sec
03/23/2026 11:44:23 Objects compressed by:                        0%
03/23/2026 11:44:23 Total data reduction ratio:                0.57%
03/23/2026 11:44:23 Elapsed processing time:               00:09:58


02. Archive 잘됐는지 확인

1
dsmc q archive -se=chos14 /sc/arion/scratch/chos14/NYU/2024Mar_mkfastq.tar.gz -sub=yes
  • archive앞에 q (query) 붙여서 확인. 나머지 옵션은 동일하게 작성.
  • description 붙여뒀다면 검색도 가능 -description="text*" "*" 뭔 이름으로 저장했는지 헷깔릴때 사용가능
1

03. 다시 꺼내기 retrieve

1
dsmc retrieve -se=chos14 /sc/arion/scratch/chos14/NYU/2024Mar_mkfastq.tar.gz
  • 이렇게 하면 원래 위치로 꺼내짐
  • 이미 같은 이름의 파일이 있으면 overwrite 할지 물어봄
  • 다른 위치로 retrieve하고 싶다면 dsmc retrieve -se=chos14 [첫경로 원래경로] [두번째경로 받고 싶은 새경로] 할수 있음
  • 폴더면 -sub=yes 넣어야함

04. 데이터가 크다면, 연결 끊길까봐 걱정된다면

screen 안에서 돌리자

1
2
3
4
5
6
screen #열고
dsmc archive -se=chos14 /sc/arion/scratch/chos14/NYU/2024Mar_mkfastq.tar.gz -sub=yes -description="text" #돌려놓고
# ctrl + a 후 d 눌러서 detach

# 확인은
screen -r 
This post is licensed under CC BY 4.0 by the author.

© Subin Cho. Some rights reserved.

Using the Chirpy theme for Jekyll.