DISCOS Y GRUPO PREVIAMENTE ASIGNADOS.
|
HOW TO EXPANDING A SOFT PARTITION
This example shows how to attach space to
a soft partition and then expand the file
system on it while the soft partition is
online and mounted:
1. Make backup of data.
2. Verify capacity of File System: df -h
3. In this case the FS is mount in /home2
# mount /dev/md/dsk/d20 /home2
4. Add 10g to metadevice d20
# metattach d20 10g
5. Expand the FS
# growfs -M /home2 /dev/md/rdsk/d20
Nota 1: Si el file system no esta montado, la opción -M no es requerida.
Nota 2: Si el comando growfs es abortado, para recuperar cualquier espacio perdido se tendrá que
desmontar el FS y ejecutar un fsck o volver a ejecutar el comando growfs.