- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Logical Volume size increase
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
10-08-2008 11:06 PM
10-08-2008 11:06 PM
lvextend -L 110000 /dev/vg_p400/lv_proj
Warning: rounding up logical volume size to extent boundary at size "110016" MB.
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
This I thought was a bit strange so I then ran the extendfs command and it ran for a while and finished with no errors. Then I remounted the file system that I was trying to increase and below is the result:-
bdf /proj
Filesystem kbytes used avail %used Mounted on
/dev/vg_p400/lv_proj
122650624 69931579 49442692 59% /proj
From the result above it looks like the increase using sam did work. Can someone explain what is going on here please?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 12:34 AM
10-09-2008 12:34 AM
SolutionDid you get any error while try to extend the lv using SAM? How did you confirm that SAM didn't allow to increase the LV.
The current LV size is approx 116GB. That is the reason why lvextend command didn't allow you to extend with lesser than current size.
you should have checked lvdisplay output after using SAM to extend it. As far as LVM is concern SAM may not provide errors or message at times. That is why it is preferred to do LVM activities through command line.
Now what you need at this stage? The filesystem is already extended.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 12:39 AM
10-09-2008 12:39 AM
Re: Logical Volume size increase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 12:56 AM
10-09-2008 12:56 AM
Re: Logical Volume size increase
You can have a look at the log present at this location.
/var/sam/log/samlog
Thanks
Vivek Bhatia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 01:03 AM
10-09-2008 01:03 AM
Re: Logical Volume size increase
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 01:13 AM
10-09-2008 01:13 AM
Re: Logical Volume size increase
Please use the following procedure for extening the logical volume and the filesystem.
Example: Extend the file system in /dev/vg01/data to fill the 32 MB logical volume.
(extend the logical volume containing the file system)
# fsadm â F vxfs â b 32M /data
# bdf /data
Regards,
Vivek Bhatia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 01:15 AM
10-09-2008 01:15 AM
Re: Logical Volume size increase
You can use this command to view the SAM log,
#/usr/sam/bin/samlog_viewer
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 01:17 AM
10-09-2008 01:17 AM
Re: Logical Volume size increase
lvextend -L
extendfs /dev/vg_vg_p400/rlv_proj
This is the usual way that I do this, is this not correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 01:28 AM
10-09-2008 01:28 AM
Re: Logical Volume size increase
Below is the error message I got when I first attempted to increase the size of /proj via sam:-
Command completed with exit status 32
The command used to resize a VxFS file system has failed. The stderr output from the command is shown below/
UX:vxfs fsadm: ERROR V-3-20279: /proj is not the root inode of a vxfs file system.
I have had issues before using SAM on this server and I believe the latest SAM patch should fix this. The server in question is an rx6600 running 11.23, could you advise me on the latest sam patch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2008 02:36 AM
10-09-2008 02:36 AM
Re: Logical Volume size increase
There are two ways we can extend the filesystem. One is with the help of extendfs command. but that needs filesystem should be unmounted. it is considered to be offline.
Another method is online filesystem extension where we can extend without unmounting the FS. We need online JFS product should be installed to achieve this.
To check online JFS is install use the command
#swlist -l product |grep -i online
Commands to extend the fs online,
# lvextend â L
# fsadm â F vxfs â b
Regarding SAM patch on 11.23 these are the latest one.
PHCO_34974 --> HP recommanded
PHCO_38185 --> Most recent
You can install either of the one.
Ganesh.