Oracle Solaris ZFS File System (MOSC)

MOSC Banner

How to Shrink a ZFS Root Pool, Solaris 11.1, SPARC ?

edited Aug 6, 2013 8:28AM in Oracle Solaris ZFS File System (MOSC) 1 comment
Please see interesting Blog at:
https://blogs.oracle.com/jhenning/entry/shrink_a_zfs_root_pool

Fromm the Blog:

A root pool cannot be shrunk in a single operation, but it can be copied to a smaller partition. The Solaris 11 beadm command makes the task easier than it used to be. In this example, the pool is copied, and then mirrored.

  1. Use format to create a smaller partition on a new device, say c0tXs0
  2. # zpool create -f newpool c0tXs0
  3. # beadm create -a -d "smaller s11.1" -p newpool solaris-SRUnn
  4. Use {ok} probe-scsi-all and
    {ok} devalias to identify the new disk

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center