LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 732|回复: 1

哪位老大帮我调整一下分区!!!

[复制链接]
发表于 2007-5-25 12:41:07 | 显示全部楼层 |阅读模式
目前是这样的
[root@localhost ~]# fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       14593   117113850   8e  Linux LVM


[root@localhost ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root@localhost ~]#


现在要把 /home目录从/lvm卷里分离出来。 挂载到一个新的逻辑卷中。 用逻辑卷管理器可以实现吗?
我用的fc6
发表于 2007-5-25 14:34:23 | 显示全部楼层
#vgdisplay看看还有多少free pe,有的话直接lvcrate新的逻辑卷。

如果已经没有free pe了,那么你需要先resize你的"/"所在的lv("resize2fs" then "lvreduce"),然后用那些可用的pe来建立一个新的逻辑卷。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表