Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extend file system /tmp 1

Status
Not open for further replies.

fakatsuka

Technical User
Sep 4, 2001
8
0
0
BR
Hi people don't know!

How do extend file system /tmp ?

Thank's
 
Hi

you need to be in single user mode to extend /tmp...

Firstly check how much space you have in the root volume group with #vgdisplay -v vg00 | grep PE, look for the number of free PE and multiply by PE size to give the total number of free space.
make a note of the logical volume that is mounted on /tmp with #bdf /tmp

reboot, your server and when propted to interrupt during ten seconds, do so.
At the boot prompt type
>boot pri

The system should ask then if you want to interact with ISL. Type
>y

At the ISL prompt, type
>hpux -is

This will take you into single user

Extend the /tmp logical volume
# lvextend -L <new size in MB> /dev/vg00/lvolXX (where lvolXX is logical volume noted earlier)

Extend the filesystem associated with tmp. You need to use the raw device here:
# extendfs -F vxfs /dev/vg00/rlvolXX

reboot and leave machine to come back up itself into multiuser.

Clare
 
Hi,

I only want to add that if you have online JFS you can extend the file system online. Have you got it?

Best regards.
 
Hi people


Thank's so much for reply


Best regards
 
I have a problem on the hp9000 11.0

When the system boots up, several file systems do not mount.
I get the following error.

mount - Cannot open /dev/vg01/ifas: No such device or address

When I do an 'ls -lt' for /dev/vg01/ifas, it shows up OK and displays the folowing....

brw-r----- 1 root sys 64 0x010001 jan 24 14:03 /dev/vg01/ifas

Any ideas out there???

Thanks.
 
I followed unixqueen's instructions and after reboot a vgdisplay shows that lvol4 is the desired size (88M) but a df -k shows that /tmp still only has 61M total allocated. /tmp is the only filesystem on /dev/vg00/lvol4.
 
Did you remember to run the extendfs command?

Also, a note of caution: be sure /tmp's ownership is bin:bin and its permissions are 777 so everyone can write to that filesystem.
 
Don't for get... I think
/tmp also has to be an cont. file system...
Like root and others...
 
OK, so I forgot the extendfs. It worked. Thanks all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top