1 |
On Wed, February 29, 2012 8:10 am, Dale wrote: |
2 |
> Neil Bothwick wrote: |
3 |
>> On Tue, 28 Feb 2012 20:38:13 -0600, Dale wrote: |
4 |
>> |
5 |
>>> tune2fs -m 1 /dev/data/data1 |
6 |
>>> |
7 |
>>> Which is where the ext4 file system is on the LVM. After I run that |
8 |
>>> then I can expand LVM from there, I hope it works that easy. |
9 |
>> |
10 |
>> It does. |
11 |
>> |
12 |
>> |
13 |
> |
14 |
> |
15 |
> Apparently I am missing something then. I looked at cfdisk for the |
16 |
> drive. It reported right at 750Gb as it should with the change. Thing |
17 |
> is, I can't get anything else to add it or to even show it is available. |
18 |
> Some results somewhat shortened: |
19 |
> |
20 |
> From cfdisk |
21 |
> |
22 |
> 750156.38Mb |
23 |
> |
24 |
> root@fireball / # pvs |
25 |
> PV VG Fmt Attr PSize PFree |
26 |
> /dev/sdc1 data lvm2 a-- 698.63g 0 |
27 |
> root@fireball / # vgs |
28 |
> VG #PV #LV #SN Attr VSize VFree |
29 |
> data 1 1 0 wz--n- 698.63g 0 |
30 |
> root@fireball / # lvs |
31 |
> LV VG Attr LSize Origin Snap% Move Log Copy% Convert |
32 |
> data1 data -wi-ao 698.63g |
33 |
> root@fireball / # |
34 |
> |
35 |
> |
36 |
> So, cfdisk is happy with the change but nothing else seems to see it. |
37 |
> What am I missing here? Where did the 50Gbs go to? |
38 |
> |
39 |
> Dale |
40 |
|
41 |
What you're missing here is the fact that different tools report the sizes |
42 |
differently. |
43 |
Look into the difference between "GiB" and "GB": |
44 |
|
45 |
http://en.wikipedia.org/wiki/Mebibyte |
46 |
|
47 |
you have: |
48 |
750156.38 MiB = |
49 |
750156380 KiB = |
50 |
750156380000 B = |
51 |
732574589.8 KB = |
52 |
715404.87 MB = |
53 |
698.63 GB |
54 |
|
55 |
(with the "i" the factor is 1000, without it, the factor is 1024) |
56 |
|
57 |
HTH, |
58 |
|
59 |
Joost |