리스트 확인
zfs list
zfs 마운트 포인트 변경
zfs set mountpoint=/oradata_bk datapool/oradata --> zfs set mountpoint=/oradata purevol/oradata
확인
zfs get mountpoint datapool/oradata
mount
zfs mount datapool/oradata
zfs mount purevol/oradata
zfs 삭제
zfs destroy datapool/Arch
zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
dbpool 556G 6.38G 550G 1% 1.00x ONLINE -
purevol 11.9T 16.4G 11.9T 0% 1.00x ONLINE -
rpool 556G 179G 377G 32% 1.00x ONLINE -
zpool status
root@dbserver1 # zpool status
pool: datapool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
datapool ONLINE 0 0 0
c0t624A9370B130E0A67E0B480800011011d0 ONLINE 0 0 0
errors: No known data errors
pool: dbpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
dbpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t5000CCA02F613828d0 ONLINE 0 0 0
c0t5000CCA02F53C340d0 ONLINE 0 0 0
errors: No known data errors
pool: purevol
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
purevol ONLINE 0 0 0
c0t624A9370B130E0A67E0B480800011013d0 ONLINE 0 0 0
errors: No known data errors
pool: rpool
state: ONLINE
scan: resilvered 114G in 12m23s with 0 errors on Mon Oct 22 14:31:21 2018
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t5000CCA02F540950d0 ONLINE 0 0 0
c0t5000CCA02F613E14d0 ONLINE 0 0 0
datapool 삭제 zfs destroy 는 삭제가 안됨.
zpool destroy -f datapool
'IT > OS' 카테고리의 다른 글
IOPS 상태 이상 징후 발생 대처 방안 (0) | 2021.07.01 |
---|---|
윈도우즈 파일 찾아서 지우기 (0) | 2020.07.08 |
리눅스(linux)에서 NFS 마운트하기 (0) | 2020.07.08 |
리눅스에서 문자열 치환하기 (0) | 2020.07.08 |
Linux OS내 특정 계정 보안정책(PAM) 예외 (0) | 2020.07.05 |