Wednesday, March 30, 2005

fedora core 3

there is not enough disk space for my fc3 in vmware.

i followed the below command to expend the disk size, but mission fail.

because i have not init1 * umount the lvm....

i need to reinstall fc3 in vmware

LVM2の使い方
!!!注意!!!今のところsnapshot機能はまともに動きません。最悪復旧できなくなる恐れがあるので、テスト目的以外では使わない方がいいです。 # /sbin/lvm help
でコマンド一覧が出ます。
たとえばLogVol01に割りあてられている/homeをリサイズして10G増やすには、以下のようにすればOKです。 # init 1 # umount /home # /sbin/lvm lvextend -L+10G /dev/Volume00/LogVol01 # /sbin/e2fsck -f /dev/Volume00/LogVol01 # /sbin/resize2fs /dev/Volume00/LogVol01
また、メタデータの形式をLVM2に移行する場合は、 # /sbin/lvm vgconvert -M2 Volume00
(ただしこれをやると元には戻れなくなるようです)

No comments: