[Q] No space left on device on NTFS External card - Android Q&A, Help & Troubleshooting

Hi Everyone,
I need to synchronize a folder with more than 70,000 files on a external MicroSD of a tablet Mediacom Smart Pad 860 S2 M-MP860S2 with Android 4.0 ICS, root permissions and original ROM.
The files are images, the source is a folder on a web server that hosts an ecommerce, the destination folder is on the external MicroSD.
Because the structure of the site is not possible to divide the content into subfolders with fewer files.
The external microSD is formatted NTFS to overcome the problem of the limit number of files in one single folder on the FAT32 file system, the internal memory is formatted FAT32 instead.
To format and mount the MicroSD external I use "Paragon exFAT, NTFS & HFS +"
To synchronize I use a shell script with the app "Rsync Backup for Android", the system works well on other folders with fewer files.
The problem is the folder with more than 70,000 files, from rsync I get the error "No space left on device (28)" of course there is the space, currently occupied 1.5 GB of 4 GB total.
I apologize for bad English.
Thanks in advance to all those who will kindly help me.

Related

[Q] Adding a SDcard

I've been using my Archos 101 for a while, both with stock Android and UrukDroid. I've got internal 16GB memory.
Now I've bought a 16GB SDcard. I assume that, when I put it in the A101, my current user data will no longer be available.
What is the best procedure to copy the current user data to the SDcard?
You seem to have gotten something wrong.
If you install a sd card the memory is added to the internal.
In the std Fileexplorer you find it on the top, in others in /sdcard/sdcard
That sounds to easy to be true.
Without SDcard, the apps store their data in /mnt/storage (symlinks: /storage and /sdcard), which is internal memory.
When the CDcard is mounted, it becomes /mnt/storage/sdcard. Will the apps now store data there? Or did I misunderstand the purpose of the SDcard and is it only extension memory?
Yes you missunderstand the purpose of sdcards.
It really is only storrage extension.
And the Apps store there Public data in /storage or /sdcard ( which are the same mountpoints in Archos Android ), the private data goes into /data/data which archos decided to be on a 300MB partition.
Thanks. That explains it all.

Issue with music and pictures in external_SD

EDIT: Could this please be moved to the T-Mobile Samsung Galaxy S II Q&A section? I just found it. Sorry for the error.
I have a Telus Galaxy S II X (same as T-Mobile S2) running 2.3.5 not rooted that was bought on October 28th 2011. I do not want to use an SD card since I have almost 12GB of built in storage available. I had originally inserted an 8GB microSD and had music and images on it. I have since put that SD into my wife's phone since she only had a 2GB card and I have lots of internal space available.
When I put music and pictures in the external_sd or USB_storage folders which are the 11.54GB partition of my phone, the default music app and the 3 music app do not see the music. Pictures are also not seen by the gallery. If the music and picture folders are moved to the internal 2GB system partition, both music apps see the music and gallery sees the images. If I move the 2 folders back to the external_sd partition they are no longer seen. When I move an MP3 to the internal 2GB and started the 3 app, in settings, the storage section shows External 11GB (11GB free) since I moved my test MP3 to the internal memory. In the directory filter setting it shows external_sd and USB_storage as music directories. Something is definately wrong here.
I have defaulted my phone 3 times via hardware keys, via the OS, formatted USB storage and no change.
I called Samsung and this is what I was told...
"The USB Storage and external_sd are only for downloaded content via the phone (apps and other) and not for music and photos. You must use an SD card for music and other items."
This was after registering my Telus Galaxy S II X on the Samsung Canada Webs site. It is possible that the Telus version is different than other versions, but I find this ridiculous.
I cleared the music app cache, no change. Telus confirmed that the Samsung rep confirmed that ICS will be out for my phone in March/April. This will completely rewrite the system and will change everything, but I would like to know if what is happening right now is normal or if Samsung is feeding me a line. Any help/feedback is greatly appreciated. Thank you in advance.
I'm little confused of what you said, the phone (SGS2) has normaly ~ 11.3GB of internal storage allocated or mounted as /sdcard, regardless of the name this is the internal storage, then the external SD card is mounted as external_sd within the same folder structure (/sdcard/external_sd), if you don't have any SD installed the external_sd this not used. You may want to add your music in the internal storage (e.g. /sdcard/media/music) then you may want to make sure you don't have a .nomedia file in the folder (nor in the folder tree) specially in the root (/sdcard).
elbermu said:
I'm little confused of what you said, the phone (SGS2) has normaly ~ 11.3GB of internal storage allocated or mounted as /sdcard, regardless of the name this is the internal storage, then the external SD card is mounted as external_sd within the same folder structure (/sdcard/external_sd), if you don't have any SD installed the external_sd this not used. You may want to add your music in the internal storage (e.g. /sdcard/media/music) then you may want to make sure you don't have a .nomedia file in the folder (nor in the folder tree) specially in the root (/sdcard).
Click to expand...
Click to collapse
I thought the same thing, but after reading this is what I have come to understand. The Galaxy S2 4G has 16GB of memory. Some is OS, 2GB is internal use and 11.25GB is called USB storage (also has a directory called external_SD). The 11.25GB is part of \sdcard, but used or seen separately. The actual SD card is not the external_sd folder on the phone. I can't recall what the name was, but it is something else. See the attached screenshot from my phone. I will get my 2GB SD out and plug it in to see the name it is given.
When I refer to external_SD and USB_storage I am referring to the 11.25GB of storage availble in the phone.
EDIT: When I put an MP3 in the system storage 2GB everything is fine, but when I put it in the USB storage partition nothing is seen.
OK, seems that I remember incorrectly. When a microSD card is inserted it is seen in the external_sd folder. The problem that I have with that is the folders that I had placed in that directory before inserting the card, were stored in the 11.25GB portion, but no longer show up!
Here is more information on my issue.
When I insert a microSD card it appears as external_sd
With the card inserted the folders (music and images) that were in the external_sd folder which was part of the 11.25GB, were no longer visible
I removed the card, the music and images folders reappeared in external_sd. I moved them to the usb_storage folder and reinserted the microSD
I have attached 2 screenshots.
If I move MP3s and images to the microSD (external_sd) files are seen. If the microSD is not in the phone and the 11.25GB is used for external_sd then why are the music and pictures not being seen by the apps? Even with the folders and files in usb_storage they are not seen. It is ridiculous that 11.25GB of space would only be available for app data when installing apps.
EDIT: When files are in the \sdcard they are seen, there is no problem with that aspect, only when in the usbstorage 11.25GB portion. How can I see if there is a .nomedia file?
Xerses_frm_HoFo said:
Here is more information on my issue.
When I insert a microSD card it appears as external_sd
With the card inserted the folders (music and images) that were in the external_sd folder which was part of the 11.25GB, were no longer visible
I removed the card, the music and images folders reappeared in external_sd. I moved them to the usb_storage folder and reinserted the microSD
I have attached 2 screenshots.
If I move MP3s and images to the microSD (external_sd) files are seen. If the microSD is not in the phone and the 11.25GB is used for external_sd then why are the music and pictures not being seen by the apps? Even with the folders and files in usb_storage they are not seen. It is ridiculous that 11.25GB of space would only be available for app data when installing apps.
EDIT: When files are in the \sdcard they are seen, there is no problem with that aspect, only when in the usbstorage 11.25GB portion. How can I see if there is a .nomedia file?
Click to expand...
Click to collapse
Forget the external_sd folder, it is used for the external sd card when inserted. As what you refer to the USB Storage in the screenshot is the actual /sdcard or the 11.3GB, so when you write in the /sdcard you are you are using this 11.3GB portion. As you said when you put files in the /sdcard folder you should be able to "see" them. You can put music files in the /sdcard/media/music/ and the pictures in /sdcard/DCIM/pictures (just a suggestion).
There is another folder /sdcard/usbstorage, i'm not sure but this is used when mounted USB OTG (like putting a card reader).
---------- Post added at 03:54 PM ---------- Previous post was at 03:51 PM ----------
And when I said "is the actual /sdcard" is the /sdcard folder.
OK, I am going to try to put more than 2GB in and see what the storage meters say. My original understanding was that the full 11.25GB was only available via the usbstorage folder and the 2GB Internal Storage was \sdcard.
Will try and post back. This phone storage description should be made more clear somewhere!
Eureka!!!
Finally someone who understands how the storage system works in the S II X!
I dropped about 1GB of music into \sdcard\Media\Music and the USB Storage meter is the one that goes up. The Internal Storage meter stays at 673MB.
Thank you once again, this finally clears up how internal storage on this phone works. I can't believe that the Samsung support was unable to explain this to me when I told him what I wanted to do!
I will be putting this information (referring to you) in my post on Android Forums!
Thanks again!
Glad I could help...
Regards,

Retain file permissions when copying to SD Card

Hi guys,
I'm trying to backup files to my SD Card from an app located in the data/data folder.
I'm using ES File Explorer to copy the files, however after viewing the properties of the copied files I've noticed the following.
Owner: 00000 - root*
Group: 01028 - sdcard_r
Whereas the original file displayed owner & group as the app accessing the file.
Any help on creating copies of files with the original permissions/owner/group maintained would be much appreciated.
Phone:*
Rooted Samsung Galaxy Ace Plus GT-S7500*
16 GB SD Card Fat32 (windows formatted)*
Cyanogenmod 11*
Android 4.4 KitKat
Would this have anything to do with the filesystem used?
As the SD Card is Fuse/Fat32 whereas internal is ext4.
At this point i've decided to store the backed up files as zips, which is retaining file permissions when extracted directly to internal memory. But not so when extracted to the SD Card.
Fuse mounts, fat32 and ntfs don't support ext style permissions.
Normally I tar the files to help retain that info.
DestructoS said:
Fuse mounts, fat32 and ntfs don't support ext style permissions.
Normally I tar the files to help retain that info.
Click to expand...
Click to collapse
Thanks, so i would have to convert the external SD Card to ext4 to retain permissions for uncompressed copies then.
I would not recommend that as you would have to modify your boot images fstab and then windows would never be able to mount it. Instead you could shrink your sdcard partition then add a new ext one, after that you could either use a mount script or app to mount it. Also if you want to preserve permissions add the -p flag to cp

Android 7 Format SD Card as Internal Storage

I understand how this is supposed to work but I have a 32GB main memory and a 64GB SD card, The system shows 90+GB of available storage. I then tried to copy a 50GB folder to the device by creating a folder off the root of the device. It dumped out at around 22GB becaus the main memory was full. I expected it to just go to the SD card at that point. Is there any way to force files to the SD card when it's "Internal Memory" formated?
both are treated as separate partitions so basically you can't use it for a single 50gb file
even if you format and use sdcard as internal the situation is same (they are treated as different partitions)
if the file is not single then split them up
one more thing, storing files in root isn't a good idea
Well I have a 64GB "partition" bring the SD card. So how do I put the 50GB on the 64GB partition? The file is not on the root, its in a folder off the root. But either way, the question stands. The 50GB is broken into many files but it stops copying when the main 32GB is full.

Sd card as default storage for device folders

Hi guys, good day to all.
I have a trouble with my sdcard that can't be set as default storage for my device folders such as Screenshots folder, documents, downloads etc.
I've tried moving them from internal storage to sd card and yeah it worked. It changes to sd card but when i try to do screenshots, still not going to the folder i've moved in sd card, it's just creating another folder and default storage is internal.
Is there other ways to set the sd card as default storage for my folders from internal storage?
Thank you again guys for the help
My device is Samsung A10s running Android 10
If the external SD-card is formatted with a filesystem your phone can handle and if phone's Android is rooted you can try to create related symbolic links, as you you can do it in Windows OS, too.
Synthax:
Code:
ln -s /path/to/folder /path/to/link

Categories

Resources