DmitryMyadzelets / inxi

Automatically exported from code.google.com/p/inxi
0 stars 0 forks source link

HDD Total Size: 1572.3GB (154.1% used) #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please paste your inxi output below.
Host: siductionramme Kernel: 3.7-1.agaida-siductionexp-amd64 x86_64 (64 bit) 
Desktop: Xfce 4.10.2 Distro: siduction 12.1.1 Desperado - kde - (201206012135)
Processes: 198 Uptime: 17:49 Memory: 1353.8/32180.7MB Client: Shell (bash) 
inxi: 1.8.45 

Please paste your 'cat /proc/cpuinfo' output below.
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 4
model name  : AMD Phenom(tm) II X4 965 Processor
stepping    : 2
microcode   : 0x10000db
cpu MHz     : 3616.486
cache size  : 512 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 4
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 
3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor 
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips    : 7232.97
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor   : 1
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 4
model name  : AMD Phenom(tm) II X4 965 Processor
stepping    : 2
microcode   : 0x10000db
cpu MHz     : 3616.486
cache size  : 512 KB
physical id : 0
siblings    : 4
core id     : 1
cpu cores   : 4
apicid      : 1
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 
3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor 
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips    : 7232.97
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor   : 2
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 4
model name  : AMD Phenom(tm) II X4 965 Processor
stepping    : 2
microcode   : 0x10000db
cpu MHz     : 3616.486
cache size  : 512 KB
physical id : 0
siblings    : 4
core id     : 2
cpu cores   : 4
apicid      : 2
initial apicid  : 2
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 
3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor 
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips    : 7232.97
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor   : 3
vendor_id   : AuthenticAMD
cpu family  : 16
model       : 4
model name  : AMD Phenom(tm) II X4 965 Processor
stepping    : 2
microcode   : 0x10000db
cpu MHz     : 3616.486
cache size  : 512 KB
physical id : 0
siblings    : 4
core id     : 3
cpu cores   : 4
apicid      : 3
initial apicid  : 3
fpu     : yes
fpu_exception   : yes
cpuid level : 5
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 
3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor 
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 
3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips    : 7232.97
TLB size    : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

please paste your 'cat /proc/meminfo' output below.
MemTotal:       32953056 kB
MemFree:        26055512 kB
Buffers:          773428 kB
Cached:          4661376 kB
SwapCached:            0 kB
Active:          3899840 kB
Inactive:        2318384 kB
Active(anon):     791192 kB
Inactive(anon):    18236 kB
Active(file):    3108648 kB
Inactive(file):  2300148 kB
Unevictable:          20 kB
Mlocked:              20 kB
SwapTotal:      40342524 kB
SwapFree:       40342524 kB
Dirty:               284 kB
Writeback:             0 kB
AnonPages:        783520 kB
Mapped:           145584 kB
Shmem:             26012 kB
Slab:             522404 kB
SReclaimable:     495428 kB
SUnreclaim:        26976 kB
KernelStack:        3088 kB
PageTables:        21868 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    56819052 kB
Committed_AS:    2280028 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      398864 kB
VmallocChunk:   34359333372 kB
HardwareCorrupted:     0 kB
AnonHugePages:    231424 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      148352 kB
DirectMap2M:     6139904 kB
DirectMap1G:    27262976 kB

please paste your 'sensors' output below.
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +20.5°C  (high = +70.0°C)
                       (crit = +70.0°C, hyst = +68.0°C)

it8720-isa-0228
Adapter: ISA adapter
in0:          +1.42 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +1.62 V  (min =  +0.00 V, max =  +4.08 V)
in2:          +3.33 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +2.99 V  (min =  +0.00 V, max =  +4.08 V)
in4:          +3.12 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +2.80 V  (min =  +0.00 V, max =  +4.08 V)
in6:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)
5VSB:         +2.16 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:         +3.33 V  
fan1:         864 RPM  (min =    0 RPM)
fan2:         597 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
fan5:           0 RPM  (min =    0 RPM)
temp1:        +40.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = 
thermistor
temp2:        +43.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal 
diode
temp3:        +42.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = 
thermistor
cpu0_vid:    +1.050 V
intrusion0:  ALARM

Original issue reported on code.google.com by info.gcom.eu on 21 Apr 2013 at 4:03

GoogleCodeExporter commented 9 years ago
inxi -D
Drives:    HDD Total Size: 1572.3GB (154.1% used) 1: id: /dev/sda model: OCZ 
size: 60.0GB 
           2: id: /dev/sdb model: Samsung_SSD_840 size: 256.1GB 3: id: /dev/sdc model: Samsung_SSD_840 size: 256.1GB 
           4: id: /dev/sdd model: SAMSUNG_HD103SJ size: 1000.2GB 

Original comment by info.gcom.eu on 21 Apr 2013 at 4:04

GoogleCodeExporter commented 9 years ago
I'll need to see the full debugging output, run: inxi -xx@ 14

so it will upload all required data for debugging.

I'm not sure how you can get so much information on your hard drives, must be 
some type of ultracompression, heh.

Hopefully it's a basic error, but the data files will show it, I hope anyway.

Original comment by inxi-...@techpatterns.com on 22 Apr 2013 at 3:31

GoogleCodeExporter commented 9 years ago
done

Original comment by info.gcom.eu on 3 May 2013 at 2:53

GoogleCodeExporter commented 9 years ago
this issue is caused by the use of bind mounts. inxi simply has no handling 
built in for bind mounts, this is also the first time I have ever seen that 
used on a system.

I won't call this a bug, rather more like a new feature added to support 
something that has never been handled before.

What's happening is obvious, each bind mounted partition is being counted in 
the total. But df does not show bind in the data for each mount, so I can't 
filter it out of the results. 

A more complex clean up loop maybe could handle it by picking the first 
instance of a partition in df maybe. Right now the logic is very simple, simply 
add the capacity of each partition found in df output. I can't block lines 
easily by searching for bind because df does not seem to refer to bind stuff.

So what would have to happen to cover your niche case would be to also keep 
track of the partitions the mounts go to, and then on each line, check that the 
same partition has not been used before. Not hugely hard I believe a simple 
regex chain should cover it, we'll see.

Original comment by inxi-...@techpatterns.com on 3 May 2013 at 8:41

GoogleCodeExporter commented 9 years ago
This issue is fixed in 1.8.46, but only relative to disk use totals. I did a 
simply hack of concatenating with markers all the partitions used out of df 
output, and if a partition has already appeared it's not used again to figure 
out the disk space used data.

I am going to leave this issue up however because since I'd never seen or heard 
of mount binds, it might be nice to have the partition output show which 
partitions use bind if they do, but that's a feature request I'm making myself 
for future reference, but it takes more work to do that since partition data is 
more difficult to work with.

I'm marking this 'started' but it's actually done, I just want the issue to 
stay listed in the main listing so I don't forget it.

Original comment by inxi-...@techpatterns.com on 3 May 2013 at 9:01