Page 1 of 2

problem with B3 and deleting

Posted: 01 Aug 2011, 14:52
by mprs
When I delete files on the B3, it disappear from the box, but I dont get any free space. I tried to restart but it doesn't help. Wat to do?

EDIT: The status page says i have under 1GB left, but i just deleted around 80GB?

Regards
Martin Spliid

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 15:50
by Ubi
My gut feeling says your system reports free space on a different partition than the one you deleted data from... Can you SSH into the machine and run "df -h"?

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 16:12
by mprs
Says:


Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 2.4G 7.0G 26% /
tmpfs 252M 0 252M 0% /lib/init/rw
udev 10M 136K 9.9M 2% /dev
tmpfs 252M 4.0K 252M 1% /dev/shm
/dev/mapper/bubba-storage
1.8T 759G 972G 44% /home

But box says under 900MB free

Regards
Martin Spliid

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 16:31
by RandomUsername
According to that, you have 972 GB free on your data volume. Where was it saying you had less than a gig?

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 16:35
by mprs
When i Log in on the webinterface as an admin, it says under 900MB, under status

Regards
Martin Spliid

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 16:39
by RandomUsername
What result does

Code: Select all

du -hs /tmp 
give?

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 16:45
by mprs
12K /tmp

And "old" command gives:


root@b3:/home/mprs# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 2.4G 7.0G 26% /
tmpfs 252M 0 252M 0% /lib/init/rw
udev 10M 136K 9.9M 2% /dev
tmpfs 252M 4.0K 252M 1% /dev/shm
/dev/mapper/bubba-storage
1.8T 759G 972G 44% /home

Still under 1GB in status, in webinterface, even after restart?

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 17:08
by RandomUsername
Hmm. Just thinking, is it possible you've hit that bug where you don't have a swap space and that's what it's complaining about.

If you run

Code: Select all

top
at the top of the screen it will tell you how much swap space you have allocated and how much you have used. Hit Q to quit.

PS, anyone know a better way to see available swap space?

[EDIT]Yes, me!

Code: Select all

cat /proc/meminfo

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 17:18
by mprs
info:


root@b3:/home/mprs# cat /proc/meminfo
MemTotal: 515244 kB
MemFree: 233556 kB
Buffers: 16536 kB
Cached: 140388 kB
SwapCached: 0 kB
Active: 153872 kB
Inactive: 109348 kB
Active(anon): 106308 kB
Inactive(anon): 3980 kB
Active(file): 47564 kB
Inactive(file): 105368 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 1048572 kB
SwapFree: 1048572 kB
Dirty: 44 kB
Writeback: 0 kB
AnonPages: 106312 kB
Mapped: 31548 kB
Shmem: 3992 kB
Slab: 12100 kB
SReclaimable: 7928 kB
SUnreclaim: 4172 kB
KernelStack: 904 kB
PageTables: 2272 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1306192 kB
Committed_AS: 556392 kB
VmallocTotal: 491520 kB
VmallocUsed: 324 kB
VmallocChunk: 490636 kB

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 17:19
by RandomUsername
That's not it then. You haven't got any other devices connected to it have you? It's not a USB stick it's talking about or anything?

If not, then I'm out of ideas.

Re: problem with B3 and deleting

Posted: 01 Aug 2011, 17:21
by mprs
nope...:-( had obe, and canr delete itm event it is not there, under exented. Seemes like it is, but its not.

Re: problem with B3 and deleting

Posted: 02 Aug 2011, 02:47
by johannes
Thsi was interesting. Can you post a screenshot of the space report?

Re: problem with B3 and deleting

Posted: 02 Aug 2011, 03:27
by mprs
Here you go...

Re: problem with B3 and deleting

Posted: 02 Aug 2011, 03:51
by johannes
But this reports about 1 TB free, just as it should, right?

Re: problem with B3 and deleting

Posted: 02 Aug 2011, 03:58
by mprs
Wow, i will go back to bed.... :oops:

Work with IT on daily basis (windows) and can't read fucking MB's... :cry: