CentOS 5 :: Root Partition Is Completely Full And Want To Extend
Oct 25, 2010I also tried to use Gparted but I couldn't install it :(
My root partition is completely full and I want to extend it.
df -h :
fdisk -l
I also tried to use Gparted but I couldn't install it :(
My root partition is completely full and I want to extend it.
df -h :
fdisk -l
Have VMWARE workstation 7. Have to extend partition /dev/sda1 mounted to /home/user
1. Originally /dev/sda was 10gb I've extended device via VMWARE to 30gb.
2. When I do: fdisk /dev/sda it tells me that /dev/sda 30gb
3. when I check: df -h /home
it shows 10GB
4. How I can make Linux see the 30gb at /home/user?
Got problems with apt. So I discovered if I remove some stuff from root partition apt works normally again.
So I tested to copy 1GB file to root, but in the middle says disk is full, but there should be 1.8GB free if I type df -h.
Code:
Select alldf -h
Filesystem Size Used Avail Use% Mounted on
rootfs 4.0G 2.2G 1.8G 56% /
tmpfs 10M 4.0K 10M 1% /dev
/dev/md0 4.0G 2.2G 1.8G 56% /
tmpfs 492M 0 492M 0% /dev/shm
[Code] ...
I few months ago I was forced to do a fresh clean install of Karmic becasue my root partition (then 80 GB) was full. I shooulkd have used a LiveCD to resize partitions then but I didn't so when I installed Karmic this time I ended up with a 160GB partition for /.Color me surprised when last night I got a message that / was at less than 5% free space.
1. I routinely do a apt clean so the cache is not an issue.
2. I do not store backups on /. I use rsnapshot to same backup on an external hard drive.
3. I use Virtualbox but all my hard drives (VDI) are on /home.
I am having trouble logging into my ubuntu 11.04 desktop. When I type my username and password to login my screen goes blue, as if it is going to next show my desktop wallpaper, but then it loops back to the login screen. I had no idea why and so I went to ALT-F1 and typed in "df" and it turns out that my root partition is full. This is strange since I set aside 40GB for it and I didn't install anything or that many programs that would fill it up. Anyhow, is this fixable by booting to a live cd and using gparted to make root bigger or is there a better way to fix this?
View 6 Replies View RelatedI recently installed Lenny and used the "Guided - Use Entire Disk" option.I made separate partitions for root, /etc, /var, /home, /usr and swap.I trusted that the auto partitioner would choose sensible sizes but possibly that was a bad move, root is only 340Mb and is full.
View 8 Replies View Relatedi built a rpm package, which i figured out later that i wont be needing, so i deleted the rpm file and also the build package put together they were abt 5.8 GB... but my system monitor shows that only 700MB of space is available the 5.8 GB is not visible but its gone
View 9 Replies View RelatedI wonder if this is possible to extend or regrow the Linux hard disk partition from 8 GB to 20 GB without losing the existing data on the partition ?at the moment this Ubuntu Linux is deployed on top of VMware and I've just regrow the hard drive from 8 GB into 20 GB but can't see the effect immediately.can anyone suggest how to do this without losing the data ?
View 9 Replies View RelatedI had been copying "vmkd" files all of which are very large (11gig) each and later deleted them and it appears some I had deleted using "root" I reached a point when it couldn't do it and it said it couldn't because trash bin was full. Sure enough I found my root partition (20gigs) was full. I went root and emptied its trash bin which freed up about (4gigs) of space. I just set up a new system (11.2) on another drive and have setup it up with exactly the same programs as the system I'm having a problem with and the new systems root partition only has (6gigs) in the root partition. Question; how do I clean out my problem root partition?
View 6 Replies View RelatedI know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible.
Code:
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM.
1. Resized the vmdk in ESX (+1G)
2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan
3. fdisk shows me the new size... so far so good
4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm)
5. wrote config to disk
6. executed partprobe
7. pvresize /dev/sdc
Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.
Here is screenshot showing my current partition in Gparted.
Screenshot-1.jpg
What I want to do is shrink the one (Ubuntu) and extend the other (XP) so that that they are more or less the same size. How?
I have a disk partitioned, with windows on on one partition, ubuntu appears to be installed on an extended partition ... and iv run out of space... i need to extend the partition that ubuntu is installed on by 40gb
I have tried downloading gparted... burning it to a cd and then booting from the cd .. but i get upto a message that says use at your own risk then my system just reboots ....
I would like to know if is possible extend a partition using one disk. I have 50 GB on /dev/vdf2 and would like to add on:
/dev/vdc1 50G 6.4G 41G 14% /home3
And this partition will have 100G of space..
How can I extend /home or / partition through LVM. Is this possible ?
View 8 Replies View RelatedI have created one partition. Now I want to extend that partition without formatting it.
View 3 Replies View RelatedMy linux server working with LVM partition and with /boot partition, now my /boot partition is full, now i need to extend my boot partition. can i know how to do it, without any data loss.
View 5 Replies View RelatedI have my harddisk partitioned with fdisk. It has seven partitions. I have some important data in my /home partition. The /home partition is almost full. I want to extend the size of /home. Mind you I'm not using LVM. Can I use LVM now and add another harddisk to extend the /home partition. Will I lose my data. Or do I have to re-install linux?
View 3 Replies View RelatedI have an Asus eee, it has a solid state drive which has been partitioned with a 4GB and 8GB partition. I installed Fedora 14 onto the 4GB partition but I am running out of space. I have formatted the 8GB partition with ext4 but I am unsure the best way to create more space for the default installation. Can I extend my / partition onto the 8GB partition or possible move the /swap partition onto it?
View 5 Replies View RelatedI have 60 plus GBs of free space left in my Vista partition that I would like to devote to my ubuntu install.
View 9 Replies View RelatedIs there any way to use unallocated space to extend a partition that isn't close to that partition? there is an image attached, I can extend /dev/sda2 but not /dev/sda1 ( the one that i want to) I used the live cd to run gparted.I had to move /dev/sda2 to to the right and then extend /dev/sda1
View 1 Replies View RelatedI want to run gparted off the cd so that I can extend the ubuntu partition of my computer...I hdownloaded the gparted iso file and burnt it onto a CD...but how do i run the software?.... there appears to be 3 folders on the cd (isolinux, live and syslinux) and two other files 'copying' and 'g-parted live version' - these two are both text files...
View 9 Replies View RelatedHowto write Grub into a root partition instead of MBR on Centos 5.6 using CentOS-5.6-i386-LiveCD?
View 1 Replies View RelatedI am dual-booting 11.04 alongside windows 7. I shrunk my w7 partition, and would like to extend my ubuntu partition to fill up the remaining space. When I boot from GParted live cd, and attempt to 'move/resize' my ubuntu partition, it simply fails. It doesn't really give an error message either, simply 'failed to move/resize [partition name]'
View 4 Replies View Relatedi want to extend my existing partition size,but it should do it without formatting my operating system.i don't have the solution.Is this possible?if possiblsolution.hope somebody should give the answer
View 5 Replies View RelatedI installed the Centos 5.5 on a WM instance. Run out of space after doing the updates. It is very difficult to keep re-partitioning /
I tried to install a new instance but it doesn't let me configure the disc and it just goes and install the OS.
How can I use the good old installation options etc?
What happened to control? This became a control nightmare.
With the release of CentOS 5.5 ext4 is considered stable in this distribution so I decided to migrate to it. Luckily I started from migrating fresh server with CentOS 5.5 using some instruction I found on the internet. I think I shouldn�t say, that I screwed the whole thing up ;) After about 6 hours cursing, kicking, and crying I solved the task and figured the correct sequence of actions. The small problem with migrating root partition is that you can�t unmount it BTW.
During migration task, I found, that CentOS 5.5 rescue mode is somewhat broken a little in terms of ext4 support. It can mount ext4 partitions successfully. But its e2fsprogs package (tune2fs, e2fsck etc.) doesnt see ext4 partitions and say, that superblock is corrupted on a partition once is converted to ext4 (at least it did it for me. May be I should force filesystem type with -t ext4 switch?). Keep in mind, that if you screw your system up too badly, you will not be able to run tune2fs and e2fsck on it from rescue modeBut you will still able to mount it if it is not corrupted badly. In all below examples,Boot your system normally and login as root. Upgrade kernel if you wish (I usually use yum upgrade to upgrade all on new machines). Then upgrade/install some other packages
I have just configure RAID 1 on my IBM X3400 Server in CENTOS 5 ..Partition information is md0 boot , md1 swap and md2 is root ....but after resyn when i run cat /proc/mdstat I realize that md0 and md1 is ok and present with [UU] status. BUT the md2 is showing on one [U_].. that means my root partition is not properly in RAID 1.. how can i make it active in both drive. Or i need to reinstall complete system again. Screen shot attached [URL]
View 2 Replies View RelatedI have a dual boot Ubuntu 10.04 and Vista laptop.
My Ubuntu partions /dev/sda4 extended, which contains a /dev/sda5 ext4 and a /dev/sda6 ntfs partition.
Vista is on /dev/sda2 ntfs. I would like to wipe vista out, turn off dual boot (if possible) and use the space taken by vista to extend my /dev/sda6 ntfs partition in ubuntu.
I have an Acer Aspire Netbook running a dual boot with Xp and Ubuntu Netbook Version (Lucid Lynx if I am not mistaken?) Anyway I plan on selling this netbook and I need to remove the Ubuntu Partition and go back to just a full Windows Xp partition with it's recovery partition also.
View 2 Replies View RelatedSo I tried adding a new, 2nd hard drive to my Ubuntu 9.04 desktop for some additional storage and only managed to kill my system so that it won't boot up anymore (I just get a blinking cursor after the BIOS does its thing).I could sure use a little help getting back to a functioning system, and then adding the second drive. I tried following the instructions from this link to add the 2nd drive:
(So the forum rules won't let me post the link, neato. Here it is with spaces added):
h t t p s : / / h e l p . u b u n t u . c o m / c o m m u n i t y / I n s t a l l i n g A N e w H a r d D r i v e
[code]....