- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extend mirrored /var /usr mount points
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
01-18-2005 08:52 AM
01-18-2005 08:52 AM
extend mirrored /var /usr mount points
I have a mirrored (2) disks for vg00. i want to extend size of /var and /usr.
Is it straight vgextend and extendfs. I am not using online JFS.
Does the mirrored disks also extended automatically ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 09:04 AM
01-18-2005 09:04 AM
Re: extend mirrored /var /usr mount points
The steps you need to follow are (after booting in single-user mode):
lvextend -L xxxx /dev/vg00/lvol7
extendfs -F vxfs /dev/vg00/rlvol7
Man lvextend, extendfs_vxfs for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 09:19 AM
01-18-2005 09:19 AM
Re: extend mirrored /var /usr mount points
Shut the system down and interrupt the reboot. Tell it to boot from the primary as normal but answer yes to "Interact with ISL" at the ISL prompt enter: hpux -lm (that is hpux -ell m or lower case L and M )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 05:47 PM
01-18-2005 05:47 PM
Re: extend mirrored /var /usr mount points
If you don have Online-JFS, you must do it in single mode!
First, check for the vg00 : How many free disk size? If there is enough space to extend, you can extend these system mount point. Do not warry any more when extend.
But if you insert more disk in vg00 and these system mount point are mirrored, you have to take care.
It depend on the LV's policy.
If the lv's Allocation is "Strict": Error happen (on this case, you must have 2 pv to extend...) the other side you can extend.....
Anyway, if you have enough free space in vg00, you can extend (but in single user mode with lvextend, extendfs commands)
Goodluck to you
Regard,
HoangChiCong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 05:53 PM
01-18-2005 05:53 PM
Re: extend mirrored /var /usr mount points
If the disks are mirrored, and if you extend the lvol, mirrored disks also extend automatically
#lvextend -L
#extendfs -F vxfs /dev/vgxx/rlvolxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 06:06 PM
01-18-2005 06:06 PM
Re: extend mirrored /var /usr mount points
see jimkerry's answer.i think almost the /usr and /var will be having strict allocation policy.if free space is not there move some lvols to another disk and try.
you have to reboot in single user mode. since /usr has also to be extended you have to give full path of command
/sbin/lvextend /dev/vg00/lvolXX
/sbin/extendfs /dev/vg00/lvolXX
if enough space is there on both disks(provided strict allocation) mirror also will get extended automatically.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 08:26 PM
01-18-2005 08:26 PM
Re: extend mirrored /var /usr mount points
Thanks bhavin asokan to confirm my answer :)
Vaish Raj:
You have to be careful: the command is lvextend...NOT vgextend as you said.....
Normally, usually /dev/vg00/lvol8 mount on /var
and /dev/vg00/lvol7 mount on /usr
Goodluck to you
Regard,
HoangChiCong