- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing size of logical volume
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
11-22-1999 11:45 PM
11-22-1999 11:45 PM
Increasing size of logical volume
10.2. The logical volume is /usr and SAM complains that it is in use, so it
can't be unmounted. Starting the machine at run level 1 was no help. SAM still
said it could not unmount it.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-1999 12:07 AM
11-23-1999 12:07 AM
Re: Increasing size of logical volume
If you've notified everyone to be off the system.
Execute shutdown, it will bring you to single user mode. Next you do a
sync;sync; everything goes to buffer. Next this might be harsh, but execute a
killall. This kills all processes other than root type. Or you could execute
"ps -ef | grep usr", kill all those processes, execute the same substituting
for "var", then umount -a. Only root should be mounted at this time. If usr or
var is still mounted, execute fuser -u -k /dev/vg00/rlvol8 which will kill any
process running for in this case well say lvol8 is "usr",. Then execute umount
/usr or var whichever is still active. Once successful, begin the process.
increase the size;
lvextend -L 600 /dev/vg00/lvol8;
extendfs -F hfs or vxfs /dev/vg00/rlvol8;
fsck -F hfs or vxfs /dev/vg00/rlvol8; Performs file system check verify
filesystem integrity.
mount -a; Check your filesystem verifying the sizes before executing a reboot.
This should do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-1999 12:44 AM
11-23-1999 12:44 AM
Re: Increasing size of logical volume
of booting to single user and killing processes, boot to LVM maintenance mode
using "boot -lm". This mode was created for cases exactly like yours.
Use caution!!!
MrNeil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-1999 06:43 AM
11-23-1999 06:43 AM
Re: Increasing size of logical volume
using it....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-1999 05:36 AM
11-24-1999 05:36 AM
Re: Increasing size of logical volume
Other good sources of info on HP website are:
Document Id's: rcfaxfilesystem001 and A5758045
and I also used the search string:
"extend /{xxx}"
in Technical Knowledge Base
Home: HP-UX Software: LVM area.
Where {xxx}=filesystem I wanted to extend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-1999 09:35 AM
11-24-1999 09:35 AM
Re: Increasing size of logical volume
increase the logical volume without unmounting the logical volume.
The safe way to extend the filesystem is to reboot the system and when prompted
to boot to an alternate path, press any key. Then execute the boot command and
when prompted to interact with ISL, answer y. From ISL, enter hpus -is. This
will put you into single use mode without mounting the filesystems (root is the
exception.) From there, you can use the extendfs command and if you want to
utilize all of the space allocated to the logical volume, use extendfs without
the numeric arguments, i.e., extendfs /dev/vg01/rlvol3 (note: you must use the
device special file (rlvol3, not lvol3.)