General :: What's The Space Subtree Takes On Disk?

Aug 4, 2010

For a given directory, I want to know the space occupied on disk by it and all files and directories having it as an ancestor, so to speak. Is there a command for this in linux?

View 2 Replies


ADVERTISEMENT

Fedora :: LVM Not Showing Correctly - Takes Up More Disk Space Than The PV

Jul 28, 2011

I've just managed to compress my LVs, extend my VG to my new SSD, move the LVs to the SSD and remove the old disk from the VG. All is well and good (mind you, I did kill my /home partition but it's sorted now...)

My next step was to shrink the PV (I think that's what I want to shrink?) so that I can add another partition to the SSD (to reduce compile times). See below for my current setup. I have a 35G PV with LVs totalling around 33G but the "partition" of the LVM is still 58G.

Code:

View 4 Replies View Related

Slackware :: Command To Know How Much Disk Space A Package Takes

Mar 12, 2010

What's the command to know how much disk space a specific package takes?

View 5 Replies View Related

General :: Why Is Used + Available Disk Space Always Less Than Total Disk Space

Feb 24, 2011

root@localhost:~ $ df /dev/sdb1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1922858352 23247088 1801935664 2% /mnt/external/sdb1

[code]....

View 1 Replies View Related

General :: Takes Long Time While Booting - Enabling Swap Space ?

May 9, 2010

While booting Linux it takes ages for 'enabling swap space'

I have allocated swap space twice that of the RAM.

Is there a way to fix it? What should I do to avoid this in the future installs?

View 9 Replies View Related

General :: Disk Utility And Df Show Different Disk Space ?

Nov 18, 2010

I don't understand disk sizes in Linux. I have a 500GB drive. It's ext4. I have run "tune2fs -m 0" on it to reserve the amount of space reserved for root to 0.

I'm using Ubuntu 10.04 that comes with a Disk Utility. When I run "System->Administration->Disk Utility (palimpsest)" the disk shows up as 500GB (see picture). But when I run df -h it shows up as 459GB. So, I don't understand the discrepancy.

When I run df I get the following:

Question: Why is Disk Utility showing me something different than "df"?

View 6 Replies View Related

Ubuntu :: Vista Takes Up Too Much Space ?

Feb 15, 2010

I have a dual boot system using ubuntu, 7, and vista. I want to get rid of vista. I already tried to use my recovery discs but they never give me an option as per what to partition and what not to, and it comes with vista and seven. I really need the space and can't currently afford a portable hard drive.

View 9 Replies View Related

OpenSUSE :: Command (du) To Find Out How Much Space A Directory Takes Up?

Jul 10, 2010

I learned a little bit about this command (du) to find out how much space a directory takes up but what I want to know is can you tell it to exclude directories?For instance, I wanted to know how large the / directory is on my old suse10 drive but I want to exclude /home (/home was not a separate partition on that drive).

View 4 Replies View Related

Ubuntu :: Create A File That Takes Up A Lot Of Space On The Drive?

Dec 18, 2010

how could one create a file that takes up a lot of space on the drive?

View 2 Replies View Related

Ubuntu :: Mounted Partition Takes Up Space In Root?

Dec 31, 2010

Today I was notified on my netbook that my root folder is running out of space. When I ran the disk analyzer, it showed that most of the space is going towards the videos folder in /media/win7. My ~/Videos folder is symbolically linked to the videos folder on my Windows partition, which is mounted in my fstab using ntfs-3g under /media/win7. The question now is, shouldn't the videos only exist in the windows partition? /media/win7 usage shouldn't affect space usage in my root folder right?

View 6 Replies View Related

Slackware :: Disk Space Lost- Root Partition Has Very Little Space Left

Jan 31, 2010

Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.

Here is the output of df -h:


Code:

As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?

If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(

In case you're curious, here's my /etc/fstab:

Code:

View 14 Replies View Related

General :: Disk Space Up To 60%

Nov 10, 2009

My disk space has grown from 30% to 60% in the last 3 months.

I can only assume this is from log files in the form of maillogs and squid logs.

Any ideas on how to free up the space? I'm pretty sure I have logroate running.

I just ran this on the mail log files:

View 14 Replies View Related

General :: Out Of Disk Space ?

Aug 17, 2009

I got the Hp 2133 mini notebook not to long ago maybe back in april. But they got a linux instead of Windows. I have yet to save anything on the computer, but everytime i logged on, i was usuing up disk space. Now I cant even log on and it gives me the message GDM Could not write to your authorization. Im sure i am not the first to receive this message. I dont know what to do. Its a Suse Linux Enterprise Desktop 10. I tried entering commands that ive seen on here that helped others. But its not working for me. I havent been able to use the laptop since may.

View 14 Replies View Related

Hardware :: Reduced Disk Space / Use The Total Amount Of Space?

Aug 25, 2009

OS: RHEL AS 5 64-bit

HDD:300 GB Hardware mirror (HP blade bl460c)

While installing OS, in partition window after OS file system structure I've left 277 GB. But after installation it shows Size - 255GB and available disk space is 242 GB.

Isn't it weired? How can I use the total amount of space in Linux? I need the whole 277GB exactly. What should be my workaround?

View 6 Replies View Related

General :: Disk Space Is Being Hogged

Feb 22, 2010

Suddenly my disk that contains everything but the home dirs and which is usually only approx 9% full is now 100 % full.Any suggestions on how to find how this has happened? How can i find the largest files minus the mounted dirs which are on other disks?

View 3 Replies View Related

General :: Freeing Disk Space ?

Sep 29, 2009

Had this problem in a few different instances where a process was creating a set of files in directory and using those files.

Some one just happened to go to the dir and deleted those files without stopping the process. The result being that as the process is still telling the machine that the disk usage is still what it initially was (df -h shows the old disk usage) , where as a du -h or a ls -lh on that same dir show that the files are not there.

Once this happened with mysql where the user delete the database dir in /var/database_name in the mysql home dir. The result being that the dusk usage was still showing as the old one even if the files were missing. This was resolved by restarting the mysql server.

Similar thing happened with some other processes where on restarting the problem was resolved..

My question being is there a method to solve this problem by whithout restarting the concerned process.. Some magical command like free disk or recheck dis usage :-) .. may be too much to ask but can some one help me out here.

View 1 Replies View Related

General :: Round Disk Space With Awk?

Jun 2, 2011

I want to use awk to list all the mount points, disk size and space available. Now I have all that info but I want to round the totals, so there is no delimiters, how can I do that?

PHP Code:
#!/bin/sh
date
df=`df -Pl | grep "^/dev" | awk '{print $6, $2/1024 , $4/1024}' | sed "s/%//"`
echo "$df"

[Code]...

View 6 Replies View Related

Fedora :: Compiz Fusion - Every Time Go To Kde Application Launcher It Takes Back To Space 1

Mar 24, 2010

I have updated to FC11 a few months back and after I got my desktop effects going I notice that every time I go to my kde application launcher it takes me back to space 1. I could be in space 6 but as soon as I go to the application launcher to open a new application it takes me back to space 1 and I have to manually move the application to desktop 6. This only happens when compiz fusion is enable...

View 4 Replies View Related

General :: Ubuntu 10.04 Recurring Low Disk Space?

Sep 20, 2010

I am running Ubuntu 10.04 on one 80GiB disk partitioned as two equal. The second one is mounted as my home folder. The reasons for the partitioning are historic and I don't think they're relevant here.

My problem is that Ubuntu frequently reports 'Low Disk Space'. The initial solution was to turn off backups and that seemed to ease the problem. Now it has started happening again, but backups are still turned off. I can't see anything unusual in the tmp directory - or anywhere come to that - but I don't really know where to look.

I have searched for known leaky problems but haven't found anything that seems to fit. I don't store images, videos or music.

View 2 Replies View Related

General :: CentOS 5 - Available Disk Space Always 0 Percent

Jun 16, 2011

I am running centos 5. So far, it gives no problem but just yesterday, when it reported "no free space" for file writing, I try to remove some file as usual. Unfortunately this time no matter how much files I had deleted, it just keep showing no available space for doing so.

Result from df:
[root@LSMSVR ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
1.2G 269M 879M 24% /
/dev/hda6 4.8G 138M 4.4G 4% /tmp
/dev/hda5 19G 2.4G 16G 14% /usr
/dev/hda3 48G 12G 34G 25% /var
/dev/hda2 379G 365G 0 100% /home
/dev/hda1 99M 15M 80M 16% /boot
tmpfs 180M 0 180M 0% /dev/shm
ow to recover the lost space in /home?

View 2 Replies View Related

General :: Disk Space Used On Empty Partition?

May 26, 2009

The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the partition has 92MB used. How is this space being used, and how can I free it up?edit: I guess this isn't a newbie question.

View 7 Replies View Related

General :: Low On Disk Space - Looking For Biggest Files?

Nov 10, 2010

I seem to be running low on disk space on my linux server. 'df' shows about 82% usage on a stock CentOS install with sendmail. I routinely delete old email directories, but for some reason, I stay pretty high in disk usage. Is there a fancy little bash script or something I could run that would find the biggest files and I could go get rid of them?

View 3 Replies View Related

General :: Get More Disk Space Into My Home Folder?

Feb 23, 2011

I am using Ubuntu in a laptop. The C disk has 15GB, and Windows is installed in C disk. I installed Netbook Ubuntu in D disk which only has 10GB free space. Now I am trying to install some applications in ubuntu such as emacs. But the system says it only has about 450Mb disk space. So how could I get more space? Can I install the applications under some different path? without using apt-get?

View 3 Replies View Related

General :: Disk Space - Script To Fill Up Diskspace?

Sep 29, 2010

I need a script to fill up my diskspace on my Linux box. It would be best if I can leave 200 MB free. I have Nagios installed, and it should email me when something like this happens, but how do I test it?I have Perl and PHP installed so if you want to use that then sure.

View 1 Replies View Related

General :: Where Is The Missing Disk Space On Software Raid

Nov 3, 2010

Purchased (4) 2TiB Drives (actual disk space) and created a RAID5 array expecting to have 6TB of useable disk space, however actual useable space is 5.46TiB.

So, the question is where did the disk space go?

First off, I can say for certainty the disks actual useable is verified at 2TB each have mounted and formated on a non-linux system (OSX).

Disks - 2TB Per disk, Tested HFS, Actual 2TB Useable
root@server:/server# fdisk -l 2>/dev/null | egrep "sd[hijk]" | grep Disk
Disk /dev/sdh: 2000.4 GB, 2000398934016 bytes
Disk /dev/sdj: 2000.4 GB, 2000398934016 bytes
Disk /dev/sdk: 2000.4 GB, 2000398934016 bytes

[Code]....

View 2 Replies View Related

General :: Bash - Compressing Files Despite Low Disk Space?

Jul 18, 2011

I use Linux. I coded a screenshot program some time ago and now I have 9 GIG of screenshots, 60000 JPEGs, most of them look pretty similar, and I have 300 MB of disk space remaining.

What are some good ways to start to compress batches of them (or all of them) in the background given the limited space? The problem with compressing the folder all at once is that I wouldn't have enough disk space for that. It seems the process needs to be broken down into chunks. So maybe something like: Get a list of all the files Add a chunk of the files (say, 20) to a compressed archive. Once it is done and saved successfully, delete the chunk of files

View 2 Replies View Related

General :: No Free Disk Space While Installing Fedora 15 / Get That?

Aug 20, 2011

I am on a windows 7 system trying to install linux fedora 15.

I am using Fedora 15 live image which I burned onto a DVD and booted. According to instructions I've found in a tutorial I go into the system tools and choose install to harddrive. I have previously shrunk the windows system drive to free up approx 200 GB of unallocated space. I did this through the
control panel >> administrative tools >> computer management >> windows disk manager.

While I try to install fedora on the harddrive I run into two problems.
1. I can't install it because it says "no free space available to create partition". it doesn't matter if I choose the auto partition option or the custom partition option.

Choosing the custom partitioning option I don't know what partitions I need to create. Terminology such as LVM and PV are all new to me.

The second problem is that I am after some random time ( it occurs in different time intervals) forced to re-login as a live user which kills the installation program and forces me to re-start the installation process

Anyone have clues to solve these problems?

View 1 Replies View Related

General :: Decompress A Tar File - Butrun Out Disk Space

Feb 7, 2011

I'm running a virtual machine of CentOS 3 and I am trying to decompress a tar file, but I run out disk space. I created the VM with 80 GB of disk space. When I look at the partititions, (du command) I have /dev/sda2 with a partition of 70GB mounted on /home with < 1% used.

Here comes the n00b question: How do I use the 70GB of space on sda2? I thought working in the /home directory, where sda2 is mounted, would give me access to that disk space, but the tar files fill up the /boot partition.

View 3 Replies View Related

General :: Disk Full Deleted Files But No Space Available

May 3, 2010

My main storage partition got full, so I'm deleting files to make room. However, df -k keeps reporting no space available on that partition (/disk). Here's the output of the command several minutes apart while another process is deleting a 30G of space:What can I do to make the space available immediately?

View 4 Replies View Related

General :: LVM - Adding New Disk Space To Volume Group?

Feb 7, 2011

I plan to install a server using LVM. I thought a partition schema where /boot would be in an ext4 partition while / /usr /var /home and /opt would be in the LVM. My question is: if I'm putting / into the LVM, is it necessary to divide /usr /var /home and /opt into different logical volumes? If I divide them, would it become harder to maintain when new disk space has to be added to the volume group?

View 7 Replies View Related







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