Inicio Linux & Systems Networks & Infrastructure Cybersecurity Cloud & DevOps SIEM & Monitoring DFIR & Threat Intel Development & Other Todas las categorias Herramientas

Redimensionar ZFS pool en FreeBSD

Redimensionar  ZFS pool en FreeBSD

Tabla de contenidos

En esta entradaba vamos a ver como redimensionar una partición ZFS  bajo FreeBBS

Mediante el comando gpart mostramos la capacidad del disco el cual queremos ampliar

text
gpart show ada0

=> 63 250067504 ada0 MBR (119G)

63 1985 – free – (993K)

2048 41943040 1 linux-data (20G)

41945088 146683904 2 linux-data (70G)

188628992 60817408 3 freebsd [active] (29G)

249446400 621167 – free – (303M)

Rescaneamos el disco

text
camcontrol reprobe da0

gpart commit da0

Consultamos nuevamente el tamaño del disco, Como podemos ver el tamaño del disco se a incremetado a 140GB.

text
gpart show ada0

=> 63 250067504 ada0 MBR (140G)

63 1985 – free – (993K)

2048 41943040 1 linux-data (20G)

41945088 146683904 2 linux-data (70G)

188628992 60817408 3 freebsd [active] (29G)

249446400 621167 – free – (303M)

Asignamos el espacio nuevo a la particion donde esta nuestro ZFS:

text
gpart resize -i 3 da0

Redimensionamos el disco

text
zpool online -e zroot da0p3

:wq!

Comentarios