Re: Resizing partition with LVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reuben D. Budiardja wrote:
> Hello,
> I installed FC4 with "Automatic partitioning". Now I want to resize the 
> partition of / so that I can have free space (with no partition) to install 
> other OS. Here is how my system looks like:
[snip]
> 
>>From LVM HowTo, it seems that I have to resize the filesystem first, then 
> resize the volume using lvreduce. I tried using parted by to resize the 
> partition and filesystem of /dev/hda2, but it complained about unknown 
> filesystem type.
> 
> So I am hoping for any help on how to resize /dev/hda2 so that I can have 
> about 10GB of free space. 
> 
> Thanks in advance.
> RDB
> 

I feel your pain. I went through this exercise a while back, there is
probably some good info in the archives somewhere.
Long story short, back up and restore is the safest way, otherwise you
end up hacking extent records and partition tables and even then I
managed to trash the PV and had to restore everything from scratch. 40Gb
shouldn't take too long, perhaps think about investing in an external
drive for just such things. You *do* have regular backups, right? ;-)

Kind Regards, and a merry christmas!

C.

- --
Craig McLean		http://fukka.co.uk
craig@xxxxxxxxxxx	Where the fun never starts
	Powered by FreeBSD, and GIN!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDrAVYMDDagS2VwJ4RAi4fAKD23qQI3Pw+Rk6wBK2BmlJVIr4XnACcD42I
KtW4dC/2X4i/R9UjF0zmXkk=
=qSJx
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux