Red Hat / Fedora :: Resize My /home Partition To 3gb Without No Loss Of Content?
Jul 29, 2010My partions are this:
How to resize my /home partition to 3gb without no loss of content?
My partions are this:
How to resize my /home partition to 3gb without no loss of content?
In the process of preupgrading to FC12. Towards the end of the process I get a warning that my /boot partition isn't big enough (12 recommends minimum of 300Mb).
My disks:
[root@fatbeast boot]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_fatbeast-lv_root
35G 6.6G 28G 20% /
/dev/sda1 194M 176M 8.4M 96% /boot
/dev/mapper/vg_fatbeast-LogVol02
29G 25G 3.2G 89% /home
tmpfs 1.9G 676K 1.9G 1% /dev/shm
/dev/sdb 7.5G 319M w7.2G 5% /media/CDF2-6BE2
[root@fatbeast boot]#
Is there a tool I can use to resize my existing partitions WITHOUT data loss? I've been using gparted up to now for sorting partition stuff, does that maintain data when resizing (assuming I run from a boot CD or USB rather than a running system)?
fter my first fedora 10 installation I reinstalled FC 10 keeping my home partition from the first install.I then installed a software as a USER which indeed installs applications on USER's home. Now I'm short of space for installing the applications and so I want to resize my existing home (of USER).Can this be done without reinstallation? Can I borrow needed amount of space from the home partition of 1st install.also I have unformatted and unpartitioned free space can this be made use of? Or the only way is to reinstall
View 4 Replies View Relatedl 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
Recently installed Fedora 14 64 bit on a hardware RAID 1 from distro DVD, and set up an LVM with an encrypted /home partition. I now need to resize (enlarge) the /home partition and have not been able to do it due to system-config-lvm telling me:
"Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi)"
I have tried doing this logged in as user, and also as root. I've tried with a Live CD, but an additional problem there is that the Live does not recognize the hardware RAID and tells me I have the same /home partition in two devices, which are the two disks in the RAID array, and refuses to resize.
I found this link:
< https://help.ubuntu.com/community/Re...ptedPartitions >
which details a rather complex process to achieve what I want, but I am wondering if there is an easier way ?...
PS... forgot to mention I have been able to successfully resize all other LV's within the LVM, so I am assuming it is the encryption that is causing the problem....
I installed Fedora 13, but did not expect it would set up a LVM on the entire remaining unpartitioned space.
So I'm now trying to resize the partition the LVM is on. I already resized lv_home using system-config-lvm... however now lv_swap resides at the end of the physical volume. If I assume correctly that this also means that it resides at the end of the sda6 partition, I need to move it in order to resize the partition.
It now looks like this: [URL]
How would I go about moving lv_swap right next to lv_home? And how can I actually resize the partition? gparted doesn't seem to be able to resize lvm2 partitions.
I'm running Fedora Core 14 on my server and in copying over all the stuff I had backed up before the install, i recived the message that one of my volumes was nearly out of space. Since this is just a partition on my hard drive, I could resize it to make it larger, but I don't know how. It's a ext4 partition on my 2nd hard drive.
View 10 Replies View RelatedI've been upgrading a Fedora server over the years. Once it was Fedora Core 2 now it is Fedora 10. Now I want to continue the upgrade process and upgrade the server to Fedora 11. The problem is that the boot partition is 100MB but Fedora 11 wants a 200MB boot partition. Looking at Fedora 13 it seems a boot partition of 500MB is gonna be the norm. I would just resize the boot partition but there is a LVM directly after it taking up the rest of the drive.
How do I resize my boot partition in this scenario?
My current line of thought is to use G4L to backup both partitions, then restore the boot partition to a large drive, increase the size with parted then restore the LVM backup after it.
So far G4L has been reluctant to backup the boot partition of Fedora on a test rig to an NTFS drive. Not sure if I should be backing up the image to a ext3 drive.
I have Vista and F11 dual booted on my system. I wan't to resize Fedora(I think Vista has already been shrunk as far as It can) and install Debian as a third OS. Fedora takes up all the free space and I am only using a small amount of the partition. I am not sure of the best way to do this. Can I boot the Debian live cd and resize Fedora at the partion step? Or do I need to boot a live F11 cd, repartition and then boot the debian cd? Or is there a better way?
View 1 Replies View RelatedI threw F12 KDE on my spare rig and wanted to throw Ubuntu on it as dual boot so I can play around with different things in each flavor. I installed F12 across the entire drive and later decided I wanted to try Ubuntu with it dual boot. I booted to Ubuntu's LiveCD and fired up GParted - but GParted can't resize the partition. It just gives me a 200mb EXT4 partition and "lvm2".
View 2 Replies View RelatedCan I resize an encrypted partition with gparted?
View 2 Replies View RelatedI'm using Fedora 14 x86_64.I want to take 200GB from the /home Extended-Logical Partition, and install Archlinux on it, how do I do that? In this 200GB Free Extended Space I want to create another 4 Logical Partitions for Archlinux.
View 7 Replies View RelatedInstalled a test system and I messed up. I let the installer use the entire 200gb for F12 install when I only wanted to use 100gb. Since it is test and new install I could just blow it away and start over but decided to use this as a learning opportunity. I chose all the defaults on the install so my partition is ext4. Since the partition I want to resize is in use while the system is up, I need to do this offline.
I have read a bit and it looks like there are couple of methods I could use. I have an install DVD and a Live CD so I could use either. If I could use a GUI that would be nice but I do not know how to access that if there is one. I have already booted to the Live CD and figured out how to access the command line tools (resize2fs and lvm) although I have not figured out how to use them yet.
Unable to resize fedora 12 lvm parition with gparted. Need to resize to make room for ubuntu linux on same drive. When the fedora lvm parition is selected gparted says "No lvm support at this time". I am using gparted through the pmagic (partedmagic) linux boot disk. I have almost the lastest pmagic (5.7) there is a pmagic 5.8 on source forge.
View 2 Replies View RelatedI want to resize my Fedora 10 partition down from 150gb to 100gb but GParted 0.4.3-1 doesn't seem to want to touch it since its using LVM. Is there anything I can do?
View 7 Replies View RelatedOk so I have one drive. /boot /lv_root and /lv_swap
At the end of the drive I have 32 gigs of free space still contained in the logical volume group. I want to remove it from the LVG but this is on one device. Supposedly there is a way to do this, pvresize and fdisk.
[URL]
Quote:
Originally Posted by source
#I've tried to shrink the PV with pvresize which didn't throw errors -
Good.
#but fdisk still shows me the same LVM partition size as before.
That's normal. pvresize "just" updates the PV header and VG metadata.
#So I guess the partition table has to be modified somehow?
Yes. That was mentioned in my reply: "Then shrink the partition in the partition table."
You can use fdisk or any other partition table editor for this. Some don't support resizing a partition. In that case, you can delete and create a smaller one. If doing the delete/create dance, you *must* create the new partition on the same cylinder boundary as the current one to preserve the current data.
Ive read from every source on LVM its not possible to do this. Why on earth would any Linux developer put LVM on a single drive system by default? Were they even paying attention? I dont mean to go off on a rant but if there are multiple drives LVM makes sense. However if you only have one large drive LVM holds your system hostage and you have to crawl thru the pit of hell to get it back.
I understand you have a choice in the matter when you install Fedora but its really the worst possible choice for default. Many newcomers to Linux run into this problem with LVM. If you cannot resize LVG's the software should have never been put into a Linux distro in the first place.
I've just installed Fedora 14 over an old Ubuntu (heron, I think). The old install used a single partition for both / and /home; and I wanted to try to avoid reinstalling /home if possible (but yes, I did back it up). I chose the anaconda option to shrink the old Ubuntu /, and created a new LVM for the Fedora /. This seemed to work perfectly. I mounted the old / on '/host' (an old naming habit), and then mounted individual home dirs into /home using autofs. All seemed fine. However, on my first reboot after the autofs mounts fsck failed. The current situation is as follows:
# fsck /dev/sda6
fsck from util-linux-ng 2.18
e2fsck 1.41.12 (17-May-2010)
The filesystem size (according to the superblock) is 15360000 blocks
The physical size of the device is 15359895 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes
# dumpe2fs /dev/sda6 | grep 'Block count'
dumpe2fs 1.41.12 (17-May-2010)
Block count: 15360000
# dumpe2fs -o superblock=32768 /dev/sda6 | grep 'Block count'
dumpe2fs 1.41.12 (17-May-2010)
Block count: 15360000
Same thing for all the other backup superblocks I've tried.
# echo '15360000 4 * p' | dc
61440000
# fdisk -s /dev/sda6
61439583
Resize2fs tells me to run fsck, and complains of a short read if I try to force. Fsck seems to run fine if I say 'no' to the abort prompt, but doesn't change the problem. Filesystem is ext3. Started with debugfs. First used icheck and ncheck to work out which file(s) had been written to the non-existent blocks past the partition size. Fortunately, there was only one. Deleted that file (can restore it from backup later). Quit debugfs. Now resize2fs -p -f worked perfectly. fsck after resizing was clean. Reboot seems happy. As for the origin of the problem, I would guess there's a rounding bug in the code anaconda uses to shrink partitions.
Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.
View 5 Replies View RelatedI installed fedora 13 64 bit and it works great but I encountered several issues when setting up guest OS with KVM. The problem seems to be related to selinux. But let me first ask question about logical volume. By Default fedora created logical volumes:
[Code].....
"If you expect that you or other users will store data on the system, create a separate partition for the /home directory within a volume group. With a separate /home partition, you may upgrade or reinstall Fedora without erasing user data files." seems to suggest I have to create a separate physical partition and assign that to /home. But reading elsewhere it seems to suggest logical volume acts like a partition. My goal is to make it easy in case fedora is hosed and I have to re-install it without affecting /home where my cirtical data resides. Given above do I need to create a separate physical partition or I am just fine?
I have a second hard disk that originally had windows and all my data. Windows is hosed but I can see my data from within Fedora and Windows is gone and I created created new partition in its place which used ot be the C:/ drive appears as 53 Gb filesystem. My data which was originally D drive appears as 215 GB filesystem. As given in [URL] I want to create a new logical volume in 53 Gb filesystem which I want to use as space for virtual disk to install guest OS's in KVM. Currrently 53 GB filesystem is mounted as /media/3467BH89JK789 but this does not work well with KVM. how do I create this logical volume out of 53 Gb filesystem partition and add proper selinux info and do I add to vg_vostrolx volume group and in a different volume group?
I am doing a fresh install of Fedora 10 64bit on my PC. What I have done is, freshly installed Vista Home Premium 64 bit on the entire Hard Drive (680GB), then fired up the live CD and told the installer to resize sda1 (The windows partition) to about a 60:40 ratio. I intend to dual boot the system
Now the thing is, it's been running for half an hour now and there's no progress indicator on the installer so I don't know if its actually doing anything. Well there is a progress indicator but it's nonsensical, it just moves backward and forwards. The HDD indicator LED on my computer is flashing every now and again, but not constantly as I expect it to?
I have a computer with windows xp on it, and i want to dual boot with fedora 11. I have 2 hard drives in it, 1 500gb HD and 1 350gb HD. the 350 isnt much concern b/c its just sitting there all free and unpartitioned right now. Now my 500gb is split into 3 partitions, a 20gb(with xp installed on it) a 105 gb with pretty much nothing on it and a 350gb with all my data.
My problem is I'm trying to resize my 20gb partition through the fedora 11 installer and when I tell it to resize say to 10gb it starts and fails the resize. its a NTFS partition and the windows stuff on the partition is only about 8gb. any idea whats going on? the only error I get is "The resize has failed"
I have around 30gb of free space in my partition table immediately before the Linux partition. I want to resize my linux partition to take up this space.
I tried booting with live cd, sucessfully umounted the hard drive but found I could not resize the partition. On clicking the 'edit size' button, partition manager recognised the free space before the partition but when i reduced this, the 'ok' button was greyed out. (it was not greyed out for the windows partition so I could, in theory, increase the windows partition to take up the free space but this is not what i wanted to do).
I am pretty sure that I had managed to unmount the drive correctly as the padlock symbol had dissapeared (I took the attached screenshot, which does show the lock symbol, after rebooting into my normal system).
Anyone got any ideas as to why it wont allow this? There is no reason why i can resize the partition to take up the free space BEFORE it is there?
i installed fedora kde 32 bit and iam realy loving it. but i want to resize my home partition as i got a message there is no space in my home folder i downloaded a Disk utility application .... to try and resize .... but looks like i dont know what to do
View 3 Replies View RelatedI've been using an old Fortigate-60 at home for the kids for some time but now the license is expired again. Are there any free or inexpensive alternatives? I'd like something I can run on a linux firewall and share against multiple users, with different profiles. In the past I ran squid and I whitelisted sites each kid was allowed to use but this becomes tedious as the kids get older and need access to more. I'd love something that could check a website rating or category list, let the user through for certain categories, and block bad or unrated sites. I don't really need virus checking or email scanning or the like.
View 1 Replies View RelatedThis forum might not be the best place for this question, but some people here are pretty knowledgeable and may have more insight than I do about this. Anyways, I'm thinking about expanding an NTFS (Windows 7) partition on my desktop computer into unallocated space. I know that there is a risk when shrinking a NTFS partition due to fragmentation but are there any risks of data loss from expanding a NTFS partition? My common sense tells me there isn't a risk but I want to be 100% sure I won't lose any files.
View 4 Replies View RelatedI needed to install a new OS on a new HD but i also need the data on the old HD which has some problems (it doesn't boot anymore). The problem is that in the old one i had linux (Slackware) and so it doesn't allow me to view the content of the folder /home/myself. If there was something possible to do to recover all the data or if it will be forever lost.
View 1 Replies View RelatedI installed ubuntu under windows. i reinstalled windows, though the linux partition is intact. howcan i reuse them without losing data ?
View 1 Replies View RelatedWhat are the advantages of the multiple partition setups other than resistance to data loss in crashes? Is there any other reason to have a special partition just for your boot directory (kernel files and config) than surviving a major crash?
Also, is it possible to make the Debian installer accept an existing set of partitions? Or even alter the size of the automatically created partitions? Does expert mode let you control the partitions? How many other very detailed things would I have to know to use expert mode, though?
I'm currently using fedora 11 and going to upgrade to fedora 12 and I want to seperate my home partition from root partition. Fedora 11 is on extended partition.
View 1 Replies View RelatedI've installed fedora 14(fresh installation) on extended partition.(~25GB).But I found that I've one standard partition of size 30MB.So should I install fedora on standard partition or LVM?I heard people saying that having home on seperate partition is good.But seperate partition means seperate physical partition or logical partition(also)?
View 2 Replies View Related