- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to Calculate Total of Free and Used Hard Disk ...
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
03-09-2005 02:16 PM
03-09-2005 02:16 PM
How to Calculate Total of Free and Used Hard Disk on Mirror System
I am a newbie in hpux environment, if I run bdf on my system, it appears like following:
#bdf /u02
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol2 35831808 10567464 25067040 30% /u02
This lv if I see with sam, it looks like this
LV VG Type Use TotMB Mir Mount
lvol2 vg01 LVM VxFS 34992 1 /u02
This lv using two h/w pathes:
0/0/8/0/0.8.0.255.0.0.0
1/0/8/0/0.8.0.255.1.0.0 34992
Why does it appear only 34992 MB in bdf?
Why doesn't it appear 2x 34992 MB in bdf?
Any explanation will be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 02:34 PM
03-09-2005 02:34 PM
Re: How to Calculate Total of Free and Used Hard Disk on Mirror System
Does that make sense?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 02:42 PM
03-09-2005 02:42 PM
Re: How to Calculate Total of Free and Used Hard Disk on Mirror System
With mirroring you are having two or more copy of same data. So with a logical volume mirrored and size 34992MB even though you are using 34992MB space from two disks but actual usable size will be only 34992MB. So both lvdisplay and bdf command will report actual usable size.
If you want to see size used on each disk for /u02 volume do
#lvdisplay -v /dev/vg01/lvol2
And look for these information.
Mirror copies 1
LV Size (Mbytes) 140
Current LE 35
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c?t?d? 35 35
/dev/dsk/c?t?d? 35 35
Here you can notice that Mirror Copies are 1 that means it is mirrored. Size is 140MB and each LE size is 4MB(140/35). So you are using 140MB space on each disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 04:27 PM
03-09-2005 04:27 PM
Re: How to Calculate Total of Free and Used Hard Disk on Mirror System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 05:36 PM
03-09-2005 05:36 PM
Re: How to Calculate Total of Free and Used Hard Disk on Mirror System
Don't exactly understand what your last question was.....but if you want to find out or see disks that are free...may be
#lspv
rgds
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 07:21 PM
03-09-2005 07:21 PM
Re: How to Calculate Total of Free and Used Hard Disk on Mirror System
to see which disks are used by VG 's
you can use
# strings /etc/lvmtab
(do not use the more command on /etc/lvmtab as it is a binairy file)
regards.
Henk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 07:38 PM
03-09-2005 07:38 PM
Re: How to Calculate Total of Free and Used Hard Disk on Mirror System
answering your follow-up question.
I assume you are looking for extra space on your machine.
If you look in sam ->Disks and File Systems ->Disk Devices it will show unused disks.
Regards