Operating System - HP-UX
1835245 Members
2336 Online
110078 Solutions
New Discussion

Extending /tmp partition on 11.23 ia64 Itanium server

 
sharathkv25
Frequent Advisor

Extending /tmp partition on 11.23 ia64 Itanium server

Hello,

I would like to extend the /tmp partition on B.11.23 ia64 Itanium server. I am not able to do so. This is the log:


# uname -a
HP-UX webux100 B.11.23 U ia64 3634399568 unlimited-user license
# hpux -is
sh: hpux: not found.
# init s
#
INIT: New run level: S

INIT: SINGLE USER MODE
ttytype: couldn't open /dev/tty for reading
(c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2003 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.


RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.


Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
You have mail.
Cannot open /dev/tty read/write to ask. Quitting.


Value of TERM has been set to "".
WARNING: YOU ARE SUPERUSER !!

# mount
/ on /dev/vg00/lvol3 ioerror=nodisable,log,dev=40000003 on Thu Jul 24 09:07:06 2008
/stand on /dev/vg00/lvol1 ioerror=mwdisable,log,nodatainlog,tranflush,dev=40000001 on Thu Jul 24 09:07:07 2
008
/var on /dev/vg00/lvol8 ioerror=mwdisable,delaylog,nodatainlog,dev=40000008 on Thu Jul 24 09:07:21 2008
/usr on /dev/vg00/lvol7 ioerror=mwdisable,delaylog,nodatainlog,dev=40000007 on Thu Jul 24 09:07:21 2008
/tmp on /dev/vg00/lvol4 ioerror=mwdisable,delaylog,nodatainlog,dev=40000004 on Thu Jul 24 09:07:21 2008
/opt on /dev/vg00/lvol6 ioerror=mwdisable,delaylog,nodatainlog,dev=40000006 on Thu Jul 24 09:07:21 2008
/home on /dev/vg00/lvol5 ioerror=mwdisable,delaylog,nodatainlog,dev=40000005 on Thu Jul 24 09:07:21 2008
#
# umount /dev/vg00/lvol4
umount: cannot unmount /tmp : Device busy
umount: return error 1.
#

8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

>umount: cannot unmount /tmp : Device busy

Basically there are still processes that are using that filesystem. You would have to use lsof to find them and see if you can kill them.

Do you have OnlineJFS?
sharathkv25
Frequent Advisor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

No, I don't have OnlineJFS installed.
Dennis Handly
Acclaimed Contributor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

>I don't have OnlineJFS installed.

Take a look at some of these threads about extending root with ignite:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1241363
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=837402
Torsten.
Acclaimed Contributor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

Ignite to extend /tmp, Dennis?


Reboot your server, allow the system to boot from the default boot entry and hit any key to stop the hp-ux loader.

Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix -lq
Seconds left till autoboot - 10
Type 'help' for help


go to single user mode from there:

HPUX> boot vmunix -is

#

Activate vg00.
Now you can perform your
lvextend
and
extendfs
on the lvol.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sagar Sirdesai
Trusted Contributor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

Hi Sharath.

If you have space in vg00.
You extend the lvol4 using lvextend command and then use fsadm command to extend the Filesystem .

For fsadm to work you need Online JFS installed on you server..
lvextend -L M /dev/vg00/lvol4
fsadm -F vxfs -b M /tmp

Hope this help

Sagar
Torsten.
Acclaimed Contributor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

See the link, scroll down to

Extending a Logical Volume When You Canâ t Use SAM

http://docs.hp.com/en/B2355-90950/ch09s01.html

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Fadia Almarei
Super Advisor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

Dear

stop any running service on the server oracle any other thing or just reboot the server that it will kill all processes then try to unmount /tmp partition then increase the size or just use sam to increase /tmp size

BR;
Fadia Almarei
fadia.marei
Ivan Krastev
Honored Contributor

Re: Extending /tmp partition on 11.23 ia64 Itanium server

If you have free space in vg00 and can reboot the server just create one new logical volume with desired size, edit fstab to mount it as /tmp after reboot and reboot.

regards,
ivan