- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increase the fs.
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
тАО10-07-2009 10:42 AM
тАО10-07-2009 10:42 AM
uname -a
HP-UX elect B.11.23 U ia64 0783459695 unlimited-user license
fstyp /dev/vg00/lvol7
vxfs
PE Size (Mbytes) 8
Total PE 8456
Alloc PE 7898
Free PE 558
LV Name /dev/vg00/lvol7
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4600
Current LE 575
Allocated PE 1150
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t1d0s2 575 575
/dev/dsk/c2t0d0s2 575 575
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 10:45 AM
тАО10-07-2009 10:45 AM
Re: increase the fs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 10:46 AM
тАО10-07-2009 10:46 AM
Re: increase the fs.
Take a look at the EXAMPLES section of the lvextend man page, in particular the section labeled "Increase the size of a file system existing on a logical volume:".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 10:49 AM
тАО10-07-2009 10:49 AM
Re: increase the fs.
For your second question, "is it advisable?", you would have to decide. Personally, I would say yes. The other vg00 file systems should not experience much growth and, unless you want to devote a lot of your time to cleaning out /var, it makes sense to utilize your extra space where it is needed.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:04 AM
тАО10-07-2009 11:04 AM
Re: increase the fs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:07 AM
тАО10-07-2009 11:07 AM
Re: increase the fs.
Increase the size of a file system existing on a logical volume:
First, increase the size of the logical volume.
lvextend -L 400 /dev/vg06/lvol3
Unmount the file system.
umount /dev/vg06/lvol3
Extend the file system to occupy the entire (larger) logical volume.
extendfs /dev/vg06/rlvol3
Remount the file system.
mount /dev/vg06/lvol3 /mnt
When I read that, it tells me you have to unmount. Maybe it says something different when you read it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:19 AM
тАО10-07-2009 11:19 AM
Solution- Do you have online JFS on the system.
If yes, you dont need to unmount the filesystem.
Check:
# swlist -l product | grep -i OnlineJfs
Following steps needed to extend the FS by another 2GB (2048MB):
1. Check if you have free space & equal free space on both disk:
# vgdisplay -v vg00 | grep -e 'Free PE' -e dsk | grep -v Alt
From above output looks 4.4GB free space available , so you can go ahead:
2. # lvextend -L 6648 /dev/vg00/lvol7 #[4600+2048 = 6648MB the new size will be. ]
3. # fsadm -b 6648M /var
4. # bdf /var #To check.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:50 AM
тАО10-07-2009 11:50 AM
Re: increase the fs.
online jfs is not installed i grep no output came, so i will go head with the steps and increase the size.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:51 AM
тАО10-07-2009 11:51 AM
Re: increase the fs.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 11:54 AM
тАО10-07-2009 11:54 AM
Re: increase the fs.
/var its under mirroring whether before increasing the /var mirror has to be breaked.