General :: Extending Root Partition By Shrinking VAR Space

Apr 5, 2011

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).

Some outputs
Code: # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 5201536 5173904 0 100% /
tmpfs 1023464 0 1023464 0% /lib/init/rw
udev 10240 2672 7568 27% /dev
tmpfs 1023464 0 1023464 0% /dev/shm
/dev/sda2 478812280 10336484 444345032 3% /var
overflow 1024 4 1020 1% /tmp

# 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)

View 2 Replies


ADVERTISEMENT

Ubuntu :: Extending Partition Into Unallocated Space

Aug 31, 2010

i would like to extend my main file system into the unallocated space that i have on my hard drive, the unallocated space is most of it, as it used to be a partition but was deleted, do i have to do this with a boot up disk because i think that it can only be done on an unmounted partition, or is there a way to do this while linux is running in the main partition.

View 1 Replies View Related

Red Hat / Fedora :: Extending Primary Partition - Allocating Space To SDA1

Jun 27, 2010

I have installed oracle enterprise linux on VM ware with 20 gb allocated to guest OS. Now I want to install oracle apps in the guest Os, so I need to extend the volume. I have extended in Vm , but I have to partition in the guest OS, for that purpose I am using Gparted. But I am unable to extend to sda1. I need to have all the unallocation space allocated to sda1. Here is the screen shot, how can I do that. Right now when in press the command df -h in terminal I am gettig 18 gb as space available for sda1, I want to make it 200 gb, in which I would like to install oracle apps. Check out my screen shot.

View 5 Replies View Related

Fedora :: Can't Find Free Space After Shrinking The Partition

Apr 26, 2011

I shrinked the /home partition using resize2fs command by 1GB and what had happened to remaining my free space .

View 1 Replies View Related

Ubuntu :: Shrinking Ext3 Partition And Giving Free Space To NTFS?

Jul 13, 2010

Using a small hard drive (180 GB) dual booting windows XP for gaming and Ubuntu 9.10 for my other stuff during install I didnt know how much of each partition i would use, so i did 50-50 1 for ext3 and one for NTFSHowever after awhile it seems I have run out of space on my NTFS and have tons of unused space on my ext3.What I am wanting to do is shrink some of that ext3 down and give it it NTFS, I did a little searching and found a couple of old posts but I was a little sketchey on em. Simply looking for some personal Methods or Tools you have used and a starting point of how to use them.

View 5 Replies View Related

Fedora Installation :: Shrinking Vista Partition Won't Shrink Much - Having 20GB Free Space?

Aug 16, 2009

I have just over 20GB of empty space on C:. When I click it under disk-management, the window comes up and says I can only resize it 192 MB less than what it is. But I have 20GB free. Any ideas on what is wrong? I also have this odd 9.56GB partition that is empty. DM says it's "EISA configuration"...whatever that is. I am planning to allocate about 10GB for F11 if this pans out ok.

View 6 Replies View Related

Red Hat / Fedora :: Extending Root Partition - Volume Group Not Found

Sep 20, 2010

I am trying to extend my / size as its full. Well the volume group is VolGroup00 & logical volume is LogVol00 but when. I run the command vgextend VolGroup00 /dev/sda8. It says volume group not found. Can it be because I have WindowsXP in my /dev/sda1, which falls under same Volgroup??

View 1 Replies View Related

Fedora Installation :: Shrinking A Ntfs Partition - Free Up Space In Creating Custom Layout?

Nov 22, 2010

Im trying to shrink a 80 Gb ntfs partition. but when i clicked the shrink option the partition is like this:

"sda1(ntfs,0 mb)".

how to free up space in creating custom layout.

View 1 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 :: Ubuntu - Adding Space To A Root Partition

Aug 2, 2010

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?

View 1 Replies View Related

General :: Resize Root Partition & Add Space To Home?

Aug 8, 2010

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!!!

/dev/sda7 12G 925M 11G 9% /
tmpfs 497M 2.6M 495M 1% /dev/shm
/dev/sda9 12G 5.0G 6.0G 46% /home
/dev/sda8 12G 4.1G 7.3G 36% /usr

View 6 Replies View Related

General :: Extending Partition Into Another Physical Drive?

Oct 4, 2010

Is it possible if I am only using ext3 and no LVM or anything else to re-size the partition into another physical device? I am pretty sure the answer to this is no but I was still curious as I am facing a full 1tb disk and need to add a new drive and unsure how to do this due to shared folders existing on the old drive and no way to actually expand them without linking in new files or something.

View 8 Replies View Related

General :: Shrinking / Resizing Partition Using Commands

Dec 1, 2010

I am a new user of Linux, and I actually had a task that is the ability to resize (specifically Shrink) storage of Virtual Machine, I was thinking that the best to start on is to know how to resize partition in linux using command line since our VM runs in Linux environment.

View 7 Replies View Related

Ubuntu Installation :: Extending Disk Space In Wubi?

Feb 24, 2010

I have installed Ubuntu 9.10 using Wubi. During the install I allocated 100Gb to Ubuntu, is there any way without reinstalling of extending this, I want to give Ubuntu another 50Gb.

View 2 Replies View Related

General :: Shrinking Broke Partition Table - EXT4 File System?

Aug 23, 2010

In an attempt to shrink my Data partition on my 500GB drive I had succeded in shrinking it but I think I have broken the partition table as now it refuses to mount. When trying to mount I get this error mount: wrong fs type, bad option, bad superblock on /dev/sda2 I have done some searching around but most fixes haven't worked because they are based on ext2/3 File systems and this partition is ext4. Using Ubuntu 10.04 x64.

View 2 Replies View Related

Ubuntu :: Disk Space Is Wrong On Root Partition?

Jan 15, 2010

My root partition seems to be full bur is wrong because I have a partition with 15Gb space and the data is arround 7.5Gb I have:

Quote:

~$

PHP Code:

sudo df -lha
S.ficheros            Tama�o Usado  Disp Uso% Montado en
/dev/sda5              15G   14G  660M  96% /
proc                     0     0     0   -  /proc
/sys                     0     0     0   -  /sys

[code]....

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.

View 2 Replies View Related

Ubuntu :: How To Reduce Reserved Space For Root On Partition

May 19, 2010

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?

View 1 Replies View Related

Ubuntu :: Space On Root Partition Mysteriously Disappearing

Oct 19, 2010

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!

View 4 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

Ubuntu :: Adding Unallocated Space To Root Partition?

Jan 13, 2011

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

[Code]....

View 9 Replies View Related

Fedora :: LVM 2 Partition And Shrinking

Dec 3, 2009

How can I shrink a LVM2 partition in fedora 12 in order for me to install another distro. thank you

View 1 Replies View Related

Red Hat / Fedora :: Recover The Space Under /home And Expand The Root Partition?

Jun 29, 2011

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.

View 1 Replies View Related

Ubuntu :: Shrinking An Extended Partition?

Apr 14, 2011

I recently decided to resize a partition on my HDD (partition on which Ubuntu was previously installed).This was in order to remove Ubuntu from one of my HDD. I got rid of the Grub loader by booting on my windows system recovery disk and using Bootrec.exe/FixMbr and my computer now boots directly into windows. I then deleted the Ubuntu partition.

To get to the heart of the problem, I am trying to move the free space that is in the extended partition out and merge it with C. I tried doing this with my Gparted liveCD but it didn't work. I didnt have anything to save the error message onto, but I will try the process again when I get home and save the error onto my external drive so that I can post it here.

View 7 Replies View Related

OpenSUSE Install :: Supplementing/resizing Root Partition With Unallocated Space

Mar 13, 2011

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.

View 9 Replies View Related

SUSE :: Partition Space Alloted For Swap / Root / Home In 11.2 Installation

Jan 12, 2010

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)

View 1 Replies View Related

SUSE / Novell :: Correct Amount Of Free Space For The Root Partition?

Oct 4, 2010

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)?

View 3 Replies View Related

Ubuntu Servers :: Extending File System Partition Remotely?

Aug 24, 2010

I'm still pretty new to servers and ubuntu and have ran into something I could see being a problem in the future. On a dedicated remote server I have installed a web server using the "How To Forge - Perfect server set up for ubuntu 10.04 and ispconfig". I have a forum and email up and running and shoutcast radio and teamspeak3 servers also. We can also nx into it if need be. I can reformat the 1T hdd remotely from my provider control panel and ssh is installed at the same time and a new root password is sent via email. The thing is I now realise that by default the file system is written to a 10gig partition.

This might usually be ok but ispconfig uses the /var/www folder on the file system to house the forum I host and the partition is filling up. My mate I co rent with is talking about starting a parrot/bird owners forum and i might eventually like to have a gaming forum as well. I realise I should probably have set things up differently but like I said I am new at all this and tbh the home directories never going to have much in it so theres 900 gig doing nothing. So my question is can I use anything to enlarge that partition remotely? I know theres gparted on disc and all the articles I found say I need to use a disc which obviously is out of the question.

So what I think I need is some sort of partition magic for ubuntu. I would really like to expand it so all my current files etc on it would stay as is. I'm also currently looking into back up methods and wondered if that would be the way to go? Back up my file system and home directories and then reformat and make the partition larger? Or could I copy the entire www folder to a newly created folder in /home and re write the site enabled files to point to it? Would this work and if so what else would I need to edit?

View 9 Replies View Related

Fedora :: Shrinking Disk Partition In Fedora Makes NTSF Partition Unusable

Aug 5, 2011

I am completely new to Linux in general, and have recently downloaded Fedora 15 KDE spin. I tried dual-booting between Windows 7 and Fedora by shrinking one of my Windows partitions (I have two, this partition not containing the Windows installation). I tried shrinking it to 30 GB less than the total space available on the partition, and after pressing continue, received an error (which I unfortunately dismissed quickly and can't remember). In the file manager, Fedora showed that my partition changed from 1.3Tb to 1.2 Tb, but I couldn't access it. Upon rebooting into Windows, I still can't access it, receiving a "format drive before use" popup and then error stating that it is possibly of a different filesystem or corrupt.

Unfortunately, I stupidly didn't backup any of my data (which I will be sure to remember to do in the future). I installed EASEUS Partition Master 8.0.1 Home Edition, which states that my drive is still of NTFS filesystem and has the total space it should. However, upon clicking "check drive," it states there are no errors and when trying to "explore files," it doesn't find any (yet it shows the correct amount of used and unused space). I then tried running TestDisk, but only allows me to check my media drive E, which is my dvd drive that has my Fedora Live CD in it (which cannot be ejected manually or through Windows, an error stating it cannot be ejected). I didn't go through with TestDisk for my DVD drive because I needed to verify the type of partition (which to my knowledge shouldn't even exist). It shows 700 something MiB / 600 something MiB. Although I have decent general knowledge about computers, I am a complete novice when it comes to doing something like this.

View 1 Replies View Related

Ubuntu :: Shrinking Windows (ntfs) Partition Inside 9.10?

Jan 15, 2010

im trying to shrink my vista partition with gparted inside ubuntu. I run gparted (and yes i have ntfsprogs) but when i select the ntfs partition and select move/resize it brings up free space preceding... new size... and free space following.so when i input the new size the resize/move button greys out and when i change the freespace following it just puts back my original new size and back and forth.from what i have read i need to run the gparted livecd and go from there. is this true? i know how to do it with diskpart in windows, how to in ubuntu and eventually get rid of windows.my system is 64-bit. [URL]

View 5 Replies View Related

Ubuntu Installation :: The Incredible Shrinking Extended Partition

Oct 26, 2010

I have been attempting to set up a bunch of partitions on a bunch of hard disks, in preparation for installing Maverick. I will be setting up a number of RAID partitions, so I will install from the alternate disk (ubuntu-10.10-alternate-amd64.iso). Now ever since they added support for GRUB2 and a new partition type and align-to-megabyte and a whole bunch of other goodness, partitioning has been buggy. This has been true for Maverick and Lucid. Even the 10.04.1 version (an Ubuntu LTS!) still has problems. Every time I try something else, some other bizarre bug rears its ugly head. (Yes, I have been reporting them on Launchpad when I find a new one.)

In order to move forward on this project, I have been using a variety of partitioning tools. I temporarily installed Maverick on a small partition, and have used Disk Utility (palimpsest) and GParted while booted into that. Occasionally when things get really strange I boot up the latest version of System Rescue Disk, which contains the latest version of gparted. I use these various tools to try out various partitioning schemes, just laying out empty partitions that will be formatted or assembled into RAID arrays later. When I get all the desired partitions set up, I will boot into the alternate installer and do the final installation. (I don't want to do the entire thing within the alternate installer because it makes my head hurt. I do have a lot of partitions.) This has been going on for weeks now. Every time I try something different, something weird happens, and I have to try various workarounds, or switch to different tools. Basically, my partitions eventually become unstable.

Here's the latest mind boggler: Disk Utility displays nice graphical maps of your partitions. This image includes before and after screenshots showing what happens to my partitions occasionally. We start with three primary partitions and one extended partition. The extended partition goes all the way to the end of the disk. We put a small logical partition into the extended partition, at the beginning of it. We can then click on the "free" portion of the extended partition and create additional logical partitions if we like.

Afterwards, the extended partition has magically shrunk itself down until it is the same size as the small logical partition it contains. The free space has migrated out of the extended partition, and is now useless, as you can't have more than four primary+extended partitions. Disk Utility won't let you create another partition. What happened between the Before and After pictures? I don't know. I do know that I did not ever tell any tool to change the size of any partition. Moving or resizing partitions can trigger various known bugs, so I never even try to do that, I just delete partitions and start over.

View 3 Replies View Related







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