- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extending file systems
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
12-08-2004 04:36 AM
12-08-2004 04:36 AM
extending file systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:40 AM
12-08-2004 04:40 AM
Re: extending file systems
If you have online jfs - you don't need to unmount.
lvextend -L
fsadm -b
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:40 AM
12-08-2004 04:40 AM
Re: extending file systems
If you don't have onlineJFS, try this,
to check on any process using /home filesystem,
# fuser -cu /home
if you are in /home directory, get out of that directory.
to kill all processes using /home
# fuser -ck /home
you should now be able to unmount /home and do lvextend / extendfs to extend the size of /home
If you have onlineJFS, you don't have to unmount /home to extend its size, do lvextend/fsadm to extend the size online.
You cannot extend the size of / filesystem, since it has to be contiguous. The only way to extend the size of / would be to reinstall the OS. You can take a ignite backup (take two) and then reinstall the OS on the system and at the time of installtion choose to increase the size of / filesystem.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:42 AM
12-08-2004 04:42 AM
Re: extending file systems
Do you have Online-Jfs?
Use sam...
If not
go to / do a fuser -ku /home
If you are still alive you should be able to umount now...
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:46 AM
12-08-2004 04:46 AM
Re: extending file systems
In the worst case, you can bring the system up in single-user mode and use the commands in /sbin to grow the LVOL and extend the filesystem.
You should really purchase OnlineJFS. No HP-UX box should leave /home without it.
Even with OnlineJFS, contiguously allocated LVOL's can't be extended (except when there is free space adjacent to the last PE of the LVOL) so / and /stand can't be extended. The only real solution in that case is to use IgniteUX to reload the system.
Man lvextend, extendfs, fsasm for more details and don't use SAM for this until you know how to do all the steps manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:50 AM
12-08-2004 04:50 AM
Re: extending file systems
Sometimes, when all else fails, the easiest way is just to reboot into single user mode. Boot the box, interrupt at the 10 second prompt, interact with ISL and enter "hpux -is". That will bring you up in single user mode and none of the file systems will be mounted. I usually do a "mount -a" and then unmount /home so I will have access to the commands I need. From there, you can easily entend /home and then enter "init 3" to come on up into multi-user mode.
To expand the root file system ( / ), the easiest way is to make an ignite make_tape_recovery backup and use it to rebuild your root volume group, resizing file systems along the way.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:54 AM
12-08-2004 04:54 AM
Re: extending file systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 04:57 AM
12-08-2004 04:57 AM
Re: extending file systems
Check /etc/passwd, root's home should be /
All the best
Victor
P.S.
So no Online-Jfs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 05:17 AM
12-08-2004 05:17 AM
Re: extending file systems
You probably had cd'ed into that directory. Otherwise did you login as another user whose home directory is in /home and then you did a sudo or su to change to root.
Hope this helps.
regds