- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Space
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
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
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
тАО07-17-2000 12:44 PM
тАО07-17-2000 12:44 PM
I'm new to unix system admn, This might be a lame question, I'm trying to find out where 1500MB of disk space has disappeared. The volume group vg00 was originally created with 2 disk drives (total 4GB). Using SAM I was able to find out that 1160MB of space is available in vg00. I also found out the total disk space allocated for the logical volumes in vg00 is 1250MB. when I add 1160+1250 = 2410MB, what happened to 1500MB from the original 4GB?
when I run bdf, I get the following output:
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 99669 22983 66719 26% /
/dev/vg00/lvol1 47829 25693 17353 60% /stand
/dev/vg00/lvol9 307421 261190 15488 94% /var
/dev/vg00/lvol8 331093 261606 36377 88% /usr
/dev/vg00/lvol7 191989 48829 123961 28% /tmp
/dev/vg00/lvol6 251285 142896 83260 63% /opt
/dev/vg00/lvol5 19861 2587 15287 14% /home
Can somebody help me. Thanks so much
Sri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 12:53 PM
тАО07-17-2000 12:53 PM
SolutionThe space that you do not seem to "see" presently is unallocated space which can be used to increase filesystems in vg00. to find out how much free space is available, run the following:
# vgdisplay | grep Free
This will return the amount of diskspace you have in each volume group (the value is in terms of Physical Extents = 4Mb per physical extent by default)
if you needed to say expand /opt the space you need will come out of this unallocated pool of "Free PE"
Do a man on the following commands: lvextend ; extendfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 12:59 PM
тАО07-17-2000 12:59 PM
Re: Disk Space
You can have disk space allocated to logical volumes that have file system created on them but are not mounted or logical volumes that don?t have file system created. As well, you can have disk space allocated to raw devices used for swap, databases, etc.
So, take a look either in sam->disk and file system->logical volumes area or run vgdisplay ?v vg00.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 10:50 PM
тАО07-17-2000 10:50 PM
Re: Disk Space
i give you a script in the attachment which shows you all information of the vg's and disks.
Cheers
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 05:53 AM
тАО07-18-2000 05:53 AM
Re: Disk Space
/dev/vg00 : 4056 MB [64 0x000000]
/dev/dsk/c0t5d0 2028 / 628 MB 4.5.0 ST32550W
/dev/dsk/c0t8d0 2028 / 628 MB 4.8.0 ST32550W
/dev/vg00/lvol1 48 / 16 MB 60% hfs 1 /stand
/dev/vg00/lvol2 128 MB swap 1
/dev/vg00/lvol3 100 / 65 MB 26% hfs 1 /
/dev/vg00/lvol5 20 / 14 MB 14% hfs 1 /home
/dev/vg00/lvol6 252 / 81 MB 63% hfs 1 /opt
/dev/vg00/lvol7 200 / 121 MB 28% hfs 1 /tmp
/dev/vg00/lvol8 332 / 35 MB 88% hfs 1 /usr
/dev/vg00/lvol9 320 / 15 MB 94% hfs 1 /var
According to this there are 628+628 = 1256MB free space. Total space allocated to logical volumns is 1400MB (by adding from above result). Still I cant figure out what happened to 1400MB space? I also ran vgdisplay -v vg00,
Total PE 1014
Alloc PE 700
Free PE 314
Also how do I find out if any disk space is allocated to raw devices?
Thank You,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 06:29 AM
тАО07-18-2000 06:29 AM
Re: Disk Space
-v /dev/vg00 will show you ALL logical volumes including the ones used for raw devices. From the script that Andrew gave you and the output of vgdisplay, it definitley appears that LVM thinks it has allocated another 1400MB of logical disk space other than what it already has for filesystems and swap. Is rebulding vg00 an option for you?? I would make a call to the response center and talk to an LVM Guru if it not.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 06:34 AM
тАО07-18-2000 06:34 AM
Re: Disk Space
Could you run vgdisplay -v vg00 and add the output, or at list take a look if you have any logical volumes than lvol1 .... lvol9?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 06:40 AM
тАО07-18-2000 06:40 AM
Re: Disk Space
I've got another idea: Please, run lvdisplay -v /dev/vg00/lvol1
Does the output contains 2 columns with /dev/dsk/c0t... and again /dev/dsk/c0t... the other disk?
If yes, that could be the explanation of a missing space: it is mirrored!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 06:42 AM
тАО07-18-2000 06:42 AM
Re: Disk Space
I ran vgdisplay -v vg00, here is the output. I dont see any logical volumns other than lvol1..lvol9. Any suggestion?
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 39
VGDA 4
PE Size (Mbytes) 4
Total PE 1014
Alloc PE 700
Free PE 314
Total PVG 0
--- Logical volumes ---
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 100
Current LE 25
Allocated PE 50
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 128
Current LE 32
Allocated PE 64
Used PV 2
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 48
Current LE 12
Allocated PE 24
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 332
Current LE 83
Allocated PE 166
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 252
Current LE 63
Allocated PE 126
Used PV 2
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 320
Current LE 80
Allocated PE 160
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 50
Allocated PE 100
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 20
Current LE 5
Allocated PE 10
Used PV 2
Thank You.
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 06:48 AM
тАО07-18-2000 06:48 AM
Re: Disk Space
Please run lvlnboot -v and you may see that you have even the secondary boot dsik configured. Hei! You are in the best situation that ever could be!
If you need something else, just ask...
Cheers,
Antoanetta