Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
that's the trouble with answering email while on vacation and using a new mail account! here's my reply to john: Typically, /tmp is a mounted filesystem. In HP-UX, /tmp is used constantly and as such can't be unmounted easily. 1) Are you looking to increase space in /tmp or, 2) do you want to take what space /tmp has and return it to /? 1) if you have OnLine JFS installed, you can add the space dynamically. If not, it's a bit tricker and requires a reboot. Create another filesystem called something tricky /t2. create another logical volume: lvcreate -n lvt2 /dev/vg00 add space to it: lvextend -L 1024 /dev/vg00/lvt2 (this will make lvt2 1 gig). put a filesystem on it: newfs -F vxfs /dev/vg00/rlvt2 mount it: mount /dev/vg00/lvt2 /t2 copy the current contents of /tmp to /t2 in /etc/fstab: change the device for /tmp from /dev/vg00/lvol5 to /dev/vg00/lvt2 reboot and /tmp will be mounted on the new logical volume. 2) to return /tmp's space to / is bit more involved: mkdir /t2 in /etc/fstab, change the mountpoint for /tmp to /t2 reboot, /tmp will now be an empty directory and the prior contents will be visible as /t2, copy what you need. in /etc/fstab, comment out the mount line for /t2 reboot /tmp will be part of /, now we can reclaim the space: lvremove /dev/vg00/lvol5 and add it back to /: lvextend -L 1024 /dev/vg00/lvol3 Having the OnLine JFS product installed makes these changes a LOT easier. HTH -- If it ain't broke, you're not trying hard enough!
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |