Jump to content


Photo

Missing space on data.

- - - - -

  • Please log in to reply
6 replies to this topic

#1
targetbsp

targetbsp

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,017 posts
  • Gender:Male
  • Devices:Hudl 2, Blade V
Can someone help me understand something weird? Well it's weird to me as a Windows user. It might be something obvious to a Linux user - hence me asking!

I'm using Burstlams CM10 and have everything moved to an Ext partition with the included s2e.
But my free space on my data partition is 104 of 272MB
Using root explorer I've browsed every sub folder on /data and I'm either linked to my Ext partition (as shown by several hundred mb of free space) or the file sizes in the unlinked folders are of such insignificant size that they add up single digits of megabytes in total.

The missing space is about equivalent to the size of my dalvik cache but when I browse through to that it shows as linked to sd ext. And if i delete it from the ext partition, android sits and rebuilds it next boot so that's definitely where it is using it from.

So... does anyone knows where my missing space is? Not that it massively matters as I have redirected everything so I don't need the space anyway. It's just bugging me.

  • 0
My Blade site - includes vanilla KANGS's of CM7. Also available: modified GB Gapps with various market versions, mini ICS Gapps for 160mb system partitions and Flash for ARMv6
CM7 Blade changelog

#2
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade
you probably had a 104mb dalvik-cache before moving to s2e, and android is reading free space on the now unused /data partition rather than the directory /sd-ext/data whose mountpoint is /data

basically what s2e does is mount a directory (/sd-ext/data) where a partition (/data) should have been.

i bet if you deleted the dalvik-cache from the real /data partition, it wouldn't rebuild on next boot, and probably would report more free space just to confuse things!

  • 0

#3
targetbsp

targetbsp

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,017 posts
  • Gender:Male
  • Devices:Hudl 2, Blade V
But s2e appears to link subdirectories of /data rather than /data itself? You can individually choose what to move (apps, data, dalvik) and folders containing only small amounts of data aren't linked.
So I can browse the internal /data (as far as I can tell)
My best guess is also that there is a copy of my dalvik cache there. But I can't see it and nor can I logically see how it would exist. Windows for instance wouldn't allow me to have a link called dalvik-cache if a dalvik-cache folder already existed in data. Do Linux links work differently such that that would be possible in some way?

Edited by targetbsp, 12 September 2012 - 11:24 PM.

  • 0
My Blade site - includes vanilla KANGS's of CM7. Also available: modified GB Gapps with various market versions, mini ICS Gapps for 160mb system partitions and Flash for ARMv6
CM7 Blade changelog

#4
sej7278

sej7278

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,647 posts
  • Gender:Male
  • Devices:ZTE Blade

But s2e appears to link subdirectories of /data rather than /data itself? You can individually choose what to move (apps, data, dalvik) and folders containing only small amounts of data aren't linked.
So I can browse the internal /data (as far as I can tell)
My best guess is also that there is a copy of my dalvik cache there. But I can't see it and nor can I logically see how it would exist. Windows for instance wouldn't allow me to have a link called dalvik-cache if a dalvik-cache folder already existed in data. Do Linux links work differently such that that would be possible in some way?



you could have a /data/dalvik-cache on the actual partition with /sd-ext/dalvik-cache mounted over it, but can't really see how you'd see used space for the original partition then.

i've not linked anything other than /data/apps so not sure

  • 0

#5
targetbsp

targetbsp

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,017 posts
  • Gender:Male
  • Devices:Hudl 2, Blade V
So that would be possible then? That's what is confusing me, because that wouldn't be possible in Windows (I think??)

Now the question is, how do I get at it to delete it? S2E in CM10 won't let me unlink the dalvik-cache unlike the CM7 version.

When I click on dalvik cache in root explorer I see the used space for the sd ext partition, that's fine. The problem is that the used space for the data shows as low - with nothing visible in root explorer or in terminal emulator (with my limited knowledge of linux commands!) showing anything significant using it.

If it's possible for a folder to exist and then effectively be hidden away by being linked elsewhere whilst the original folders contents still exists wasting space then I would say that is the cause. I don't know for sure, but I suspect this happened during a rom upgrade rather than during the setup of S2E.

  • 0
My Blade site - includes vanilla KANGS's of CM7. Also available: modified GB Gapps with various market versions, mini ICS Gapps for 160mb system partitions and Flash for ARMv6
CM7 Blade changelog

#6
targetbsp

targetbsp

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,017 posts
  • Gender:Male
  • Devices:Hudl 2, Blade V
Ah ha! I think I have it. It's the app-asec folder. From the contents of this, I think it is copy protected apps. If I click through it, it shows the free space of my sd ext but my data space went down today by the size of prince of persia which is a game that ended up in that folder. And du from terminal emulator backs up that it is using a lot of data space.

I guess this is JB's new app protection thing? So my problem I guess is down to S2E not officially supporting CM10 yet and the version I have not handling that new feature. It still offers to move the empty app-private folder.

  • 0
My Blade site - includes vanilla KANGS's of CM7. Also available: modified GB Gapps with various market versions, mini ICS Gapps for 160mb system partitions and Flash for ARMv6
CM7 Blade changelog

#7
targetbsp

targetbsp

    Hardcore

  • MoDaCo Silver
  • PipPipPipPipPipPip
  • 4,017 posts
  • Gender:Male
  • Devices:Hudl 2, Blade V
Replacing S2E with a script that does mount the entirety of data rather than individual folders appears to have sorted things. Using Int2Ext now

  • 0
My Blade site - includes vanilla KANGS's of CM7. Also available: modified GB Gapps with various market versions, mini ICS Gapps for 160mb system partitions and Flash for ARMv6
CM7 Blade changelog




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users