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?
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 ... :'-(
I have some contiguous free space available next to where my root partition resides on the hard drive. I was thinking of resizing the root partition with gparted to take up this space, but it's kind of risky. I was wondering if there is another way to include this partition into my Linux partition without resizing? Like somehow link it in so that / will have more free space?
When I look for specific info about what is taking the space using du command I get that the space used by the root system is 7.2Gb. I get to the same conclusion when checking the space with Nautilus.
i have a 700GB ext4 partition for storage purposes. By default it has 5% of the space (35GB!) reserved for root, which does not make sense for this partition. how can i reduce this percentage? there is already a lot of data on the partition and i'm afraid that mke2fs would erase all the data. is there a way to change the percentage without touching the data?
I'm not sure if I can even explain this properly! I'm attaching a hopefully self-explanatory screenshot of
(1) system monitor saying that 23.3 out of 24.6 GB of my root is used (!!!) (2) diskanalyzer showing root should be 5.9+4+3.3+some small stuff = about 15 GB.
At startup I get a warning saying something along the lines of "you only have 50MB available on root file system.. you should delete unnecessary files.. " and that opens Disk Usage Analyzer.
Possible suspect - I had been trying out VirtualBox. On root. My virtual machine did have an 8gig hard drive, expandable I believe. But it never got past 1.7, and I've removed it, uninstalled VB and removed it from trash. (Is this weird: my trash is at /home/me/.local/share/Trash/files - took me a hell of a while to find it!)
With 100MB available on root I can barely do anything! My whole compiz/config setup even disappeared after a reboot!
I am having an issue adding unallocated space to my root partition. Based on other threads I figured out that the unallocated space needs to be right next to the partition that one wants to extend. In my case, I would like to extend 'ext3' in attached screenshot of gparted. I carved out a 1002MB space and moved this unallocated space right under the ext3 partition (/dev/sda3). How do I add this unallocated space to /dev/sda3 please? When I run 'gparted' on bootup (using linux running on a usb stick), I don't get the option to increase the size of /dev/sda3. Basically the unallocated space is not being 'seen' when I try to resize /dev/sda3.
$df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 3844152 2935868 713008 81% / none 502400 260 502140 1% /dev none 508008 248 507760 1% /dev/shm
I have serwer Debian with my website. My provider splited the disc into 5GB partition for / and 495GB partition for /var. Everything was going ok for over two years but now I don't have enough memory on /. I'd like to increase the partition but the problem is that /var is just next to it so I can't easily change the end of the first one. I need some safe solution. It might be even just shrinking partition for /var, adding new one after if it helps anyhow (I have about 450GB free memory).
# parted print GNU Parted 2.3 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Model: ATA ST3500418AS (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: msdos
Number Start End Size Type File system Flags 1 512B 5369MB 5369MB primary ext3 boot 2 5369MB 500GB 494GB primary ext3 3 500GB 500GB 538MB primary linux-swap(v1)
l my root (/) partition has 11G free space and my /home is only left with 5g around and /usr has around 8g in my fedora 13 .So is there any possibility to "resize" the root partition and add it to home partition bcoz i see the opposite in the threads(resize home to add space to root).My home has nothin more than a movie which is 700MB and i've installed some new application yesterday. But it shows half of the space is almost used!!!
So, I wan't completely paying attention to the default partitioning that Red Hat Enterprise 6 does.
I was setting up a base image for VMWare and the disk was 200GB, but for some reason the default is for about 40% to go to the root partition and then the rest of it to go to /home (this doesn't include the 2GB or so in swap).
Is there an easy way to recover the space under /home and expand the root partition? Assume there are no user accounts created.
I installed 11.4 (64 bit) and all went amazingly smooth. I created three logical partitions (boot, swap and home in this order) and an extended partition with root and backup. Just prior to the installation, my external backup drive went belly up so I created a 40 gig partition to "fill in" the backup duties until I purchased a new one. I got it and set it up and then deleted the 40 gig backup partition thinking I would just add the now unallocated space to the root partition but alas it was not meant to be. I can't resize the root partition while it's mounted and I can't unmount it and have a working system. The 40 gigs of space is sitting right next to root (no having to jump or resize other partitions to combine the two). Is there a way to do this or did I just waste 40 gigs worth of real estate.
1. Pentium 4 with 1.8 gh 2. 512 ram 3. 15 gb hard disk. installation specially regarding partition option (eg.. how much alloted should be for swap/ root/home etc)
I recently tried a frugal/poor mans install of knoppix that I placed in a folder in the root partition of /home (hda7) in opensuse 11.3. I decided to delete the folder and contents. The hard drive was busy for several minutes and after it was finished, I checked the disk usage and found that / was at 97% capacity, up from what was 10gig of free space. I could not find any traces of the deleted folder or its contents, so I used puppy linux and ran e2fsck on the / partition. Puppy linux reported 1.9gig free space and opensuse reported .5gig free space. My concern is if the deleted folder is taking up space in the root partition that I can not locate and why the difference in reported disk space usage in hda7. Also, if more packages are installed, where are they placed (/ or /home)?
I originally had an Ubuntu partition on my hard drive which occupied about half of it. I installed Windows 7 in the remaining unallocated space and I was planning on doing a grub update from a live cd afterwards. BUT when I looked at my partition table, the space where the ubuntu partition used to be is now unallocated space!
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.
I have been installing Fedora 8 Linux with already having Windows Xp as my primary OS....
I have a total of 80GB Hard disk.Out of 80 GB,I have freed 8GB for Linux.But during Installation after "selecting language for keyboard" and then choosing "Create Custom Layout", while giving partitions I have alotted 4GB for '/' and 2GB for Swap.
Initially space was created for root(/)...but it is unable to create space for swap and all other boot,home etc...
It is showing the error msg as "Could not create partition as there is no space left for /(root)"...
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?
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.
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).
Is there a program that will reread the partition table and update the kernel even if one of the unmodified partitions is mounted? I installed my system on one partition, then I added another with free space. Now I want to format the second partition, but the kernel doesn't know about it yet. I tried sfdisk -R /dev/sda, but it refuses while the root partition is mounted. Is there anyway I can avoid rebooting?
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...
using suse 11.3 and kde 4.4.4 on the mounted fat32 partition I cannot change icons partition is mounted in fstab in this way:/dev/sda8/ /dati vfat user, users, gid=users, umask=0002, utf8=true, 0, 0.I can create files folders modify, move and save them on the partition but if I try to change the icon (in dolphin right click>properties>click on icon) of the /eros folder (or any other folder or link) system gives me this error:impossibile salvare le proprieta' , non hai accesso sufficiente per scrivere su /dati/eros/.directory tha in english is something like this: impossoble save properties, you havent enough permission access to write on /dati/eros/.directory this happen also as superuser I remember that with suse 11.0 or 10.3 I was able to change icons on fat32 partitions, now with 11.3 I cannot, there ought to be a way to do what I did with the previous version with this 11.3 brand new ad more advanced version shouldn't it?
my home partition is an extended one, and when i want to create an unallocated space the space will stay in that extended partition. but there is also an 7 gb unallocated space which i want to merge with the other unallocated space. I also cannot extend that partition over that 7 gb. how can i overcome that problem?
i m also uploading a screenshot of gparted.[URL]..
So I transfered a few folders with videos in them to the public folder on an Ubuntu 10.04 laptop I have from my Ubuntu 10.04 64bit laptop. When I wanted to delete the folder I didn't have permission so I ran "gksudo nautilus" so I could delete it as root. So I deleted the folder but I did not get the space back!
I went to /.local/Shared/Trash and one of the folders I deleted was there but deleting it didn't get that space back either.
I did some searching but most of what I find doesn't help or tells me to look in the folder /.local/Shared/Trash folder but that didn't help any.
When I use the function "Connect to server" / ssh and leave the "folder" field empty and log in, I am taken to the file system root level (/) on the remote system..!! Is this behaviour really the intention? I am really surprised, I would expect to automatically end up in my own home folder on the remote server.
Is there any way to avoid this, except entering "/home/myname" in the folder field? I tried $HOME, ~/, ~, but I got error messages on all.
It is not always obvious where your own home folder is in the remote file system, it might not even be a unix.
I should mention that when I do a command line sftp connection (sftp name@host) to the same server it works as I would expect. So this sftp GUI must do it differently?
I am looking for such a tool, very much like the one that is on Windows 7, where you can basically with one glance see how much of a volume is occupied (graphical bar) and that for all mounted volumes. I have been looking for this, but so far I have not found it.Also, important: that it is auto updated. So that it is not like a report that was generated and then does not change anymore, but a live thing