- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- resizing /usr without online jfs
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
04-28-2007 01:26 AM
04-28-2007 01:26 AM
resizing /usr without online jfs
I need some space on /usr for installing mySQL. Currently, i have 704 MB on /usr
I allocated (using lvextend) 1200 MB for the logical volume on which /usr is mounted... forgetting the fact that it's pretty difficult to take /usr offline, I do not have vxfs, etc.
Is there a way out (single-user mode, copying the required files etc)? Please help. And please don't tell me to reinstall the core, it's too much of a headache...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 02:22 AM
04-28-2007 02:22 AM
Re: resizing /usr without online jfs
You could try single user mode
other options
make an mount point under /usr (/usr/myspace??)
make an ignite image of the system, and boot off of the tape and do an interactive restore - this will allow you to change the size of any/all mount points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 03:43 PM
04-28-2007 03:43 PM
Re: resizing /usr without online jfs
At the firmware monitor/BCH prompt, enter:
BOOT PRI
Interact with ISL/IPL? Y
At the ISL/IPL prompt, enter
hpux -is
This will bring you up in single-user mode with only / and /stand mount. You will execute /sbin/extendfs to extend the /usr filesystem. Man extendfs sould you need to before shutting down as multi-user if you need to examine the options.
After running extendfs, shutdown and allow the box to boot up normally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 04:43 PM
04-28-2007 04:43 PM
Re: resizing /usr without online jfs
else the old fashion
the other is if you have the new size you need available.
Then you create a new lvol, then mount it to some /tmp/usr2
and then copy from one to the other
with some cd /usr ;find . | cpio -pd /tmp/usr2
modify fstab to point to the new lvol for usr,
reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2007 11:52 PM
04-28-2007 11:52 PM
Re: resizing /usr without online jfs
I don't know where you are getting mysql, but the version prepared by HP as part of Internet Express installs in the /opt filesystem.
Otherwise single user mode is the only way out of this situation.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 04:33 PM
04-29-2007 04:33 PM
Re: resizing /usr without online jfs
take a ignite backup and boot your system with single user mode and extend your file system
extendfs -F vxfs /dev/vg00/rlovl
then reboot your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 05:21 PM
04-29-2007 05:21 PM
Re: resizing /usr without online jfs
You have 2 option,
1. Try Single User--> extendfs /usr
2. or Ignite backup , while resoring specify a diffenrelt size for /usr.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 05:21 PM
04-29-2007 05:21 PM
Re: resizing /usr without online jfs
You have 2 option,
1. Try Single User--> extendfs /usr
2. or Ignite backup , while resoring specify a different size for /usr.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2007 08:28 PM
05-03-2007 08:28 PM
Re: resizing /usr without online jfs
1. The OS is HP-UX 11.00 (2-User Degrade).
2. Online JFS is absent. (I have the CD, but no codeword.)
3. Ignite-UX has not been installed. I have downloaded the depot, but I'm not sure if it needs to install into /, which is quite small (only 144 MB). The root filesystem can't be touched.
4. I need to install either Oracle or mySQL. I have the binaries for Oracle and also the recomended patches.
So, my idea is to get Oracle installed and working. I know it is not easy. I have the CDs for HP-UX 11i, but I don't have the codeword or customer ID or anything - just the original CDs in their packing. Can't even access it because I don't have the codeword...
Please help.