Operating System - HP-UX
1752319 Members
5496 Online
108786 Solutions
New Discussion юеВ

Re: increase tmp file system

 
SOLVED
Go to solution
Mel Burslan
Honored Contributor

Re: increase tmp file system

As mikap said, you do not have the license to use Online JFS. Without this software, you need to unmount the filesystem and then use the extendfs command. But considering a lot of system processes are also using /tmp, more than likely, you need to shutdown your system, boot it to single user mode and then use extendfs command to extend the filesystem size. After that you can reboot normally to resume operation.

Good luck
________________________________
UNIX because I majored in cryptology...
R.K. #
Honored Contributor

Re: increase tmp file system

Hi Rajesh,

It seems you do not have online JFS.
So you have to do following:

1. Reboot the server
2. Halt boot sequence;
> hpux -is #
2. # mount /usr
3. # extendfs -F vxfs /dev/vg00/rlvol6
4. # mount /tmp
5. # bdf <-- to check
6. Reboot to multiuser mode.


Regds,
R.K.
Don't fix what ain't broke
Sajjad Sahir
Honored Contributor

Re: increase tmp file system


Dear Rajesh
u can't use fsadm command because online jfs is not installed in u system
regarding extending file system u can use the command extendfs command
before that u have to umount the file system
and system should be in single user mode.
extend the logical volume and after that
extend the file system by using extendfs not with fsadm

thanks and regards

Sajjad

Ganesan R
Honored Contributor

Re: increase tmp file system

Hi Rajesh,

Before boot into single user mode, check if any process is using /tmp filesystem. Normally applications will use /tmp filesystem to store temporary files. If there is no process using /tmp, no need to boot into single user mode. Just unmount it, then run extendfs and then mount it.

To check if any process using /tmp

#fuser -cu /tmp

To kill the process using /tmp

#fuser -k -cu /tmp

#umount /tmp

#extendfs -F vxfs /dev/vg00/rlvol4

#mount /tmp
Best wishes,

Ganesh.
rajesh73_1
Frequent Advisor

Re: increase tmp file system

hi all thank u /tmp space is increased

and one more doubt

i forget one server root passwd, how to change the root passwd

pls help me
Fabio Ettore
Honored Contributor

Re: increase tmp file system

Hi,

you can change root password in single user mode, just go in single user (again) and

passwd

and you'll be asked to type the new password and confirm it.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Ganesan R
Honored Contributor

Re: increase tmp file system

Hi,

If you forget the root password, either root equalant user can reset it or else you need to reboot into single user mode and reset the password using #passwd command.
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: increase tmp file system

Shalom,

Boot the system at console.

Intervene at the prompt.

bo
Y (to interact)
hpux -is

passwd

You may need to:

mount /usr
# prior to resetting the root password.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sajjad Sahir
Honored Contributor

Re: increase tmp file system

Dear Rajesh

u can change root password by using console

thanks and regards

sajjad
UVK_1
Advisor

Re: increase tmp file system

Good that you figured out the filesystem extension, for breaking root passwd reboot the server and break the boot sequence by entering into ISL prompt. boot into single user mode and edit the /etc/passwd file to delete the password coloum. then reset the password and reboot the server.

-uvk