- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /tmp & /opt extending
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
Discussions
Discussions
Forums
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
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
тАО07-27-2010 09:12 PM
тАО07-27-2010 09:12 PM
I have 2 servers in which I need to extend some filesystems.
1)In one server two FS are in threshold level.
/dev/vg00/lvol6 2097152 1890928 204768 90% /tmp
/dev/vg00/lvol4 2097152 1803720 291200 86% /home
vgdisplay output is--
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 13
Open LV 13
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4356
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 2835
Free PE 1511
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
2)In other server one FS are in threshold level.
/dev/vg00/lvol4 7274496 6835232 435840 94% /opt
vgdisplay output is--
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 15
Open LV 15
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4465
VGDA 2
PE Size (Mbytes) 64
Total PE 4455
Alloc PE 3215
Free PE 1240
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
In both the cases free PE s are available. Please tell me how to proceed to extend these three FS.Is this required a reboot to single user mode?
OS - HPUX11.23
OnlineJFS not available.
RX series Servers-Itanium CPU
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 09:20 PM
тАО07-27-2010 09:20 PM
Re: /tmp & /opt extending
Reboot system in single user mode.
Extend lv and extend filesystem using extendfs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 09:20 PM
тАО07-27-2010 09:20 PM
Re: /tmp & /opt extending
Begin with this:
>>
/dev/vg00/lvol6 2097152 1890928 204768 90% /tmp
/dev/vg00/lvol4 2097152 1803720 291200 86% /home
> OnlineJFS not available.
- How do you know is not there.
For above two: (With online jfs )
1. # lvextend -L 4096 /dev/vg00/lvol4
2. # fsadm -b 4096m /home
- without online jfs:
1. # fuser -cu /home
2. # fuser -ku /home # will kill all /home processes.
3. # umount /home
4. # lvextend -L 4096 /dev/vg00/lvol4
5. # extendfs /dev/vg00/rlvol4
6. # mount /home # Verify.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 09:35 PM
тАО07-27-2010 09:35 PM
Re: /tmp & /opt extending
If you are trying /opt and /tmp without online jfs you can do from single user mode.
Online JFS can be cheked with:
# swlist -l product | grep -i jfs
# /sbin/vxlicrep
without online JFS :
- reboot the system
- Interupt boot sequence.
- from EFI shell:> boot vmunix -is
- activate vg00
- mount all but /opt
#(check /etc/fstab ) for lvol reference .
- extend /opt
# lvextend -L ...
# extendfs /dev/vg00/rlvol..
- mount and check. # bdf /opt
- same for /tmp .
- boot in multiuser mode. # init 3
or reboot .
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 10:14 PM
тАО07-27-2010 10:14 PM
Re: /tmp & /opt extending
So can i do it in multiusermode also,if onlinejfs is ther???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 12:53 AM
тАО07-28-2010 12:53 AM
Re: /tmp & /opt extending
# lvextend -L 4096 /dev/vg00/lvol6
# fsadm -b 4096m /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 12:59 AM
тАО07-28-2010 12:59 AM
Re: /tmp & /opt extending
if you have OnlineJFS ("swlist -l product |grep -i online" to check) you can do that in multi-user mode by
lvextend -L
fsadm -F vxfs -b
(this is the sample just for /hoem on the first system)
Otherwise you have to get single-user mode and using extendfs with filesystems unmounted.
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 01:08 AM
тАО07-28-2010 01:08 AM
Re: /tmp & /opt extending
(again),
> So can i do it in multiusermode also,if onlinejfs is ther???
- Yes, this is pretty easy if you have Online JFS. Online JFS comes with MCOE Operating OE. by Default.
Check type of OE you have:
# swlist -l bundle | grep HPUX11
With online JFS, it is as simple as just typing two command:(lvextend & fsadm )
Ex: Suppose you want to add 2GB to those 2GB FS.
1. # Check the current size with lvdisplay
# lvdisplay /dev/vg00/lvol6 | grep "LV Size"
2. # Add 2048 to that value, to make 2GB extension.
- So total comes 4096. (This is for /tmp)
# lvextend -L 4096 /dev/vg00/lvol6
# fsadm -b 4096M /tmp
# bdf /tmp
3. Done.
Enjoy,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 01:09 AM
тАО07-28-2010 01:09 AM
Re: /tmp & /opt extending
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 01:22 AM
тАО07-28-2010 01:22 AM
Re: /tmp & /opt extending
- So you have to spend some $$$, or to accept the pain , as it is not straight forward without Online JFS.
- The main thinghe file system needs to be unmounted to be able to use extendfs command.
- /tmp and /opt cannot be unmounted when the system is in multiuser mode,(run level 3) (#who -r) as the files will be in use by the system and by the services.
Hth,
Raj.