The hardware watchdog mechanism can automatically reboot the system in case the system hangs. This can be done with or without first generating an automated crash dump file. As superuser, do one of the following:
•To reboot without generating an automated crash dump file, type:
# eeprom error-reset-recovery=boot
•To reboot and generate an automated crash dump file, type:
# eeprom error-reset-recovery=sync
Friday, November 12, 2010
Wednesday, November 10, 2010
Adding SWAP space in ZFS Root filesystem
If you want additional space
# zfs create -V 2G rpool/swap1
# swap -a /dev/zvol/dsk/rpool/swap1
# swap -l
If you want to delete old swap space and add new one
# swap -d /dev/zvol/dsk/rpool/swap
# swap -l (To verify old swap is deleted)
# zfs set volsize=4G rpool/swap
# swap -a /dev/zvol/dsk/rpool/swap
# swap -l
# zfs create -V 2G rpool/swap1
# swap -a /dev/zvol/dsk/rpool/swap1
# swap -l
If you want to delete old swap space and add new one
# swap -d /dev/zvol/dsk/rpool/swap
# swap -l (To verify old swap is deleted)
# zfs set volsize=4G rpool/swap
# swap -a /dev/zvol/dsk/rpool/swap
# swap -l
Subscribe to:
Posts (Atom)
Welcome to the UNIX world