The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
40 views

Size on disk vs actual size: too much difference [closed]

I have a Linux machine with Ubuntu 7.10 and another with CentOS 7 that are used in the context of a Windows workgroup with Samba. Both disks are formatted ext3. On both these machines every file ...
1
vote
1answer
31 views

Resize partition after image using dd to another drive

I have a smaller 120GB drive which has run out of space, which I have imaged to a larger 500GB drive using: dd if=/dev/sdb1 of=/dev/sda4 bs=32M After mounting to /R500 df shows me 100% in use which ...
1
vote
2answers
38 views

du command combined with find -mmin

I want to have an idea of how much archivelogs the database is generating daily, so I did: find /u02/archivelog -mmin -1440 | du -sh and got 220GB, which is the total size of all files in that ...
4
votes
3answers
143 views

Finding files on a Unix server and sorting by size

I have a web server where I have run out of space and it's causing issues with the WordPress sites I am running on them. I know that I have a lot of large .png files (the fact that it's PNG is a ...
3
votes
2answers
157 views

Why does find -exec du sum up differently?

I have family pictures and movies in a folder /media/data/Selbstgemacht and I'd like to find the size of all pictures. In /media/data I use find Selbstgemacht -type f -iname '*.jpg' -exec du -ch '{}' ...
1
vote
0answers
77 views

How do I make get-iplayer produce watchable quality without huge filesize?

Summary findings: I'm using get-iplayer v2.82. The files I produce on hard drive are all mp4. I've discovered the following (downloading same TV program in both cases): Using --modes=flashstd and ...
7
votes
5answers
561 views

copy smallest files first?

I have a large directory containing subdirectories and files that I wish to copy recursively. Is there any way to tell cp that it should perform the copy operation in order of file size, so that the ...
2
votes
1answer
374 views

Disk is almost full on a server with CPanel

I have VHM system and I have a domain and two subdomain on this system. I tried to take a backup than after sometime I cannot access cpanel but I can access VHM. but some of the VHM options gives disk ...
1
vote
2answers
295 views

LINUX: How to calculate recursively the size of each sub directory up to root directory?

I have written this script Scrit in Linux. I now need to know the size for each sub directory with the condition -atime +${DAYS} searching down from directory $DIR. The result should be gathered in ...
1
vote
2answers
360 views

Free disk space from a JBoss log file which is still being written to

Is there any locking on the content, imposed by the process if at all the process is using the file. We host a JBoss app server on a RHEL 6.4 OS and due to the disk space constraints we have decided ...
3
votes
4answers
513 views

How to get folder size ignoring hard links?

I use rsnapshot for backups, which generates a series of folders containing files of the same name. Some of the files are hard linked, while others are separate. For instance, hourly.1/file1 and ...
0
votes
1answer
273 views

Wine size window is too small!

I've installed Wine on Linux Mint 16 to run setup.exe files from Windows, but when i run the .exe file, a very small-sized window appears, the setup seems to work but i can't read anything. The same ...
2
votes
1answer
106 views

Why is df -h size, util and dispo not corresponding to each other

When I'm using the command "df -h" I'm having the following output : Filesystem Size Used Avail Use% Mounted on /dev/mapper/fedora-root 20G 9,4G 8,8G 52% / devtmpfs ...
1
vote
1answer
157 views

brasero.toc.bin is very big — why?

I have a file in my home directory: brasero.toc.bin, which ls gives as: -rw-rw-r--. 1 Harry Harry 633M 2013-09-26 15:53 brasero.toc.bin in fact it is the second largest file listed, only sdc at ...
1
vote
0answers
250 views

How to set up screen resolution permanently

I just installed Fedora 19 on a VirtualBox and when I started it for the first time it only allowed the screen resolution 1024x768 After some research I managed to install the guest additions and I ...
2
votes
2answers
377 views

Resize vdi size doesn't work as supposed [duplicate]

I just installed the new one Debian xfce via VirtualBox, but decided to increase the vdi size from 8GB to 20GB (because it requires 42% of all disk space at this moment): VBoxManage.exe modifyhd ...
0
votes
0answers
110 views

Problems with SIG WINCH

When I run this command in a Linux terminal (konsole) and change then the windows size nothing happens. I have a second Linux in a virtual machine. There it works as expected. trap -- 'echo changed ...
1
vote
0answers
70 views

Why is the current device size bigger that the current volume size after resizing an ntfs partition?

I'm resizing an ntfs partition using ntfsresize (ntfs-3g) and fdisk. I used the following command in order to change the filesystem size: # ntfsresize -f -s 10G /dev/sdb1 ntfsresize v2013.1.13AR.1 ...
0
votes
0answers
182 views

“No space left on device” on AUFS

In my own custom OS, I use aufs for mounting packages on every boot. These packages can be added/removed on the fly. The size of the storage device is 2.0 GB and size of total packages is 1.1 G. ...
3
votes
2answers
739 views

How can I find the actual (dd) size of a flash disk?

When I put a flash disk into a card reader and make an image with dd, I see the actual size of the disk, like 512483328 bytes in the following example: 1000944+0 records in 1000944+0 records out ...
3
votes
2answers
267 views

dot instead of comma as thousand separator

I read about --blocksize for ls to get a thousands separator. However my computer gives me dot (.) and not comma (,): $ ls -l --block-size="'1" total 11.893.190.656 -rw------- 1 carlah users ...
1
vote
0answers
41 views

Change the size of a specific context menu entry?

Is there a way to change the size of one specific context menu entry of GTK+ applications? Preferably without requiring superuser privileges. Why? In some applications, I use one specific context ...
6
votes
1answer
120 views

Determining a CD-R(W)'s capacity

I've seen various questions asked (and answered) regarding how to detect the size of various media on a GNU/Linux system, and in particular how much space has been used on an optical drive. But is ...
2
votes
2answers
47 views

How to display size of each file next to it after executing the “locate” command?

Is there anyway to display the size of each file next to it after executing the "locate" command?
2
votes
1answer
641 views

KSH : cp only based on file size

I would like to write a small script copying from a directory A to directory B all the files with the .log extension. So in my directory A, I've : ls : a.log b.log c.log Here is the pseudo-code I ...
0
votes
1answer
370 views

How to hide file size using ls command

I need to list some files in a directory using the ls command, but I need to also to hide the file sizes. How can I do that with the ls command?
0
votes
1answer
396 views

No Space left on device - Debian

when Im new to linux and try to run this below code apt-get -f install getting below error: Checking the available space df Tho output How to increase the available space in /usr path?
1
vote
0answers
70 views

How can I make Krusader show real size of symlinked files?

In the "size" column in Krusader, there is a link's size noted, instead of the size of the actual file. This is the same as what ls -l shows (the full address of the target file, e.g. 64 B instead of ...
7
votes
1answer
850 views

Why is this empty directory 3.5MB?

I've just read this question: What does size of a directory mean in output of 'ls -l' command? ...which doesn't quite answer my question. Basically, I'm moving files onto a NAS. The folders ...
1
vote
0answers
48 views

Directory size as reported by stat on NTFS

We all have seen gazillions of directory size reports from ls or stat. We know they don't mean real size of the content, but they do have meaning, but since the meaning is not very useful for normal ...
4
votes
3answers
1k views

limiting size of logfile from a variable

How can I limit the size of a log file, which is saved in the form of 'foo.txt', from within a bash script please? I want to put in the variables 'LOGFILE=50 mb' and it uses that size, or whatever ...
1
vote
2answers
2k views

Change the size of my memory pages?

I would like to change my kernel's page size from 4KB to 4MB as I have had a large addition of RAM to my computer and I am never running out of anymore. The idea is that programs requiring large ...
4
votes
2answers
673 views

`du` get different results on different machines for the same folder

I have a folder(which contains a lot of sub-folders and files) on a machine, I used du -m and it shows the disk usage of all sub-folders and files, anyway, the overall disk usage is 78M I ...
1
vote
1answer
111 views

File size conflict

I am new to UNIX and have a doubt about file size in UNIX (AIX). ls -ltr shows me fileA size as 59096. As per my knowledge this is in bytes ,so it is nearly = 0.06 MB However, a script which should ...
7
votes
1answer
598 views

Raspberry Pi, serial console, minicom, and gnome-terminal

I'm trying to access my raspberry pi via its serial console on the gpio pins. It's working fine through a USB-3.3v serial dongle. However, there's a problem with long lines and long screens not ...
3
votes
1answer
436 views

Log file not growing beyond a size. Why?

We have a java based web-app running on CentOS 6.0 64bit and it writes out many log files. Some of the files are rotated on daily basis using logrotate using the daily, copytruncate and other few ...
1
vote
1answer
1k views

Merging flv files causes a massive size increase

I have 3 flv files which I wish to merge. I used the answer in this post: Merge multiple flv files? which suggested this option: mencoder -forceidx -ovc copy -oac pcm -o output.flv input1.flv ...
2
votes
2answers
2k views

Must the filesystem be unmounted while extending an LVM logical volume?

I have seen some tutorials on extending an LVM2 logical volume. None of them instruct you to unmount the filesystem. They claim that you can extend an LVM volume while it is in use. Is this right?
6
votes
1answer
751 views

Why could the size of the “dot” file “.” exceed 4096?

Today I found an "empty" directory with a size of 4MB. It had no visible contents, so I tried ls -lah. This showed me some hidden files (not very large). Searching for the reason why the directory ...
2
votes
3answers
361 views

How to get the distribution of file sizes?

I'd like to know the distribution of file sizes under a certain directory. Please note: distribution of file sizes, not size of a directory. That means I want to know there are 25 files of 60 bytes, ...
1
vote
1answer
107 views

changing the partition of a linux

I have a ubuntu system as a virtual system on Virtual Box. It uses VHD as its hard disk. I manged to change the size of VHD using VHD resizer, now I want to expand the partition on vhd so it uses the ...
6
votes
2answers
195 views

du command show a slash after directories?

How to use du command show a slash after directories? For example: du -ab /root/test/php-5.4.8/ Result: 1781 /root/test/php-5.4.8/main/internal_functions.c.in 973596 ...
3
votes
2answers
390 views

Fastest way to get list of all file sizes

I'm trying to create a graph of the distribution of file sizes on my ext4 system. I'm trying to write a script to scrape this information from my computer somehow. I don't care where the files are ...
5
votes
1answer
950 views

find . -size -1GB in Centos

In Centos, I have a text file in my home directory. The command find . -size -1M doesn't show my file but find . -size -1000k does show it. This problem just seems to be happening when I use the ...
7
votes
5answers
10k views

Find the total size of certain files within a directory branch

Assume there's an image storage directory, say, ./photos/john_doe, within which there are multiple subdirectories, where many certain files reside (say, *.jpg). How can I calculate a summary size of ...
7
votes
1answer
590 views

How to re-size virtual disk with installed Linux system?

I've got hard system configuration there and I don't want to re-install it again but I need more space now. Current system space is 30GB. Seems like it's not possible to re-size disk so what I need ...
1
vote
3answers
741 views

How to find all disks & their size before using them?

I need to know the following information, before using the harddisk to create logical volumes or database.. Any perl modules or snippet would be of great help. how many hard disks are presented to ...
7
votes
4answers
6k views

Delete files of certain size range

I want to delete files which size is between certain values. For example I have the following list of files: -rw-r--r-- 1 smsc sys 558 Apr 30 13:07 stats.sfe.1.20120430130513.xml.Z -rw-r--r-- 1 smsc ...
1
vote
1answer
347 views

Tiny font on Fedora 16

I'm finding that several programs have tiny font with Fedora 16. Google Chrome, for example, has miniscule font in the tabs. MATLAB has tiny font in the menus (File, Edit, etc.) I have the "larger ...
3
votes
3answers
6k views

How to Expand LVM2 Partition in Fedora Linux

I've been using Fedora 15 on a VMWare virtual machine. Over time, the disk space I initially allocated for the file system began to run out, only 12GB left. I've expanded the disk space an extra 25GB. ...