PDA

View Full Version : [SOLVED] size of ~/home folder "some contents unreadable"



oldsoundguy
September 25th, 2010, 07:08 PM
Trying to copy my ~/home folder to new Jump drive for backup, etc. Turns out the 8gb drive I got was too small now (been a while since I did the backup)
So, went to the home folder, opened it and selected file system .. did the ctrl/h to show hidden files (nothing popped up) .. then a right click and properties to find out the actual SIZE of the contents.

That is when I got the message:
"some contents unreadable" on the pop up.

What is unreadable? And WILL this make a difference IF AND WHEN I can copy it to a bigger Jump drive?

BTW, it took FOREVER for the final results of size to be determined!

TIA

(mods .. if this is in the wrong place .. feel free to move it.)

Kr4zyl3gz
September 25th, 2010, 07:11 PM
Bump For Some Help =] Not 100% sure so i wont put my foot in my mouth

muteXe
September 25th, 2010, 07:11 PM
what happens if you open your file manager up with root privileges and then again try and look at the sizes?

oldsoundguy
September 25th, 2010, 08:19 PM
and just how do I gain root privileges in the file manager?
(open in terminal? What is the command line?)

oldsoundguy
September 27th, 2010, 04:56 PM
Bumpty, Bumpty, Bump .. Bump City!!

sanderd17
September 27th, 2010, 05:02 PM
the bump worked :p

open nautilus by pressing alt+F2 and typing


gksudo nautilus

sanderd17
September 27th, 2010, 05:05 PM
maybe baobad can see the files: ALT+F2 and type



baobab

Paqman
September 27th, 2010, 05:06 PM
did the ctrl/h to show hidden files (nothing popped up) ..

Er, you should have got about a million .folders when you did that. Nothing in your own home folder should need root to see or copy (although the contents of other users home folders will).

oldos2er
September 27th, 2010, 05:08 PM
Do you have /home on its own partition? When was the last time you ran fsck on it?

oldsoundguy
September 27th, 2010, 05:24 PM
No, ~/home is NOT in it's own partition .. what I eventually am trying to do is copy it to a thumb drive for back-up and for use in updating.

My 8gb thumb turned out to be too small (and I got a LOT of copy errors on top of that)

Would love to get this procedure down before I actually NEED to have it in one way or another.

Have a 16gb thumb drive "in the mail".

philinux
September 27th, 2010, 05:28 PM
No, ~/home is NOT in it's own partition .. what I eventually am trying to do is copy it to a thumb drive for back-up and for use in updating.

My 8gb thumb turned out to be too small (and I got a LOT of copy errors on top of that)

Would love to get this procedure down before I actually NEED to have it in one way or another.

Have a 16gb thumb drive "in the mail".

Applications>accessories>Disk usage analyser. Then click scan home.

In your previous posts were you looking in /home/YourUsername i.e Places>Home Folder and then press ctrl h. Or View >show hidden files.

oldsoundguy
September 27th, 2010, 05:39 PM
hmmmm tells me I have 82 items with 988.4meg .. I can see why the 8gb did not work .. and I now see that the 16 should do FINE with room to spare!

THANKS philinux!!

Now, how am I to copy without those errors? Drag and drop did not work.

philinux
September 27th, 2010, 05:50 PM
hmmmm tells me I have 82 items with 988.4meg .. I can see why the 8gb did not work .. and I now see that the 16 should do FINE with room to spare!

THANKS philinux!!

Now, how am I to copy without those errors? Drag and drop did not work.

988.4 meg is less than 1gig :confused:.

oldsoundguy
September 27th, 2010, 05:55 PM
Then why would it not copy? At a loss here.

(Lousy at reading decimal points .. must be age catching up!! LOL)

All that is on the drive is Lost + Found folder.

Paqman
September 27th, 2010, 05:55 PM
Now, how am I to copy without those errors? Drag and drop did not work.

That's likely going to be due to a problem with the destination device (or it's filesystem).

Might have better luck with rsync. But if the device is that thrashed out, do you really want to use it at all?

oldsoundguy
September 27th, 2010, 05:59 PM
That's likely going to be due to a problem with the destination device (or it's filesystem).

Might have better luck with rsync. But if the device is that thrashed out, do you really want to use it at all?

Brand new Lexar twist. Been through the G-Parted set up routine and the drive mounts.

Crazedpsyc
September 27th, 2010, 06:02 PM
Notice he said he went to the filesystem before pressing alt+h. There shouldn't be hidden files or folders there. Also, just try running the following from a terminal:


cp ~/ /media/yourdevice/backupfolder/

where yourdevice is the name of you flash drive as seen from nautilus

DarthScape
September 27th, 2010, 06:13 PM
~/home doesn't make much sense does it? wouldn't that mean /home/yourname/home ?

oldsoundguy
September 27th, 2010, 06:18 PM
~/home doesn't make much sense does it? wouldn't that mean /home/yourname/home ?

Abbreviation ..

And I managed to get all files to display ..

Now to be able to copy them to the drive .. problems the same as I stated in the first post.

Paqman
September 27th, 2010, 06:24 PM
Check that you haven't got tons of stuff sitting in the trash on your destination drive that's preventing you from copying new stuff over.

oldsoundguy
September 27th, 2010, 06:32 PM
hoooo boy ... this is a FRESHLY FORMATTED (ext3) drive

psusi
September 27th, 2010, 06:36 PM
You have to be more specific. "It won't copy" is not an error description. What exactly did you try, and what exactly were the results?

Crazedpsyc
September 27th, 2010, 06:42 PM
try viewing hidden files on the device too, just to see if the manufacturer included junky bloatware like most do these days

oldsoundguy
September 27th, 2010, 06:45 PM
You have to be more specific. "It won't copy" is not an error description. What exactly did you try, and what exactly were the results?

"The folder "home" cannot be copied because you do not have permissions to create it in the destination."

oldsoundguy
September 27th, 2010, 06:46 PM
try viewing hidden files on the device too, just to see if the manufacturer included junky bloatware like most do these days

FORMATTED the drive. That removes everything.

philinux
September 27th, 2010, 06:51 PM
"The folder "home" cannot be copied because you do not have permissions to create it in the destination."

Places>Home Folder then ctrl h. Edit>select all the drag the lot to your stick.

oldsoundguy
September 27th, 2010, 07:03 PM
Places>Home Folder then ctrl h. Edit>select all the drag the lot to your stick.

same message ..

"The folder "home" cannot be copied because you do not have permissions to create it in the destination."

psusi
September 27th, 2010, 07:09 PM
When you format the drive, if you don't do it via the disk utility and check the box to take ownership, then the root directory is owned by root, so you can't write to it. To fix it, do the following in a console:

sudo chown username.username -R /media/foo

Where username is your user name, and foo is the name of the disk.

bsalem
September 27th, 2010, 07:18 PM
The "Some Contents Unreadable" generally means that you do not have permissions to read files in the directory. It can be caused by many different events. I get it on a busy NTFS (Windows) filesystem mounted by Linux.

Since the dir is /home it could be caused by you not having access to files on another subdir besides your home directory, such as another account's files. It can also be due to root owning /home. This is a good case where knowing the command line can tell you more than the file browser. If root created files in your home dir, that can cause it as well.

If your home dir is too large to fit on a stick, copy subdirs to the stick, also it is better for the stick to save archives than lots of small individual files. Learn to use the archiver programs or tar and zip from the command line to break the problem into smaller chunks. If I only have a few MB to copy I use tar from the command line. If I am doing incremental backups I use tar with find to select the newest files. You can get a full dump of a subdir that you know wll fit and use a combination of commands to create incrementals. This is not the time for details; go think of ways to whittle the problem down to a managable size, first.

oldsoundguy
September 27th, 2010, 07:29 PM
When you format the drive, if you don't do it via the disk utility and check the box to take ownership, then the root directory is owned by root, so you can't write to it. To fix it, do the following in a console:

sudo chown username.username -R /media/foo

Where username is your user name, and foo is the name of the disk.


THANK YOU .. Was using G-Parted (old habits die yard) .. never even NOTICED the "disk utility"!! OMG that makes it SOOOOOOO much easier

And guess what!!

FILES TRANSFERED AND VERIFIED!!


Thanks to all of you for your time and help .. now I can crash and burn and RESTORE.


Marking this as solved.

Crazedpsyc
September 27th, 2010, 11:51 PM
Unfortunately, there are ways around that like on one brand of flash drive I have gotten it simulated (or one might call it spoofed) a disk that you couldn't unmount erase or format. I finally got rid of it with the uninstall option in the program itself, although I had to wipe it several times after that as well

oldsoundguy
September 28th, 2010, 01:13 AM
An FYI .. I have using Lexar products for years starting back in the days of tape backup. I use their CF cards and SD cards for photography and for my PDA units .. so it was automatic I would go with their flash drive .. simply because in over 10 years I have NEVER had a Lexar product go bad or give me any trouble .. but ONCE .. and that was MY STUPID FAULT for buying a CF card UNSEALED and it put a virus on the Windows machine I was using .. took me about 12 hours to fix the damage to a machine that was NOT MINE! (they lacked an updated AV and it got through!!)