[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [linux-lvm] Beginner Questions



One last thing:

While your physical drive is said to be 1.5 GB, I think that is the
marketing GB (1E+30) and not engineering GB (2^30 Bytes).  Performing
the calculations using the info you've provided shows that there is
372.98 GB unaccounted for, not 500 GB as you've expected.

==========  ==========  ================================================
Block size	No blocks	                      Size		
==========  ==========  ================================================
  [KB]	  [KB]	    [KB]	          [MB]	        [GB]
==========  ==========  ================================================
 4,096 	 190,718 	 781,180,928 	 762,872.00 	 744.99 
 4,096 	 357,626 	 1,464,836,096 	 1,430,504.00 	 1,396.98 
==========  ==========  ================================================

(1396.98-1024) GB  = 372.98 GB.

-----Original Message-----
From: linux-lvm-bounces redhat com [mailto:linux-lvm-bounces redhat com]
On Behalf Of Joseph L. Casale
Sent: Monday, November 12, 2007 6:29 PM
To: 'LVM general discussion and development'
Subject: RE: [linux-lvm] Beginner Questions

Ok,
So when I do a pvdisplay and see "1024.00 GB / not usable 8192.00 EB"
that is misreported on both sides of the /?

Thanks everyone for all the guidance!

jlc

-----Original Message-----
From: linux-lvm-bounces redhat com [mailto:linux-lvm-bounces redhat com]
On Behalf Of Alasdair G Kergon
Sent: Monday, November 12, 2007 4:00 PM
To: LVM general discussion and development
Subject: Re: [linux-lvm] Beginner Questions

On Mon, Nov 12, 2007 at 03:48:27PM -0700, Joseph L. Casale wrote:
>   /dev/sdb1  iSCSI_dvr  lvm2 a-   744.99G 744.99G 745.00G
yQyVCe-tiS4-Ma1E-hilJ-niuG-KXL9-jkKVIk
>   /dev/sdc1  iSCSI_dvr  lvm2 a-     1.36T   1.36T   1.36T
PURHhY-Lo1T-5bif-HjGP-dP3o-NVTs-71ZKUm
> Disk /dev/sdc: 1499.9 GB, 1499998453760 bytes

This is what I see for a similar volume:

# pvs -v --units H
1.50T

# pvs -v --units h
1.36T

# pvs -v --units G
1500.00G

man page:

       --units hsbkmgtHKMGT
              All   sizes   are   output  in  these  units:
(h)uman-readable,
              (s)ectors,  (b)ytes,  (k)ilobytes,   (m)egabytes,
(g)igabytes,
              (t)erabytes.  Capitalise to use multiples of 1000 (S.I.)
instead
              of 1024.  Can also specify custom (u)nits e.g.  --units 3M

Alasdair
--
agk redhat com

_______________________________________________
linux-lvm mailing list
linux-lvm redhat com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
linux-lvm redhat com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]