- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Total 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
02-04-2003 05:26 AM
02-04-2003 05:26 AM
Total disk size
PV Name,PE Size(MB),Allocated PE,FreePE,TotalPE
/dev/dsk/c1t2d0 4 2419 1921 4340
/dev/dsk/c2t2d0 4 2419 1921 4340
Total 4838 3842 8680
respectively.
Total available disk space is 34720MB (2*18GB disks) for VG00.
Is the above is correct or not.If not please give me right answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 05:28 AM
02-04-2003 05:28 AM
Re: Total disk size
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 05:30 AM
02-04-2003 05:30 AM
Re: Total disk size
It is fairly easy to calculate as all your disks are calculated in PE.
So whatever PE you are calculating will be
PE Size * 1024 * PE (all, Free, or Total) = Size in MB
so in this case
you have 4 * 1024 * 1921 = 7868 MB Free for one disk
so 7868 * 2 disks = 15736 MB Free
If it's total, you're looking at 35553 MB Total.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 05:32 AM
02-04-2003 05:32 AM
Re: Total disk size
# diskinfo /dev/rdsk/c1t6d0
SCSI describe of /dev/rdsk/c1t6d0:
vendor: SEAGATE
product id: ST318203LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
If you do the math, 4340 4MB extents works out to 17776640 bytes. The rest is overhead.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 06:42 AM
02-04-2003 06:42 AM
Re: Total disk size
from your post,
Tota PE in each disk is 4340
i.e
4*1024*4340 = 17776640 MB (size of each disk)
used (allocated)size in each disk
4*1024*2419 = 9908224 MB
remaining size in each disk
1776640-9908224=7868416 MB
total remaining size in vg00
2*7868416= 15736832MB
i.e 15.73GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 07:15 AM
02-04-2003 07:15 AM
Re: Total disk size
diskinfo /dev/dsk/c1t2d0
diskinfo /dev/dsk/c2t2d0
should tell you a lot as well. Make sure that if the VG is mirrored you can actualy use only the half of it :)
Another easy way is :
vgdisplay vg00 :
<-- knip -->
Cur PV 2 (Mirrored !!)
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 4338 (* 4 (PE Size) /2 mirrors= total amount)
Alloc PE 4246
Free PE 92 (* 4(PE Size) /2 = total free in Mb)
<-- knip -->
Regs David