- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
04-20-2004 05:38 AM
04-20-2004 05:38 AM
lvextend
yet another question. I used the command "lvextend" to expand an lvol, and the system acknowledged that the lvol had been expanded. however, when i run "bdf", it still shows the old size of the lvol, and installing applications in the lvol keep complaining about insufficient space. running a "vgdisplay -v" on the volume group however, it shows the expanded size. Can anyone tell me how to get the increase to show up with a "bdf"?
Thanks
Bona
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 05:41 AM
04-20-2004 05:41 AM
Re: lvextend
You need to extend the file system:
EXAMPLE:
extendfs -F vxfs /dev/vgXX/rlvolX
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 05:42 AM
04-20-2004 05:42 AM
Re: lvextend
From the man page for extendfs:
EXAMPLES
To increase the capacity of a file system created on a logical volume,
enter:
umount /dev/vg00/lvol1
lvextend -L larger_size /dev/vg00/lvol1
extendfs -F hfs /dev/vg00/rlvol1
mount /dev/vg00/lvol1 mount_directory
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 05:45 AM
04-20-2004 05:45 AM
Re: lvextend
SAM will do it all for you, extending both lvol and fs.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 06:11 AM
04-20-2004 06:11 AM
Re: lvextend
check and see if you have OnlineJFS. If you do than you can increase using:
fsadm -F vxfs -b
yes that is a small letter m directly after the size (no space in between).
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 06:40 AM
04-20-2004 06:40 AM
Re: lvextend
To extend the size of a lv, you have to use two commands,
lvextend / extendfs if you don't have onlineJFS.
lvextend / fsadm if you have onlineJFS.
If you don't have onlineJFS, do a lvextend, unmount the filesystem and do a extendfs to extend the size of the filesystem.
If you have OnlineJFS, do a lvextned and then do fsadm -b
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 07:28 AM
04-20-2004 07:28 AM
Re: lvextend
Here's a good doc on Managing File Systems:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/00/54-con.html&toc=/hpux/onlinedocs/5187-2216/00/00/54-toc.html&searchterms=lvextend&queryid=20040420-132522
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2004 08:42 AM
04-20-2004 08:42 AM
Re: lvextend
With online JFS for example if you wish to increase /opt to new size of 3GB
#lvextend -L 3000 /dev/vg00/lvolxxx
#fsadm -F vxfs -b 3000M /opt