General :: Resize A Filesystem In Fedora And Opensuse?
Nov 10, 2010
how to resize a filesystem in fedora and opensuse does any one know how to resize the filesystem in fedora and opensuse i have succeded in doing it in centos using fdisk i did the following steps i delete the partition using d then i create a new partition using n and then i save the changes then i run resize2fs and its done but in fedora and opensuse its not happening.
I'd like to share with you an experiment. look at following steps: create an empty file with a low level tool like "dd"
# dd if=/dev/zero of=fatimage bs=512 count=200K
we now have an about 100MB zeroed file.
format it with mkdosfs (FAT16)
# mkdosfs fatimage
now we have a 100MB fat filesystem. We could check it with dosfsck. Mount it on loop, and copy saome data in it, so that it have a percentage of used space of about 30% (I've tried to copy on it a 30MB data directory). Then umount it.
# mount -o loop -t auto fatimage mountpoint # cp -a $data mountpoint # umount mountpoint
check filesystem with dosfscheck. We can notice used clusters and verify bytes used on that filesystem. And we could evalutate a space amuont to shrink the filesystem... why? Just for a didactical test. we could decide to shrink our 100MB filesystem to 50 MB: we have about 30 MB of data cpied on it, so there wil be anout 70 MB of free space. How to resize 100MB fat filesystem to shrink it from 100MB to 50 MB? If I had used an ext2/3 (or ext4 too but I don't know it) or a ntfs filesystem, I would easly been able to shrink it with resize2fs or ntfsresize. But as regards Fat filesystem I don't know any tool that work just on the filesystem.
I've tried, fatresize, but It return a strange error... searching for I suspect it is deeply based on parted and it expects to work on a partition not only on a filesystem like that described above. So is there anyone who knows, which tool I could use to shrink that filesystem? If you wolud like to make the test following above steps and tring to use fatresize program I will be grateful if you report your results there.
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage *Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
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.
I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
the resize of the window in gnome in 11.3 was by dragging a blue screen indicating the resize area of the window now its by dragging the whole window which results in a very sluggish experience on my intel VGA here how can i change it to the old blue way ?
ive installed it before but that was with help and i want to dualboot it on my laptop with windows when i get to partitioning setup it tries to delete my windows partition and says "cannot resize due to inconsistent fs." for my windows c drive and recovery drive i dont want to delete it becouse i have data on it.
I want to install linux next to my Windows 7 Ultimate x64 and changed my windows partition from 700GB to 100GB. Now I want to use the other 600GB for linux and formatted it in Paragon Partition manager.
But when I try to install OS 11.4 I get the message that it can't resize the partition because of the type (which is NTFS) and it wants to delete the whole disc including the windows partition. How do I fix this? Do I need to delete the 600GB partition again in Paragon so its unallocated and then use Suse on it?
Or can I better first install Linux and then Windows? (for next time so it would be nice if the above worked out)
The thing is I can resize the window vertically, but horizontally I cannot. When I put the pointer on the right or left edge of lancelot window the pointer becomes the resize pointer, but usual click and drag does not do anything on the window. Vertically it works fine.
Can I just delete Lancelot setting file to reset it? It seems I could not find where the settings are.
The openSUSE 11.2 installation disk doesn't want to let me resize my NTFS-based WinXP partition; it just says that the fs is inconsistent and that I should check this issue in windows... But even though I've scheduled diskcheck to run after a reboot, it doesn't! Is there some way of "forcing" the diskcheck to run upon startup, or how else can I resolve this issue (without re-installing my entire system)?
I used linux for a long time now, mostly ubuntu-based distros but these days I decided to try openSUSE. Must say, It is a really nice distro, with lots of new features. There is one that I never seen before but I admit it is very useful: the auto resize window feature. I use the 11.3 (KDE) (milestone 4) version. Just wanted to ask if this is a package for ths or is hard-coded into the system? And is it KDE-specific?
The document WNIOSEK O WPIS DO KRS has a CORS logo as an embedded graphic in row 2. The document opens in OpenOffice Writer but the logo is visible at the natural size only; as soon as I enlarge/reduce the picture, either by changing the view resolution or resizing the picture, it just disappears. It happens both in Edit mode and in Print PreviewI tried to export the graphic to a separate image but it did not work. There is a command Save graphics in the context-sensitive menu; it is undocumented either in the Customisation dialogue I used that command and the resulting image was blank. Copy/paste to GIMP via the X Clipboard gives the same blank result.
I have connected and used external display 1920x1080After disconnecting the display it looks like panel remained huge size and I can not resize it as panel button is outside of the desktop:You see the same button in the top right corner? I'm missing exact one in the bottom right corner
During install process I assigned only 6GB for my root partition and now I'm almost running out of space. I have 11.1 installed and I wanted to update to 11.3 but there are problems with i855 video card with newest distro versions so I won't install it. Since everything is installed and configured I don't want to install 11.1 again.
Ladies and gentlemen, I announce my 1st Qt4 application - Baires. Baires is a program that helps you easily resize bunch of pictures from one directory and place it to the same or another, with just one click (after initial setup, of course). With help of @microchip8, who built spec, RPMs and placed them to his repositories, I have now made an "official" download page at my site.
I used QParted to size one my hard drive's NTFS partition to make unallocated space available to install SUSE. QParted created the the unalloacted space fine and I got SUSE up and running.
However, the NTFS partition is messed up. The QParted GUI and the SUSE's Disk management GUI shows it as NTFS drive with 319 GB space. However, nothing seem to be able to read/write to it. QParted gives a warning "Unable to read contents of this file system! Because of this some operations maybe unavailable." Is there any way to fix this NTFS partition so I can recover data from it?
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.
I'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.
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....