- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending mirrored /usr
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
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-2004 05:59 PM
01-18-2004 05:59 PM
Extending mirrored /usr
My /usr is 95% full and I have to install some patches. The /usr is mirrored on a seperate disk, how do I extend both (don't have Online JFS). Before I go ahead and extend, I see under /usr/lib the are directories with different revisions? (eg. X11, X11R4, X11R5, X11R6) maybe I can drop someting ?
/dev/vg00/lvol7 512000 485196 25189 95% /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 06:24 PM
01-18-2004 06:24 PM
Re: Extending mirrored /usr
swlist -l files | grep X11R4
If installed from a depotpackage, remove that package, not the files only.
Then, search for files named 'core' in /usr. And check if for instance /usr/local is large and on /usr, not a seperate lvol. It might be better to move that to a different volume then (also easier to do).
After that, check for free PE's on vg00. If there are, you're in business. Use this link to extend /usr or create a new lvol, add filesystem, temporarily mount, copy /usr/local (mind permissions!), do 'mv /usr/local /usr/local.old;mkdir /usr/local', umount your new filesystem and mount it under /usr/local, edit /etc/fstab, test working of commands and then remove /usr/local.old .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 06:26 PM
01-18-2004 06:26 PM
Re: Extending mirrored /usr
The easy way is to bring your system up in singleuser mode.
Then do a lvextend -L 1024M /dev/vg00/lvol7
and extendfs -F vxfs /dev/vg00/rlvol7
Then mount /usr to see if it is increased.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 06:28 PM
01-18-2004 06:28 PM
Re: Extending mirrored /usr
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=365251
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:06 PM
01-18-2004 07:06 PM
Re: Extending mirrored /usr
Question: Will the lvextend and extendfs also extend the mirror?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:11 PM
01-18-2004 07:11 PM
Re: Extending mirrored /usr
Yes they will, you extend your lvol and if it is mirrored it will extend on both disks and there is only one filesystem.
PS you need space in both disks.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:16 PM
01-18-2004 07:16 PM
Re: Extending mirrored /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:13 PM
01-18-2004 08:13 PM
Re: Extending mirrored /usr
if you extend the /usr,it's copy will also get extended ( since it is mirrorred)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:23 PM
01-18-2004 08:23 PM