HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem and Logical Volume size mismatch
Operating System - HP-UX
1831284
Members
2988
Online
110022
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-03-2009 04:12 AM
04-03-2009 04:12 AM
Hi,
I have a wierd problem.
I have a HPUX 11.00 on an N4000 box.
Ihave a logical volume with size mirrored and the size is 2350 MB (4700 MB since mirrored). I had a FS full issue when checking i found that the files size is more than the lvol size in the fs.
# bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg_maximo/lv_maxlnvgt_up
2764800 2764800 0 100% /maxlnvgt_up
# lvdisplay /dev/vg_maximo/lv_maxlnvgt_up
--- Logical volumes ---
LV Name /dev/vg_maximo/lv_maxlnvgt_up
VG Name /dev/vg_maximo
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4700
Current LE 1175
Allocated PE 2350
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
# du -sk .
2755133 .
I checked and dint find any link files etc in the folder either. Any suugestions pls?
I have a wierd problem.
I have a HPUX 11.00 on an N4000 box.
Ihave a logical volume with size mirrored and the size is 2350 MB (4700 MB since mirrored). I had a FS full issue when checking i found that the files size is more than the lvol size in the fs.
# bdf .
Filesystem kbytes used avail %used Mounted on
/dev/vg_maximo/lv_maxlnvgt_up
2764800 2764800 0 100% /maxlnvgt_up
# lvdisplay /dev/vg_maximo/lv_maxlnvgt_up
--- Logical volumes ---
LV Name /dev/vg_maximo/lv_maxlnvgt_up
VG Name /dev/vg_maximo
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4700
Current LE 1175
Allocated PE 2350
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
# du -sk .
2755133 .
I checked and dint find any link files etc in the folder either. Any suugestions pls?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 04:39 AM
04-03-2009 04:39 AM
Solution
Hi,
If the value of PE sizes on the vgdisplay of vg_maximo is 4, you have 2350*4 = 9400 for the lv with the mirror, so perhaps you should try to extend the lv :
Without OnlineJFS you have to umount the FS first:
# umount /dev/vg_maximo/lv_maxlnvgt_up
# extendfs /dev/vg_maximo/rlv_maxlnvgt_up
# mount /dev/vg_maximo/lv_maxlnvgt_up
/maxlnvgt_up
With OnlineJFS you do not need to umount. Use fsadm instead:
# fsadm -b /maxlnvgt_up
If the value of PE sizes on the vgdisplay of vg_maximo is 4, you have 2350*4 = 9400 for the lv with the mirror, so perhaps you should try to extend the lv :
Without OnlineJFS you have to umount the FS first:
# umount /dev/vg_maximo/lv_maxlnvgt_up
# extendfs /dev/vg_maximo/rlv_maxlnvgt_up
# mount /dev/vg_maximo/lv_maxlnvgt_up
/maxlnvgt_up
With OnlineJFS you do not need to umount. Use fsadm instead:
# fsadm -b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 05:26 AM
04-03-2009 05:26 AM
Re: Filesystem and Logical Volume size mismatch
Thanks for the reply. It was bang on.
Got confused for a while. Think need to refresh my LVM fundamentals.
Got confused for a while. Think need to refresh my LVM fundamentals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 05:34 AM
04-03-2009 05:34 AM
Re: Filesystem and Logical Volume size mismatch
Hi Vinay,
The logical volume size equates to 4.7Gb (1175 LE's * 4MB PE size), but the size of the file system is only 2.7GB.
It appears that at some point the original size of the lv has been extended, but the file system has not been extended as well in order to bring it in line with the new size of the lv.
If you have Online JFS installed then you can extend the size of the file system on-line :
# swlist | grep -i jfs
B3929EA B.11.31 HP OnLineJFS (Server)
#/sbin/fsadm -F vxfs -b 4812800 /maxlnvgt_up
Or
#/sbin/fsadm -F vxfs -b 4700M /maxlnvgt_up
If not, the file system will need to be unmounted when not in use :
# fuser -u -c /maxlnvgt_up
# umount /maxlnvgt_up
and an extendfs carried out on the file system :
extendfs -F vxfs /dev/vg_maximo/rlv_maxlnvgt_up
Then remount the file system :
# mount /maxlnvgt_up
and then re-check the size of the file system again :
bdf /maxlnvgt_up
Regards,
Mark
The logical volume size equates to 4.7Gb (1175 LE's * 4MB PE size), but the size of the file system is only 2.7GB.
It appears that at some point the original size of the lv has been extended, but the file system has not been extended as well in order to bring it in line with the new size of the lv.
If you have Online JFS installed then you can extend the size of the file system on-line :
# swlist | grep -i jfs
B3929EA B.11.31 HP OnLineJFS (Server)
#/sbin/fsadm -F vxfs -b 4812800 /maxlnvgt_up
Or
#/sbin/fsadm -F vxfs -b 4700M /maxlnvgt_up
If not, the file system will need to be unmounted when not in use :
# fuser -u -c /maxlnvgt_up
# umount /maxlnvgt_up
and an extendfs carried out on the file system :
extendfs -F vxfs /dev/vg_maximo/rlv_maxlnvgt_up
Then remount the file system :
# mount /maxlnvgt_up
and then re-check the size of the file system again :
bdf /maxlnvgt_up
Regards,
Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP