expand zfs grow expand

por | 28 diciembre, 2018
#zpool list
zrespaldo 6.0T  2.78T  6.19T  50%  1.00x  ONLINE  


#zfs get volsize zbackups

#zpool status zbackups

#zpool get autoexpand zbackups
NAME       PROPERTY    VALUE  SOURCE
zbackups  autoexpand  off    local


Activar opción para expandir:

#zpool set autoexpand=on zbackups

Verificar
#zpool get autoexpand zbackups
NAME       PROPERTY    VALUE  SOURCE
zbackups  autoexpand  on     local



  pool: zbackups
 state: ONLINE
  scan: none requested
config:

        NAME                                     STATE     READ WRITE CKSUM
        zbackups                                ONLINE       0     0     0
          c0t6000D31000BC23000000000000000010d0  ONLINE       0     0     0

errors: No known data errors

Para expandir el volumen:

#zpool online -e zbackups c0t6000D31000BC23000000000000000010d0

#zpool list
zrespaldo  12.0T  2.78T  9.19T  23%  1.00x  ONLINE  -