Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: Mysterious LVM issue
- Date: Thu, 12 Mar 2009 17:57:07 +0900
- From: John Fremlin <john@example.com>
- Subject: [tlug] Re: Mysterious LVM issue
- References: <49B789EA.1050404@stoicviking.net> <49B7D8D6.6060605@stoicviking.net>
- User-agent: Thunderbird 2.0.0.19 (X11/20090103)
Birkir A. Barkarson wrote: > The crazy values after that must be some kind of bug, as Francois noted. > The 232GB reported doesn't add up no matter how you look at it. That is certainly mysterious. It had me wondering. However, look at your df logs in detail. Here is the one with the insane 232 GB birkirb@example.com df -h Filesystem Size Used Avail Use% Mounted on /dev/hda2 11G 1.2G 8.9G 12% / tmpfs 66M 0 66M 0% /lib/init/rw udev 11M 66k 11M 1% /dev tmpfs 66M 0 66M 0% /dev/shm /dev/hda1 104M 16M 83M 16% /boot /dev/mapper/america_main-store 232G 230G 0 100% /srv /dev/mapper/america_main-home 983M 25M 909M 3% /home /dev/mapper/america_main-local 3.0G 473M 2.4G 17% /usr/local and here is the next one with the normal values <deleted about 8GB of stuff> birkirb@example.com df -h Filesystem Size Used Avail Use% Mounted on /dev/hda2 9.9G 1.1G 8.3G 12% / tmpfs 62M 0 62M 0% /lib/init/rw udev 10M 64K 10M 1% /dev tmpfs 62M 0 62M 0% /dev/shm /dev/hda1 99M 15M 79M 16% /boot /dev/mapper/america_main-store 216G 211G 0 100% /srv /dev/mapper/america_main-home 938M 24M 867M 3% /home /dev/mapper/america_main-local 2.8G 451M 2.2G 17% /usr/local In the one with the 232GB value all the other disks have bigger values too. In fact 232*(1000^3) = 232000000000 216*(1024^3) = 231928233984 So the first one seems to have been done with base 1000 and the others with base 1024 This is an option to df --block-size= Can you explain how this happened? ;-)
- Follow-Ups:
- Re: [tlug] Re: Mysterious LVM issue
- From: Birkir A. Barkarson
- References:
- [tlug] Mysterious LVM issue
- From: Birkir A. Barkarson
- [tlug] Re: Mysterious LVM issue
- From: Birkir A. Barkarson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Flash and Firexfox 2
- Next by Date: Re: [tlug] Re: Mysterious LVM issue
- Previous by thread: [tlug] Re: Mysterious LVM issue
- Next by thread: Re: [tlug] Re: Mysterious LVM issue
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links