Resizing /tmp on Red Hat 5.3 (ext3, LVM)

This is how to do a simple file system increase in Logical Volume Manager. For example, increasing /tmp from 512 Mb to 1 Gb.

/tmp is a logical volume:

# df -h /tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg00-tmpvol
                      496M   19M  452M   4% /tmp

Running “vgdisplay /dev/vg00” showed that volume group vg00 contained 3.5 Gb of free space. Extended the logical volume with lvextend: Continue reading

HP-UX fasdm fails with vx_nospace

HP-UX file systems can be extended with a combination of the lvextend and fsadm commands. It’s well known procedure that has been in widespread use for several years, allowing online file system extensions, ie. the file system can be extended while it is mounted and busy. The file system type must be of type “vxfs” and enclosed in an LVM logical volume.

Occasional difficulties can occur if the file system is 100% full. I recently encountered the following vx_nospace error when trying to extend a file system from 9 Gb to 59 Gb under HP-UX 11.31. Continue reading