How to Shrink a ZFS Root Pool, Solaris 11.1, SPARC ?
Please see interesting Blog at:
https://blogs.oracle.com/jhenning/entry/shrink_a_zfs_root_pool
Fromm the Blog:
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.
- Use
format
to create a smaller partition on a new device, say c0tXs0 # zpool create -f newpool c0tXs0
# beadm create -a -d "smaller s11.1" -p newpool solaris-SRUnn
- Use
{ok} probe-scsi-all
and{ok} devalias
to identify the new disk
0