General :: File Size Is Doubled?

Mar 11, 2010

I found one weird behavior.The file i copied from a server is almost doubled the size from the server.How come?

example:
720K ./xxxx vs 360K ./xxxx
(my pc) vs (server)

I have checked both filesystem are ext3

View 2 Replies


ADVERTISEMENT

General :: USB Memory Stick Has Doubled In Size - Why Is So?

Nov 24, 2010

I have an OCZ Mini-Kart USB stick which says 2GB on it, and it has been a 2GB stick for the last 3 years. However, I recently put it into a PC running XP (which had no viruses as far as I am aware) and all of the files in the single subdirectory became corrupted and unreadable. All files at the root of the USB stick were fine, and I could still boot from it (I had Puppy linux installed).

I looked to see if the corrupted files in the subdirectory were recoverable, but they were all inaccessible, (with freshly mangled file-names containing multiple copies of the characters '�' and '=' amongst others), and reporting file sizes of up to 1.9GB each. I examined the memory stick with fdisk and with Gparted, and saw that it was reporting two 2GB partitions, which was certainly not the case before, as I had recreated the partition table several times in the past.

I removed all partitions, created a new partition table and recreated a single partition, which is now 4GB in size. I have trashed it and recreated it three times, formatting it with ext3, ext2 and finally FAT32, all of which reported a partition size of 4GB. I currently have a 4GB FAT 32 partition, and have tested it by successfully copying a 3GB .iso file to it.

Although it's nice to have a 4GB memory stick, it does seem rather odd and I no longer trust it with my data.

View 8 Replies View Related

Ubuntu :: USB Hard Drive Has Magically Doubled In Size

Jul 7, 2011

Switching on my 1Tb external USB hard drive, it not only fails to mount, but DISC UTILITY now shows presence of 2.2Tb Hard Disk (JMicron USB to ATA/ATAPI Bridge)

View 5 Replies View Related

Ubuntu :: Split Big File Size Into Small File Size

Jun 10, 2010

Are there software that can split big file size into small file size in Linux?

View 1 Replies View Related

General :: Limit On File Size - Doesn't Allow User To Create File Which Are Greater Than 100Kb

Jun 13, 2011

I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.

But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??

View 3 Replies View Related

Fedora :: Re-size Logical Volume And Then Re-size File System?

Jan 19, 2011

is lvresize with --resizefs options re-size the Logical Volume and then re-size the file system? i mean we don't need to use resize2fs?I looked at man pages but it doesn't explain this option.

View 3 Replies View Related

Red Hat / Fedora :: Inode Table Size And File System Size

Dec 14, 2010

How can we find the maximum size of the inode table and what decides it, and how the maximum size of volume of file system is decided ?

View 4 Replies View Related

OpenSUSE Install :: Doubled Login Screen In Different Resolutions

Jan 24, 2011

One day, when I switched on my notebook Lenovo X400 with Suse 11.3 I observed that the graphical login screen is divided vertically into two equal parts - each in different resolution. There are also two mouse pointers. They work simultaously (eventhought I can see only a half of each). The problem is that when I login there is no effect, it goes back to login screen. I can login into text terminal. But if I go to "init 3" I still can not startx and the next time I reboot the same problem comes again. Shall I somehow reconfigure X windows or method of logging in?

View 9 Replies View Related

General :: Actual File Size On Mac Os X?

Jan 27, 2010

I have a large number of folders that each contain quite a few files of varying sizes (from a few bytes to 400kb or so), mostly smaller ones. I need to get the actual (not the disk usage) size of these folders. Is there any way to do this with a command like 'du'?

View 4 Replies View Related

General :: Change The Size Of New File ?

Mar 22, 2010

There seems to be a limit of 2 gb on files. Im trying to add my music files and have about 7 gb. Is there a way to make a file that will allow the extra info.

View 7 Replies View Related

General :: Different File Size After Copy

Feb 27, 2010

Firstly, I did perform a search on this problem in these forums, but didn't quite get what I was looking for. So I hope I don't yelled at for making a duplicate post. So I used rsync to backup my webroot to another nix machine. du -hs gave me 1.3 G on the source machine and 1.1 G on the backup machine. I tried to compare the individual files and noticed a trend. The files on backup machine were always smaller than the files on source machine. The source uses SATA drive, destination uses IDE. So this time I rsynced locally to another folder on the source machine. Same size anomaly. So i did a simple cp file ~/file and same size anomaly. So it's not a rsync issue.

I took a file and ran md5sum on both, the source file and destination file. To my surprise, even though the file size was different, they had the same md5sum. Now, let it be known that the source machine is a production server and the dir i rsynced was being used, serving pages to the web. I googled about this and came up with stuff like open descriptors and holes. I don't understand this stuff and was wondering if this was really the case. What are those if it is the case? And my backup copy is 100% identical right? There are thousands of files and I ran md5sum only on couple. Can I take comfort that when time comes, I can restore using my backup without any problems?

View 3 Replies View Related

General :: Reduce The Size Of A File?

Oct 31, 2010

How to reduce the size of a file. Is truncate related to this?

View 12 Replies View Related

General :: Increase A File Size?

Nov 30, 2010

i have this directory with multiple images 'pics' and the size is 20mb, and i want to make a .zip or .rar package of this directory but with an increased size so the .zip/.rar file will be 100mb, and then when you extract it the file size is the original 20mb

View 10 Replies View Related

General :: Get File / Folder Size With SSH On System?

Jun 22, 2010

I am using SSH to connect to a CentOS server and I want to get the file in mb of some files and folders, how can I do it?

View 2 Replies View Related

General :: Big Or Small Swap File Size?

Jan 14, 2010

Should the swap file be as large as possible or as small as possible providing a person has 8GB of installed ram.

View 14 Replies View Related

General :: Use To Save The .mp2 File As .mpg And Reduce The Size?

Aug 15, 2010

I have copied some vides from my camcorder and the size seems a bit excessive - 140mb for 3 mins! Is there a program I can use to save the .mp2 file as .mpg and reduce the size?

View 2 Replies View Related

General :: Determine Mp3 Length By File Size?

Nov 16, 2010

Multiple dirs full of mp3s All strictly encoded with exactly the same parameters (CBR 128kbps, Joint-Stereo, etc) Is it possible to determine the total playing time (to within ~98% accuracy) by some formula based on the total file size? I say ~98% accurate since ID3 tags do consume a small amount of space.

View 3 Replies View Related

General :: Comparing A File Size To A Given Number?

Jul 26, 2011

I'm trying to write a script that takes two arguments, the first argument is a number, and the second argument is a filename. The shell script should indicate if the file's size is BIGGER or SMALLER the number provided. this is what i have sofar, am i on the write track, i'm hoping its just a problem with my if command

if [ $1 -h $2 ]
then
echo "$1 is bigger than $2"
else

[code]....

View 2 Replies View Related

General :: Determine The Size Of Each File In A Folder?

Nov 30, 2010

i have a folder with 10 files and i would like to determine the size of each file. i was trying the command

Code:

du -sh foldername

but i receive the total size .

View 5 Replies View Related

General :: Compress The Size Of ARM9 Executable File

Apr 28, 2011

i am using classpath-0.98,jamvm-1.5.4 and arm9 cortex processor. so my question is after install classpath and jamvm on arm9 , i am getting around 30MB FAT file. so tell me some tips how to reduce the size of FAT file as much as possible.

View 1 Replies View Related

General :: Write A Script To Compress Any File With 10 MB Size To Tar.gz?

Jun 7, 2010

write a script to compress any file with 10 MB size to tar.gz

Say /var/log/tes directory has a file with 10 MB I want it to compress to tar.gz

View 2 Replies View Related

General :: Shell Script To Find A File Size?

Jul 20, 2010

am trying to write a shell script to find the size of a particular log file and if the log size grows, script should mail the changes to the administrator or a any user so script should monitor the log file continuously in a time interval, how can i do that?

I tried with these codes to find the file size but it throws me error says command not found

$s=$( stat -c %s mylogfile.log)
echo $s

View 10 Replies View Related

General :: Windows - Why Do Operating Systems Have File Size Limits

Aug 13, 2010

What limits a file to have some maximum size depending on the Operating System? I do not exactly understand this. If you have the storage space, what else can be the limitation? You should be able to store as much data as you want the way you want (even in a single file) unless you run out of storage space.

View 5 Replies View Related

General :: Configure RTorrent To Stop Downloading After Certain File Size

Aug 26, 2010

I am looking for a way to configure rTorrent to stop downloading all torrents after they have downloaded x amount. For example, specify 15mb and as soon as the torrent reaches that size have it finish downloading the pieces it has requested and then start seeding partially completed. The reason for this is I'm trying to come up with a way to build ratio on a site where torrents are added very fast and at a very high frequency.

I download and add the torrents to rTorrent automatically via RSS, but I only want to download a small amount and seed that small piece while there are still a lot of people in the swarm (swarm drops off very quickly) and come out with a positive ratio from that small piece, beating the ratio clock so to speak. I thought it would be an interesting all be it somewhat impractical exercise in shell scripting, if rTorrent can be hooked into like that, documentation is sparse in some areas.

View 1 Replies View Related

General :: How To Find Size Of Flash File Not Stored In Temp

Apr 8, 2011

How to find the filesize of a flash which is not exactly stored in the temp but redirected by a fd.
flash31 -> /tmp/FlashXXvsg1uY (deleted) directory is /proc/processid
Chrome is downloading a flash and I can see in the proc directory the flash file, How can I see the current file size of such a file ?

View 1 Replies View Related

General :: Apache Access Log File Recommended Size Limit

Jan 17, 2011

Based on some web reference, apache access log file size increased more than 2Gb. It will effect apache performances. Is this correct?

View 4 Replies View Related

General :: Display True File Size Using Ls -l Command In CentOS

Apr 19, 2011

I am trying to figure out the actual size of files and directories on a CentOS Linux 5 server and when I do a ls -l I see for example at the Directory of /Data 4096 but once in side the directory and I do a ls -l I see larger file sizes. How do I get the actual file size of a Directory to show up?

View 3 Replies View Related

General :: Finding (HTML) File Size To Display In Summary

Dec 7, 2009

Need to find the size of a file (html), and display it in a summary file. (Have tried du, ls, size, but none of these work).

View 6 Replies View Related

General :: TIP: Reducing PDF File Size From The Command Line With GhostScript (gs)?

Jan 14, 2011

I've spent hours trying to scan + shrink a multipage PDF documentlosing readability. This is the first time I've ever needed to do this! (I had to scan each page as ".jpg" in order to email and open on another computer, so I could not scan to PDF directly, which I think is why each page was so large; lower DPIs made the text too blurry.)I found this great tip on UbuntuGeek...but anyone can do this if GhostScript is installed:

View 1 Replies View Related

General :: Image Editing (have To Increase A File Size To Just 1 Kb) In Ubuntu

Jul 25, 2011

i have to upload a signature image(in jpeg format) to fill a recruitment form which says file-size must be of between 10-20 kb......i have scanned image which is of 9.5 kb.....tried to edit in shotwell photo manager....tried some random things in Adjust and crop menu but my little changes didn't work, it always shortened the file size......as i don't know anything about Image editing can someone tell me how can i increase the file size (>=10kb) i also tried gnome-screenshot to take the screenshot of the image, but it also saved the new image smaller than 10kb....

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved