- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.22: lvextend
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
09-11-2003 06:07 AM
09-11-2003 06:07 AM
HP-UX 11.22: lvextend
Initially, it looks like /opt was too small.
I've increased /opt to 3.5 GB (an increase of about 3 GB). I only needed an extra 200 MB, but I believe in overkill.
SAM reports the new volume size as 3504 MB in the logical volume manager. However, bdf reports that the volume is still small. Why?
I started with the GUI in SAM and increased the logical volume to 2000 MB. bdf still reported no change.
Then, I used the lvextend command:
lvextend -L 3000 /dev/vg00/lvol6
The volume manager in sam detected this increase, but bdf still doesn't notice the change.
Finally, I used sam to increase to 3500 MB. bdf still doesn't notice.
The GUI in sam reports that there is still not enough space to install my application. it looks like this installation application relies on bdf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:10 AM
09-11-2003 06:10 AM
Re: HP-UX 11.22: lvextend
sam should have done that for you though, there was probably an error.
extendfs -F vxfs /dev/vg##/rlvol6
as root. At least you'll see the error, whatever it is.
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
09-11-2003 06:14 AM
09-11-2003 06:14 AM
Re: HP-UX 11.22: lvextend
Do you have Online JFS? If so:
lvextend -L 2500 /dev/vg00/lvol4
^
|-- lv_size
c. fsadm -b 2560000 /opt
Or:
d. fsadm -b 2500m /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:16 AM
09-11-2003 06:16 AM
Re: HP-UX 11.22: lvextend
Looks like I can't unmount /opt
device busy. I'm the only user on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:38 AM
09-11-2003 06:38 AM
Re: HP-UX 11.22: lvextend
Check with fuser or losf if some application is using /opt. Stop the application and try unmounting again.
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:46 AM
09-11-2003 06:46 AM
Re: HP-UX 11.22: lvextend
IF you JFS online you can use fsadm to extend a mounted filesystem...
fsadm -b {extents*4096}
extendfs is valid only if you dont have JFSonline OR if you can umount the filesystem... but I wouldnt umount it if you can use fsadm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 08:47 AM
09-11-2003 08:47 AM
Re: HP-UX 11.22: lvextend
In your case only LV is extended but not FS.So u have to extend FS also.
If u have JFS online installed on your machine, you can use fsadm -b
Then u can see new size in bdf also.
ATB
Sudhakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 09:01 AM
09-11-2003 09:01 AM
Re: HP-UX 11.22: lvextend
If you are the only user on the system, you MIGHT be able to clear users as follows:
fuser -cuk /opt
That might blow you out of the system or affect applications, so be careful.
This assumes you do not have OnlineJFS.
That seems to be the case.
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
09-11-2003 12:13 PM
09-11-2003 12:13 PM
Re: HP-UX 11.22: lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 12:38 PM
09-11-2003 12:38 PM
Re: HP-UX 11.22: lvextend
The fuser command did not unmount /opt
I've never seen this behavior before. I'm reinstalling the OS. This time, I will extend the volumes first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 04:27 AM
09-12-2003 04:27 AM
Re: HP-UX 11.22: lvextend
# vgchange -a y vg00
(assuming your root vg is vg00)
# extendfs -F vxfs /dev/vg00/rlvol6
(asssuming /opt is mounted from /dev/vg00/lvol6)
to boot into single user mode, connect to lan/web/serial console (whatever you have),
enter
# shutdown -r -y 0
interrrupt boot at the BCH (where it tells you that you have 10 seconds to interrupt the boot process), enter
bo pri
question "interact with ISL?" answer
y
at ISL>
enter
hpux -is
vgchange and extendfs as above
# mount -a
# bdf
# reboot
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:58 AM
09-12-2003 05:58 AM
Re: HP-UX 11.22: lvextend
Mike maybe you can elaborate.