- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend - don't show the extension in bdf
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
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
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-02-2015 05:42 AM
04-02-2015 05:42 AM
Hallo All
I'm a rookie and have an 'special' behavor from HP-UX:
I tried to extend a lvol and it seams, that all is fine, but the command bdf don't show the new size. What can be missing in my work?
*SERVER-1*:/# uname -a
HP-UX *SERVER-1* B.11.11 U 9000/800 1039716944 unlimited-user license
*SERVER-1*:/# swlist -l product | grep -i online
OnlineJFS B.11.11.03.03 Online features of the VxFS File System
Bevore the extend-command:
********************************
*SERVER-1*:/# lvdisplay -v /dev/vg11/lv_INEX | head -30
--- Logical volumes ---
LV Name /dev/vg11/lv_INEX
VG Name /dev/vg11
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 30512
Current LE 1907
Allocated PE 1907
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c22t0d2 1907 1907
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c22t0d2 10680 current
00001 /dev/dsk/c22t0d2 10681 current
...
*SERVER-1*:/# bdf | grep -i inex
/dev/vg11/lv_INEX 31244288 25857092 5303028 83% /oracle/oradata/INEX
Then the work
***********************
*SERVER-1*:/# lvextend -L 40000 /dev/vg11/lv_INEX /dev/dsk/c22t0d2
Logical volume "/dev/vg11/lv_INEX" has been successfully extended.
Volume Group configuration for /dev/vg11 has been saved in /etc/lvmconf/vg11.conf
*SERVER-1*:/# fsadm -F vxfs -o largefiles /oracle/oradata/INEX
after extend command:
***************************
*SERVER-1*:/# lvdisplay -v /dev/vg11/lv_INEX | more
--- Logical volumes ---
LV Name /dev/vg11/lv_INEX
VG Name /dev/vg11
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 40000
Current LE 2500
Allocated PE 2500
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c22t0d2 2500 2500
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c22t0d2 10680 current
00001 /dev/dsk/c22t0d2 10681 current
00002 /dev/dsk/c22t0d2 10682 current
...
01904 /dev/dsk/c22t0d2 12584 current
01905 /dev/dsk/c22t0d2 12585 current
01906 /dev/dsk/c22t0d2 12586 current
01907 /dev/dsk/c22t0d2 16962 current #from here is the new space
01908 /dev/dsk/c22t0d2 16963 current
...
02497 /dev/dsk/c22t0d2 17552 current
02498 /dev/dsk/c22t0d2 17553 current
02499 /dev/dsk/c22t0d2 17554 current
*SERVER-1*:/# bdf | grep -i INEX
/dev/vg11/lv_INEX 31244288 25857092 5303028 83% /oracle/oradata/INEX
*SERVER-1*:/#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2015 06:33 AM
04-02-2015 06:33 AM
SolutionYou extended the logical volume (LV) but you did not extend the file system afterwards.
You now need to do:
# fsadm -b 40000m /oracle/oradata/INEX
If that fails, then you likely do not have Online JFS installed on your system. In that case you will have to unmount the file system and run an 'extendfs' command to extend it, then remount. This would require your Oracle DB to be shut down though.
<shut down Oracle>
# umount /oracle /oradata/INEX
# extendfs /dev/vg11/rlv_INEX
# mount /oracle/oradata/INEX
<restart Oracle>
Once either the 'fsadm' or the 'extendfs' has been done, you can now run 'bdf' to check the new size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 11:14 PM
04-06-2015 11:14 PM
Re: lvextend - don't show the extension in bdf
Hello Patrick
Thanks for your time to check it and to anwer.
Your replay helped me!
Have a nice day
Regards, Konrad