- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend syntax
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
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
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
тАО01-06-2005 07:52 AM
тАО01-06-2005 07:52 AM
lvextend syntax
I need to increase the space available to a file system, my /opt filesystem, and have a question about the lvextend systax.
I think I need to give lv the path to the physical volume because I need to be sure that lv does not use certain disks that contain raw data. My assumption is that lv will use the first available disk space it finds where it finds no file system or volume group and if it does that it would destroy all of the data on those raw disks used by a database application.
So, please take a look at what I believe is the correct syntax:
# lvextend -L 1000 /dev/vg00/lvol5 /dev/dsk/c7t12d0
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:00 AM
тАО01-06-2005 08:00 AM
Re: lvextend syntax
If the space on the disk is being used by another lv, it won't be destroyed.
However the command syntax that you have mentioned would extend the lv /dev/vg00/lvol5 on the disk /dev/dsk/c7t12d0.
If the disk /dev/dsk/c7t12d0 doesn't have free space for this filesystem to get extended, it will error out.
say the current size of /dev/vg00/lvol5 is 512MB and you want to increase it to 1000MB. the disk /dev/dsk/c7t12d0 must have 476MB free, else the command would error out. If there is that much space on the disk, the filesystem will get extended on that disk.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:02 AM
тАО01-06-2005 08:02 AM
Re: lvextend syntax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:04 AM
тАО01-06-2005 08:04 AM
Re: lvextend syntax
Thanks much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 08:06 AM
тАО01-06-2005 08:06 AM
Re: lvextend syntax
You can list multiple PVs as destinations for an lvextend by listing the drives. This would help if your volume needs to be larger than anyone drive.