- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increase /var/audit
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-16-2003 06:06 AM
тАО07-16-2003 06:06 AM
I am ashamed to tell, but until now I never increaed a LVM Volum for HP. Did it multiple times for Solaris, but never HP.
Can you please help me out and confirm I do it right ?
vgdisplay -v vg00 shows me :
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 2546
Free PE 6134
bdf /var/audit shows me :
/dev/vg00/lvol10 204800 162200 39988 80% /var/audit
I'dd like to increase the volume to 2.5 Gb :
lvextend -L 2560 /dev/vg00/lvol10
extendfs -F vxfs /dev/vg00/lvol10 # it's vxfs, as looked up in /etc/mnttab
Do I forget steps, do I do things wrong ?
Please let me know before I start.
Best Regs David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 06:22 AM
тАО07-16-2003 06:22 AM
Re: increase /var/audit
The only thing I see that you missed is that you're going to need to unmount the volume first:
umount /var/audit
then lvextend and extendfs.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 06:22 AM
тАО07-16-2003 06:22 AM
Re: increase /var/audit
(check with swlist whether you have online JFS)
you can use then fsadm to extend the File system.
fsadm -F vxfs -b newsize /filesystem
for extendfs you need to umount the file system and /var can not be unmounted easily while system is up and running.
Goodluck
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 06:23 AM
тАО07-16-2003 06:23 AM
Re: increase /var/audit
Hi David,
Nothing to be ashamed, u r right.But hope u have only one disk in vg00, if this is a mirrored logical volume you may have to ,
extend the volume to one disk providing pv path(/dev/dsk/c?t?d?) in lvextend and then increase the mirror copy by using m 1 option .
(u can use lvdisplay command to find the mirror details)
Pls note that you have to unmount the file system before doing the lvextend.
(or if u have online JFS installed ,can check using swlist ) you can incarease the size by fsadm -b nesizeM /var/audit )
Good luck.
Regards,
baiju.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 06:25 AM
тАО07-16-2003 06:25 AM
SolutionIf you do not have OnlineJFS licensed, then you will need to unmount the filesystem before your 'extendfs' it.
If you do have OnlineJFS, then no unmount is necessary. Too, substitute the following for the 'extendfs':
# fsadm -b 2621440 /var/audit
The value of 2621440 is derived by multiplying the desired size by 1024 (the block size).
You can determine whether or not you have OnlineJFS by looking for it thusly:
# swlist |grep -i OnlineJFS
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 06:34 AM
тАО07-16-2003 06:34 AM
Re: increase /var/audit
If you have OnlineJFS and are going to use fsadm, you may just do it as follows:
fsadm -F vxfs -b 2500m /var/audit
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 06:44 AM
тАО07-16-2003 06:44 AM
Re: increase /var/audit
BTW, you could also specify your 'fsadm' command thusly:
# fsadm -b $((2560*1024)) /var/audit
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 08:57 AM
тАО07-16-2003 08:57 AM
Re: increase /var/audit
use the following:
first check for the available space in VG
#vgdisplay -v /dev/vg00
Increase the file system size.
#lvextend -L 2500 /dev/vg00/lvol10
use below command if Online JFS is installed.
#fsadm -F vxfs -b 2500M /mount-point
Where 'M' indicates size in megabytes
-Srini