728x90
반응형

리스트 확인

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

 

 

 

728x90
300x250

+ Recent posts