Anyone having issues with whole directories becoming corrupted or even disappearing from your storage?
EDIT: Just noticed my LOST.DIR directory is 1.16GB! Every time I reboot, there are dozens of files in LOST.DIR again. Should I format my sdcard storage, or is this thing rapidly becoming trashed?
el_smurfo said:
Anyone having issues with whole directories becoming corrupted or even disappearing from your storage?
EDIT: Just noticed my LOST.DIR directory is 1.16GB! Every time I reboot, there are dozens of files in LOST.DIR again. Should I format my sdcard storage, or is this thing rapidly becoming trashed?
Click to expand...
Click to collapse
Just a bump and plea for folks to check their own SD for LOST.DIR. I often find on a reboot that entire clockwork backups, directories of ringtones, etc are missing and LOST.DIR is huge with files. I am carefully mounting and unmounting my storage when connected to PC, but copying files back and forth seems to be the problem.
Thanks for tip
More than a few have this issue--me included
Don't know if it is kernel related
I will soon try LeeDroid if problem persists, which is 1.78 EU. It was last Rom I ran with zero issues, buy wanted the TMO US one when it came out. All the roms run great barring this sdcard issue.
If I do and it works will post--I have a thread in Q&A on it also--
I do have a LOST.DIR, nothing in it yet though.
Might be similar to the LOST+FOUND dir on Linux where stuff found during a fsck after a crash or unclean unmount of a drive end up, http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html
Here is an xda thread on your problem, seems decently well researched: http://forum.xda-developers.com/showthread.php?t=1075910
frdd said:
I do have a LOST.DIR, nothing in it yet though.
Might be similar to the LOST+FOUND dir on Linux where stuff found during a fsck after a crash or unclean unmount of a drive end up, http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/lostfound.html
Here is an xda thread on your problem, seems decently well researched: http://forum.xda-developers.com/showthread.php?t=1075910
Click to expand...
Click to collapse
Yup, that's the problem. Since he was complaining about Froyo, I'm guessing it's not a software problem and is actually a bad "sdcard". I've gotten so used to having files corrupted, I pretty much store everything on cloud services now, so I guess it's training me for the future.
Related
Does anyone have any ideas what is going on in the root of my Storage Card? (See pic)
Lots of oddly named files have appeared. They cant be renamed, deleted or opened from within either my PPC, via activesink or with a card reader in my XP PC. The dates are very odd too.
I am currently copying all the data off the card so I can format it but was wondering if anyone else has seen this or if they know where they are coming from?
Any info gratefully received!
I got the same problem, but in my camera folder. Same kind of non-sense files appeared and caused my album software to malfunction.
Re-named the folder and created a new "original" and moved my photos there. Everything is working now and I didn't have to format the whole card.
But I too are curious as to why they get created and if there is a clever way to get them removed
fixed
xp's disk error tool fixd it so i guess its just coruption in fat. problem solved but cause not found.
I had the same problem coused by removing my card without closing my phone. Now I shut down the system first and than remove the card.
So, I just tired a quick test, moving my cache files to the /dev partition. Has anyone else thought of this, or tried it? So far, it looks good. It is much more responsive then having them on my sdcard, and allows the swapping of sdcards with no concerns over having inconsistent cache files.
My thought was to try putting the whole /data/data directory into /dev/data, but I do not have time to test this yet. Any thoughts on this?
I created my /dev/data directory, and chown'd it so it could be written to. Pushed my /cache files over (already had them on sdcard), re-created my symbolic links. Cleared the browser cache files, opened up the browser, and verified that it could properly write to the new location. It may be a placebo effect, but I swear the page loaded quicker (shouldn't it? the internal flash memory has to be faster than my class 6 SD card - right?).
So, what do you think about this? I am going to leave it like this for a little while, and when I have time (this weekend maybe) try testing moving the whole /data/data directory over (of course after creating a full nandroid backup just in case). I will update this post when I attempt the full transition.
Does anyone know of any reasons I should not try this? Is the /dev partition something I should not be using?
Found the reason, /dev/data was removed upon reboot. Failure.
Thanks for reading.
No wonder it was fast. It is created in the RAM as tmpfs.
Wonder if there is a way to re-create the directories upon reboot, or maybe I should try using the /cache partition? Oh well, it was worth a shot eh?
I know this issue has been more or less beat to death, trust me one google search proves that. and after 2 1/2 days searching and researching I have come up with an idea to rid us of this limited application space problem once and for all. At this point I am stuck realizing that android doesn't use an fstab file like any ol' standard linux install....so what's the android equivalent?
a little explaination....
I came across a solution used on another phone where via a custom rom someone was able simply hardlink /data/app, /system/media, etc... to a copy stored on a ext2/3/4 partition on the sd card, I guessed roughly 2~3 gb of space would be sufficient. I created the partition, copied the folders, and just before I was going to start hardlinking things, I realized I had to manually mount the ext2 partition, it wasn't done automatically, and therefore won't be done at boot. So...this is where I'm stuck. if I could figure out how to get the ext2 partition to mount at boot then problem solved
Any thoughts, suggestions, ideas, etc would be appreciated. I apologize in advance if I may have missed something someone may seem as "obvious"....I've been at this for over 2 days reading more webpages than I care to recount and quite frankly my brain is fried.....so please keep the "flaming" to a minimum...
dude just overwrite the FOTA files and it will free up 250mb.
Are you sure you searched these forums? It's in the dev section.
did the fota fix, got about 290mb free (already done before I posted this). call me greedy but ~300 mb just seems not quite enough.....my solution sounds simple enough if I could only fix that blasted mount on boot issue....
as for searching, I apologize but I viewed so many pages yesterday that I couldn't possibly list them all, but fota was one of them and already done.....I'm looking for a more permanent solution (assuming that ota updates will become available for this phone before it becomes obsolete)
Wouldn't that have to be a script initiated by the kernel? I could be way off, but it seems like thats how they fixed the problem with the G1 app mem issue using cm. You might read on cm+G1. Like the way your thinking though!
Check THIS out. I think it's along the right lines, if it could be ported.
Not sure what you think needs more than a few hundred MB in the "real" mount of /data.
Several ways you can install other apps on the SD card, both native using package manager (pm), as well as using tools like app2sd without a custom kernel and boot sequence.
I know that LG chose to have this stupid method of utilizing there internal memory and naming it (sdcard) and then making our ACTUAL sdcards (_ExternalSD), but I'm getting super annoyed at the issues that are occurring due to this ridiculous method of partitioning.
Main Issues:
> Apps not looking at the correct place
> ROM manager only able to access ACTUAL sdcard but things are put in "sdcard" not _EXTERNALSD
> Files don't transfer between the two places (sdcard v _EXTERNALSD)
This is just a big cluster F#$*.
Does anyone know if there is a way to partition the "sdcard" internal phone memory and make the ACTUAL sdcard used the way it is on other phones?
I found a temporary solution. If you go into X app, X being whichever app uses storage or the ACTUAL sdcard, you can switch the storage to sdcard instead of phone.
Apps that have option:
> Browser (stock)
> Titanium Backup
> Camera App (stock)
I thought it was just me.. but i hate this implementation. This is my first phone having built in storage and I actually thought that was the way it was supposed to work.. and thought it was pretty lame. So when I switched to a CM7 rom.. i was totally thrown. LOL. but I agree. the whole "_External..." thing is lame..
DOPE phone otherwise tho.
Not a big deal for me
Sent from my LG-P999 using Tapatalk
It really is highly annoying. Especially since I am coming from an HTC Inc.
I don't know what genius thought this was a good idea.
I agree and also think its cause some of the issues when loading rom's back and forth with CWM
As you can see from my sig, I've been almost exclusively HTC and this was a super weird thing for me to get used to. I'll flash CM7 once it's RC or stable, just because of this.
hekticpr21 said:
As you can see from my sig, I've been almost exclusively HTC and this was a super weird thing for me to get used to. I'll flash CM7 once it's RC or stable, just because of this.
Click to expand...
Click to collapse
ditto.. i've always love htc hardware man. quality stuff. I came off of a G2 and bought this thinking it would be a big step up (you know.. dual cores n all).. it's an incremental update with some drawbacks. don't get me wrong.. i like the g2x.. but it has some flaws. meh. I'm here now... nothing I can do about it.. cuz i'm certainly NOT going to sell it to go back to the g2 just for netflix when the future of smartphones is clearly headed the g2x direction.
I also agree...it isn't a deal breaker, but it certainly is a strange approach.
I can only assume they wanted the internal storage to be the "main" and any external just to be extra space that the phone wasn't dependent on.
the GOOD thing about it is that is doesn't wipe when you format the phone.. the bad thing is... you can't get to it in CWM
I haven't fought with CWM, but how is this different than other Android phones?
My G1 had nothing, so no issue. But, the Vibrant did essentially the same thing - it had a different naming structure, but the effect was the same.
-bZj
down8 said:
I haven't fought with CWM, but how is this different than other Android phones?
My G1 had nothing, so no issue. But, the Vibrant did essentially the same thing - it had a different naming structure, but the effect was the same.
-bZj
Click to expand...
Click to collapse
On my HTC Inc., they were completely separate. The external SD card's path was not through the internal. When you downloaded an app., all files for that app. went on the external SD card and not on the internal. It left the internal clean for music, photos and videos.
has anyone figured out an appropriate method of sorting this out,
i have a few apps which rely on content that is stored on my actual sd card about 10gb of content, but the internal memory takes the /sdcard ,, while the sd card is /sdcard/ext this is so aggravating, are there any customs build which target this?
I am having issues with this as well. When I boot into CWM to flash a kernel for example CWM only sees what is on the External SD not the internal so I have to transfer kernels that I have downloaded on the phone to my extern SD. The only problem is every time I try and copy and paste something from sdcard to External SD Astro tells me there was a ' move error' and I am unable to move anything....
anyone have this problem?
Make sure you are copying and not cutting (moving). Android doesn't like to move things between file systems.
I recently lost a lot of the data on my external SD card after restoring a CWM 6 backup from the external card. Several folders have had the first letter of their name replaced with μ (mu), the rest capitalized, and contents emptied, others are simply missing. For example "μOWNLOAD." Sadly my clockworkmod folder has become an empty "µLOCKW~1," and I had 3 backups included, most importantly my stock root backup.
I noticed that my LOST.DIR folder had 259 new random number files and is nearly 4 GB, suggesting that the files are stuck in there, but I have no idea how to figure out what is what or even if it is possible to save any of them. I tried the suggestion posted here, but nothing in the clockwork folder was found. I can pick out what I think are the 3 pairs of "system.ext4.tar.a" and "data.ext4.tar.a" files based on them being several megabytes larger than everything else, but I have no idea how to separate them or how to pick out the right "boot.img", "recovery.img", and "cache.ext4.tar.a." I'm assuming that I don't need "cache.ext4.tar,"data.ext4.tar," and "system.ext4.tar," because they all show 0 bytes in the new backup that I made on the internal card.
Does anyone have any ideas on how I might be able to save the backup?
EDIT: Also is it "safer" to keep important things on my internal or external card? I kept all of my backups on the external card specifically to avoid something like this happening during a flash or at some other time, but googling tell me that several people have had seemingly random issues with SD cards and the S3.
From my experience everything in the lost. Dir gets its file extension stripped. I had this happen to my music folder and I had to change all the files to mp3. It may be more of a pain than its worth to change every file back. And because there not all the same type who knows what file is suppose to be what
I would move any data off and reformat the card
Sent from my SCH-I535 using xda premium
I had everything of import other than nandroids backed up offsite so the remaining data doesn't matter, and I expect that everything is gone, but no harm in trying.
Also, if you ever need to rename a lot of files at once again, you might want to try File Renamer Basic, it is extremely useful for batch operations like that.
Yea I just used the command line built into windows. I was surprised it had the option to do it. Ever since they stopped basing windows off Dos they got rid of some commands. I thought I was gonna have to get a live version of linux. But if there isn't anything wrong with the current rom I would just make a new backup. Format the card first before you move anything back on it
Sent from my SCH-I535 using xda premium
I was having terrible battery drain when first got the phone, took out my SD-Card and now get nearly 5-6 hours screen on time!
I don't know if it was the SD-Card or the new modem/rpm (I'm still on the OTA ICS one)
but for me I use google play and I keep a copy of all my nandroids on my computer for safe keeping. and keep only the ones I need recently on the internal, and I have plenty of space left, so for me it was better to just keep the SD-Card out, it was making it hard to choose to put on sd-card or internal LOL
Maybe I've been lucky, but coming from the Droid 2 the battery life on this seems amazing (CleanROM), I have had the external card in since I bought it however.
I was mainly worried about stability issues, mainly I was always worried that a factory reset or changing roms would affect the internal card, so it would be safer to keep things on the external card.
I'm sorry if i have mistakes in this text . i'm persian . i don't know english well/
I have a solution for this problem:
I've lost my data twice. first time i thought that it is virus so i format my SD card .
this time I LOST some important data therefore i tried to get them back.
I noticed that LOST.DIR is included my data.
I connect my phone to PC (galaxy s4) then i copied all LOST.DIR files in to my PC.
then i opened one of them with windows photo viewer. ( right click -> open -> choose windows photo viwer) then i saw one of me missing photos (luckly).
however it will take a long time to take back all of your missing photos but still you will get it.
(sorry for mistakes)