- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: increase tmp file system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 03:43 AM
05-12-2009 03:43 AM
Re: increase tmp file system
# vgdisplay vg00 #Check, the free space in vg00 and confirmed /tmp is in vg00:
Look for â PE Size (Mbytes)â and â Free PEâ and multiply them.
The result is the free space in MB in vg00.
# lvextend â L
# fsadm -F vxfs -b
NOTE: You need to add M directly to the lv_size MB value.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 03:47 AM
05-12-2009 03:47 AM
Re: increase tmp file system
Just check if you have free space on vg00.
#vgdisplay vg00
if free space is there and you have online JFS product installed, you can increase /tmp online.
#swlist |grep -i online
#lvextend -L 5000 /dev/vg00/lvol4 (here 5000MB is new total size)
#fsadm -F vxfs -b 5000M /tmp
That's it.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 03:49 AM
05-12-2009 03:49 AM
Re: increase tmp file system
if you don't have JFS online license activated,
boot to single user mode and use extendfs.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 04:19 AM
05-12-2009 04:19 AM
Re: increase tmp file system
Dear Rajesh
if u want to increase the space first u have to check vgoo volume group space
if space is there u can extend the logical volume
1. by using lvextend command
once logical volume extended u can extend file system
if u have online jfs u can use fsadm command to extend the file system other wise u have to use extendfs command
thanks and regards
sajjad sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 04:43 AM
05-12-2009 04:43 AM
Re: increase tmp file system
now i want to 5gb space to /tmp file system
i entered the below command
#lvextend -L 5120 /dev/vg00/lvol6
Logical volume "/dev/vg00/lvol6" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
and thaen
# fsadm -F vxfs -b 5120 /tmp
fsadm: You don't have a license to run this program
pls help me
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 04:45 AM
05-12-2009 04:45 AM
Re: increase tmp file system
you need to umount the mounted /tmp end use
extendfs instead of fsadm.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 04:48 AM
05-12-2009 04:48 AM
Solutionfirst you check that /tmp is belong to which vg
1) bdf
will show you full path for /tmp
for example my system it having as below.
/dev/vg00/lvol5 4096000 19363 3821861 1% /tmp
since /tmp is belong to vg00 as lvol5,
2)now check vgdisplay /dev/vg00
in vgdisplay result under free PE you should have some value if it is zero then you can not extend.
just assume you have below value in your vgdisplay
PE Size (Mbytes) 4
Free PE 2168
you have still (4*2168) 8.46875 gb free space in your vg00.
now
assume you dont have online JFS
boot system in single user mode
umount /tmp
do
3)lvextend
that's all,
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 04:49 AM
05-12-2009 04:49 AM
Re: increase tmp file system
so you don't have OnlineJFS, check also by
swlist -l product |grep -i online
You really need to umount /tmp which I believe you have to do in single user mode and
extendfs -F vxfs /dev/vg00/rlvol6
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 04:50 AM
05-12-2009 04:50 AM
Re: increase tmp file system
try to unmount the /tmp if it's not possible,
boot the system to single user mode -is
extendfs -F vxfs /dev/vg00/rlvol6
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 04:52 AM
05-12-2009 04:52 AM
Re: increase tmp file system
Good luck
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:00 AM
05-12-2009 05:00 AM
Re: increase tmp file system
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:20 AM
05-12-2009 05:20 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:26 AM
05-12-2009 05:26 AM
Re: increase tmp file system
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
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:29 AM
05-12-2009 05:29 AM
Re: increase tmp file system
and one more doubt
i forget one server root passwd, how to change the root passwd
pls help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:32 AM
05-12-2009 05:32 AM
Re: increase tmp file system
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:32 AM
05-12-2009 05:32 AM
Re: increase tmp file system
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.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:33 AM
05-12-2009 05:33 AM
Re: increase tmp file system
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:35 AM
05-12-2009 05:35 AM
Re: increase tmp file system
u can change root password by using console
thanks and regards
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:44 AM
05-12-2009 05:44 AM
Re: increase tmp file system
-uvk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 05:54 AM
05-12-2009 05:54 AM
Re: increase tmp file system
does the systems trusted?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 06:01 AM
05-12-2009 06:01 AM
Re: increase tmp file system
how to go hpux -is
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 06:12 AM
05-12-2009 06:12 AM
Re: increase tmp file system
reboot the server while you are at the console
interrupt the boot process by pressing any key when you see "press any key within 10 seconds to stop automatic boot" warning message.
type "boot primary" then hit enter
say yes to "do you want to interact with ISL" question
at ISL> prompt type "hpux -is"
if your system do not require a password for single user logins, you should be dropped to a "#" prompt which is a root shell. You can perform the extendfs function at this point.
Good luck
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 06:13 AM
05-12-2009 06:13 AM
Re: increase tmp file system
when you reboot, just interupt the boot process which will take you to Main menu>
Give Main Menu>bo pri
It will ask if you want to interact with IPL or not? Just give Y
You will get the ISL Prompt. In ISL prompt give "hpux -is" which will boot the system into single user mode.
ISL>hpux -is
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2009 06:45 AM
05-12-2009 06:45 AM
Re: increase tmp file system
thank u for all very much
Regds
Rajesh