Oracle® Solaris 11.2의 ZFS 파일 시스템 관리

인쇄 보기 종료

업데이트 날짜: 2014년 12월
 
 

ZFS 저장소 풀 업그레이드

이전 Solaris 릴리스의 ZFS 저장소 풀이 있는 경우 zpool upgrade 명령으로 풀을 업그레이드하여 현재 릴리스의 풀 기능을 활용할 수 있습니다. 또한 zpool status 명령은 풀에서 이전 버전을 실행할 경우 이를 사용자에게 알립니다. 예를 들면 다음과 같습니다.

# zpool status
pool: tank
state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
pool will no longer be accessible on older software versions.
scrub: none requested
config:
NAME           STATE     READ  WRITE  CKSUM
tank           ONLINE       0      0      0
   mirror-0    ONLINE       0      0      0
      c1t0d0   ONLINE       0      0      0
      c1t1d0   ONLINE       0      0      0
errors: No known data errors

다음 구문을 사용하면 특정 버전 및 지원되는 릴리스에 대한 추가 정보를 확인할 수 있습니다.

# zpool upgrade -v
This system is currently running ZFS pool version 33.

The following versions are supported:

VER  DESCRIPTION
---  --------------------------------------------------------
1   Initial ZFS version
2   Ditto blocks (replicated metadata)
3   Hot spares and double parity RAID-Z
4   zpool history
5   Compression using the gzip algorithm
6   bootfs pool property
7   Separate intent log devices
8   Delegated administration
9   refquota and refreservation properties
10  Cache devices
11  Improved scrub performance
12  Snapshot properties
13  snapused property
14  passthrough-x aclinherit
15  user/group space accounting
16  stmf property support
17  Triple-parity RAID-Z
18  Snapshot user holds
19  Log device removal
20  Compression using zle (zero-length encoding)
21  Deduplication
22  Received properties
23  Slim ZIL
24  System attributes
25  Improved scrub stats
26  Improved snapshot deletion performance
27  Improved snapshot creation performance
28  Multiple vdev replacements
29  RAID-Z/mirror hybrid allocator
30  Encryption
31  Improved 'zfs list' performance
32  One MB blocksize
33  Improved share support
34  Sharing with inheritance

For more information on a particular version, including supported releases,
see the ZFS Administration Guide.

그런 다음 zpool upgrade 명령을 실행하여 모든 풀을 업그레이드할 수 있습니다. 예를 들면 다음과 같습니다.

# zpool upgrade -a

주 - 풀을 최신 ZFS 버전으로 업그레이드하면 이전 ZFS 버전을 실행하는 시스템에서 풀에 액세스하지 못하게 됩니다.