- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extend /var on HP-UX 10.20
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
08-30-2000 04:50 AM
08-30-2000 04:50 AM
extend /var on HP-UX 10.20
Info:
I only have 2 disks that mirror each other, and there is plenty of space left in VG00
/Lars
lh@banctec.dk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 04:56 AM
08-30-2000 04:56 AM
Re: extend /var on HP-UX 10.20
lvextend -L NNN /dev/vg00/lvoln
extendfs -F vxfs /dev/vg00/rlvoln
Reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 04:56 AM
08-30-2000 04:56 AM
Re: extend /var on HP-UX 10.20
Do SEARCH on /var for the forums.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 04:58 AM
08-30-2000 04:58 AM
Re: extend /var on HP-UX 10.20
Normally /var is not (nor need not be) specified as contiguous. If it was set contiguous during the lvcreate, then you don't have the flexability you might want. See the man pages for lvcreate.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 05:01 AM
08-30-2000 05:01 AM
Re: extend /var on HP-UX 10.20
Do a bdf to ensure /var is not mounted.
lvextend -l _ _ _ /dev/vgoo/lvol_
extendfs /dev/vg00/rlvol_ /var
I then prefer to do a shutdown -ry 0....but whatever you prefer is ok..
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 05:04 AM
08-30-2000 05:04 AM
Re: extend /var on HP-UX 10.20
Check with 'lvdisplay /dev/vg00/lvol?'
If contiguous is set then Allocation will be 'strict/contiguous' (if 'strict' is set of course which it should be if mirrored).
As it is mirrored, are you sur ethat you have enough space on both disks for the extension?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 05:04 AM
08-30-2000 05:04 AM
Re: extend /var on HP-UX 10.20
If you click the SEARCH button on the left side menu and do a community search for 'extend and contiguous' there are many excellent examples of earlier answers to this type of problem.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 05:12 AM
08-30-2000 05:12 AM
Re: extend /var on HP-UX 10.20
With OnlineJFS or AdvJFS you can extend /var without booting into single user mode.
Without OnlineJFS, you will need to use fuser to quiet the filesytem or boot into single user mode and extend with lvextend and extendfs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2000 06:01 PM
09-01-2000 06:01 PM
Re: extend /var on HP-UX 10.20
You said you have VG00 Mirrored and get an error when extending var. I aggree with John on this one. Make sure you have enough free PE on both sides of the mirror to extend var.
# pvdisplay /dev/dsk/c?t?d?
Check that number of lvols are same, also for free PE on each disk in vg00.
If lvdisplay shows strict/contiguous and you have enough free PE on all disks in vg00 to extend var then it could be the space isnt contiguous.
To turn off contigous allocation:
# lvchange -C n /dev/vg00/lvol_var
As long as strict allocation policy is turned on for the mirrored lvol you are ok.
Hope this helps!