HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extended /var on root vg
Operating System - HP-UX
1834462
Members
2658
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-15-2001 08:47 AM
01-15-2001 08:47 AM
I need to increase the size of the /var logical volume on the root vg. I have a disk that I can add to vg00, but I am not sure if there are additional steps required to increase the size of a LV on the root VG.
Thanks,
Aaron
Thanks,
Aaron
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2001 09:43 AM
01-15-2001 09:43 AM
Solution
I've searched the forums and found an existing post that should provide you with what you need to extend /var.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x05bb854994d9d4118fef0090279cd0f9,00.html
Hope this helps!
-denver
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x05bb854994d9d4118fef0090279cd0f9,00.html
Hope this helps!
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 03:50 AM
01-17-2001 03:50 AM
Re: Extended /var on root vg
Hello Aaron,
These steps solve your problem:
1. Verify the free PE's and PE Size in VG00:
# vgdisplay vg00 | grep PE
Max PE per PV 4350
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4320
Free PE 20
(Free PE * PE Size) = 80 MB Free
2. Verify what is the lvol for /var
# bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 1536000 1378627 150030 90% /var
lvol= /dev/vg00/lvol8
3. Verifify the size of lvol:
# lvdisplay /dev/vg00/lvol9 | grep Mbytes
LV Size (Mbytes) 4000
4. Now, define what is the new size of lvol
5. Increasing the lvol:
The lvextend commad is allow to execute with the lvol is monted, but if you haven't the OnLine JFS you doesn't able to extend the file system.
# lvextend -L 4080 /dev/vg00/lvol9
-L options is the new size of lvol
If you have the online JFS and File system of /var is vxfs.
# fsadm -F vxfs -b 41477920 /var
If you not sure of the type of the file system:
# fstyp /dev/vg00/lvol9
vxfs or hfs
The OnLine JFS only work with vxfs.
If you haven't the OnLine JFS:
# shutdown 0 -> Single User Mode
# fuser -cku /var; umount /var -> Force to umount /var
# extendfs -F vxfs /dev/vg00/rlvol9
Here is rlvol why you need's to use the character device and the lvol9 is a block device.
# mount /var
# bdf /var
Confirm if /var is a new value.
To init system:
# init 3
Regards,
Andre Machado
These steps solve your problem:
1. Verify the free PE's and PE Size in VG00:
# vgdisplay vg00 | grep PE
Max PE per PV 4350
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4320
Free PE 20
(Free PE * PE Size) = 80 MB Free
2. Verify what is the lvol for /var
# bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 1536000 1378627 150030 90% /var
lvol= /dev/vg00/lvol8
3. Verifify the size of lvol:
# lvdisplay /dev/vg00/lvol9 | grep Mbytes
LV Size (Mbytes) 4000
4. Now, define what is the new size of lvol
5. Increasing the lvol:
The lvextend commad is allow to execute with the lvol is monted, but if you haven't the OnLine JFS you doesn't able to extend the file system.
# lvextend -L 4080 /dev/vg00/lvol9
-L options is the new size of lvol
If you have the online JFS and File system of /var is vxfs.
# fsadm -F vxfs -b 41477920 /var
If you not sure of the type of the file system:
# fstyp /dev/vg00/lvol9
vxfs or hfs
The OnLine JFS only work with vxfs.
If you haven't the OnLine JFS:
# shutdown 0 -> Single User Mode
# fuser -cku /var; umount /var -> Force to umount /var
# extendfs -F vxfs /dev/vg00/rlvol9
Here is rlvol why you need's to use the character device and the lvol9 is a block device.
# mount /var
# bdf /var
Confirm if /var is a new value.
To init system:
# init 3
Regards,
Andre Machado
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 01:05 AM
02-08-2001 01:05 AM
Re: Extended /var on root vg
FYI - you can use sam in single user mode.
Boot in single user, then mkdir /var/sam and
/var/sam/log. With TERM=hp you can run sam
and extend /var.
Don't forget to rm -rf /var/sam after extending - but before rebooting.
Regards
Boot in single user, then mkdir /var/sam and
/var/sam/log. With TERM=hp you can run sam
and extend /var.
Don't forget to rm -rf /var/sam after extending - but before rebooting.
Regards
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP