- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk size
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
09-17-2008 07:49 AM
09-17-2008 07:49 AM
first please forgive me if I come up with stupid questions but I'm not an HP-UX professional.
My question is this: how can I find out what's the size of the HDD(s) in HP-UX and how much of the HDD(s) is empty. I tried the "df" command and this is the result:
root:/ df
/archive (/dev/vg00/lvol11 ): 1715424 blocks 228704 i-nodes
/db01 (/dev/vg01/lvol1 ): 5790542 blocks 772055 i-nodes
/db02 (/dev/vg01/lvol2 ): 3448022 blocks 459716 i-nodes
/db03 (/dev/vg01/lvol3 ): 4315920 blocks 575436 i-nodes
/db04 (/dev/vg01/lvol5 ): 9892158 blocks 1315951 i-nodes
/db05 (/dev/vg01/lvol6 ): 5821336 blocks 776157 i-nodes
/home (/dev/vg00/lvol7 ): 575858 blocks 76755 i-nodes
/hometest (/dev/vg01/lvol10 ): 540884 blocks 72113 i-nodes
/opt (/dev/vg00/lvol8 ): 1309766 blocks 174618 i-nodes
/tmp (/dev/vg00/lvol4 ): 929632 blocks 14628 i-nodes
/users (/dev/vg01/lvol7 ): 2966788 blocks 395533 i-nodes
/usr/oracle (/dev/vg00/lvol10 ): 691394 blocks 92143 i-nodes
/usr (/dev/vg00/lvol5 ): 2408944 blocks 37921 i-nodes
/var (/dev/vg00/lvol9 ): 7136512 blocks 112361 i-nodes
/stand (/dev/vg00/lvol1 ): 801632 blocks 53201 i-nodes
/ (/dev/vg00/lvol3 ): 939392 blocks 14775 i-nodes
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:14 AM
09-17-2008 08:14 AM
Re: Disk size
To see disks in groups use:
#vgdisplay -v vg00 (or vg01)
to check logical volume size:
lvdisplay -v /dev/vg00/lvol1 (for example).
Check with bdf or in /etc/fstab where are mounted all logocal volumes.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:31 AM
09-17-2008 08:31 AM
Re: Disk size
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4185
Free PE 155
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 500
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 250
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 375
Used PV 1
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 4596
Current LE 1149
Allocated PE 1149
Used PV 1
LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c1t6d0
PV Status available
Total PE 4340
Free PE 155
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:32 AM
09-17-2008 08:32 AM
Re: Disk size
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 125 125
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c1t6d0 00000 current
00001 /dev/dsk/c1t6d0 00001 current
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:34 AM
09-17-2008 08:34 AM
Re: Disk size
"Check with bdf or in /etc/fstab where are mounted all logocal volumes" (??!!)
Not sure :(( what you mean ... please explain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:38 AM
09-17-2008 08:38 AM
Re: Disk size
As you have two vg, issue "vgdisplay -v vg00" and "vgdisplay -v vg01".
According to what you sent, the first disk size is 4340 PE, with a PE size of 4MB. So the disk is 18GB (real 17GB). Do the same with VG01 to know the others.
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:49 AM
09-17-2008 08:49 AM
Re: Disk size
a) 4,340 x 4 = 17.36 Gb
b) 19,610 x 4 = 78.44 Gb
Correct?
And the free Gb using the same logic ("Free PE" in this case" would be:
a) 155 x 4 = 0.62 Gb
b) 5,879 x 4 = 23.56 Gb
Correct?
root:/ vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 19614
VGDA 2
PE Size (Mbytes) 4
Total PE 19610
Alloc PE 13731
Free PE 5879
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:52 AM
09-17-2008 08:52 AM
Re: Disk size
BUT, to see how much free space you have in your FILESYSTEMS, issue the 'bdf' command.
The space free on each disk is what is left that CAN BE ASSIGNED to a logical volume. It has nothing to do with how much space is available in each LV/filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:54 AM
09-17-2008 08:54 AM
Re: Disk size
# diskinfo /dev/rdsk/c1t6d0
Note, that /rdsk/ instead of dsk devices are used.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 08:59 AM
09-17-2008 08:59 AM
Re: Disk size
root:/ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 512000 38672 469696 8% /
/dev/vg00/lvol1 491952 41936 400816 9% /stand
/dev/vg00/lvol9 4706304 1110056 3568264 24% /var
/dev/vg00/lvol5 2048000 834072 1204472 41% /usr
/dev/vg00/lvol10 1536000 1167424 345697 77% /usr/oracle
/dev/vg01/lvol7 3276800 1695896 1482241 53% /users
/dev/vg00/lvol4 512000 43568 464816 9% /tmp
/dev/vg00/lvol8 1048576 350103 654883 35% /opt
/dev/vg01/lvol10 1048576 760120 270442 74% /hometest
/dev/vg00/lvol7 1024000 716968 287931 71% /home
/dev/vg01/lvol6 5120000 2015357 2910668 41% /db05
/dev/vg01/lvol5 8192000 2928185 4946079 37% /db04
/dev/vg01/lvol3 7168000 4866242 2157960 69% /db03
/dev/vg01/lvol2 7168000 5329121 1724011 76% /db02
/dev/vg01/lvol1 7168000 4079776 2895271 58% /db01
/dev/vg00/lvol11 1048576 120305 870321 12% /archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 09:04 AM
09-17-2008 09:04 AM
Re: Disk size
- I have a second Unix box machine almost identical
- I want to assign a fix IP address to the second machine (without to connect this to the network because right now I don't know the second Unix box IP)
- connect it to the network
- change the existing HDD(s) of the second machine to bigger HDD(s), right now they are very small
- add a tape backup device to the second machine (doesn't have one now)
- be able to take the backup tape from the first Unix box (backup that ran overnight) and recover everything to the second Unix box
-------------------------
So at the end I have a 100% backup strategy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 10:00 AM
09-17-2008 10:00 AM
SolutionSee more documentation at docs.hp.com about Ignite.
In general look for make_tape_recovery.
If you want to make a complete system backup calculate the size of all used space in both volume groups and choise a bigger device/tape.
And after all take a look here about point system - http://forums11.itrc.hp.com/service/forums/helptips.do?#33
regards,
ivan