- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem trying to extend /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
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
02-13-2004 11:52 PM
02-13-2004 11:52 PM
Problem trying to extend /usr
I am trying to extend /usr. I rebooted to single user mode, then ran lvextend on lvol7. When I try to run extendfs it fails, saying cannot extend a mounted fs. If I try and unmount the file system, I get the error cannot unmount /usr : block device required
Any ideas on how I can progress? Unfortunately I forgot to note how big the LV was before extending it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2004 01:16 AM
02-14-2004 01:16 AM
Re: Problem trying to extend /usr
The only way You have to extend a filesystem "online" is to use "Online JFS" that is a licesend HP product.
When you extend a FS using "extendfs" You must use r-named-special file.
If You have Online JFS "fsdm" needs directory name.
RGDS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2004 01:44 AM
02-14-2004 01:44 AM
Re: Problem trying to extend /usr
Alternatively I once increased the logical volume (which you can do online) and then put the "extendfs" command in the startup scripts before it attempts to mount /usr. This means that you can set it all up, re-boot, and the filesystem is increased as it comes up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2004 03:04 AM
02-14-2004 03:04 AM
Re: Problem trying to extend /usr
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2004 04:00 AM
02-14-2004 04:00 AM
Re: Problem trying to extend /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2004 03:14 PM
02-14-2004 03:14 PM
Re: Problem trying to extend /usr
(/var requires the same approach)
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2004 07:04 AM
02-15-2004 07:04 AM
Re: Problem trying to extend /usr
# shutdown -r -y now
at press any key to interupt boot sequence, do so...
ISL> boot
ISL> interact with ISL prompt> y
ISL> hpux -is
# vgchange -a y vg00
# extendfs -F vxfs ....
# init 3
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2004 04:34 PM
02-15-2004 04:34 PM
Re: Problem trying to extend /usr
1) shutdown -ry 0
2) Interrupt the system by pressing the space bar and boot with ISL
3)ISL>hpux -is
4)umount the /usr
#exec umount /usr
5)set the shell to use the commands
#unset HISTFILE
#exec sh
6>lvextend -L <
7>extendfs /dev/vg00/rlvol7
8>shutdown -ry 0
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2004 05:34 PM
02-15-2004 05:34 PM