Re: lvm/ext3 resize

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

 



b.ally@xxxxxxxxxxxx wrote:

So, the steps i have so far:

boot rescue mode

# tune2fs -O ^has_journal /dev/hda          # discontinue journaling

You don't need to do that. If you wanted to do it anyway, you'd do it on the filesystem (/dev/VolGroup00/LogVol00), and not the disk (/dev/hda).

# lvm
lvm > vgscan
lvm > vgchange --available y VolGroup00
lvm > exit
e2fsck -f /dev/VolGroup00/LogVol00          # check & repair
resize2fs -p /dev/VolGroup00/LogVol00 20G   # resize to 20G
e2fsck -f /dev/VolGroup00/LogVol00          # check & repair

# lvm
lvm > lvreduce -L20G /dev/VolGroup00/LogVol00
lvm > lvcreate -L55.25G -nhome              # create volume for /home
lvm > exit
e2fsck -f /dev/VolGroup00/LogVol00          # check & repair
e2fsck -f /dev/VolGroup00/home              # check & repair

All looks good up until the last step. You need to 'mkfs -t ext3 /dev/VolGroup00/home' before you can fsck it.

Am I heading for a re-install?

Well, it never hurts to have a backup, but my experience with the tools has been good.


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

  Powered by Linux