LVM_resize+根目录下各个目录的作用

Today I felt happy because I solved a problem on LVM resizing which defeated me last time I came across it.It felt good to conquer it.Now I will describe the problem.
As time goes by,the data on my /home is booming and It is said that the free space of the /home is low.
Here is my partition structure:
lv lv_var250G(mount /var) lv_home200G(mount /home)
vg vg01
pv /dev/sda1
Clearly,my partition is not wise because the /var doesn’t need so many space.
So I wanna shrank the /var and extend the /home.
I tried it in the winter holiday but failed.And finally I have to reinstall the virtual machine.
The right sequence of the LVM_resize is below.
Because the /var stores

  • /var 某些大文件的溢出区,比如说各种服务的日志
  • /mnt 供用户临时挂载其他文件系统
  • /tmp 共用的临时文件存储点
  • /lost+found非正常关机留下的“无家可归”的文件
  • /proc 虚拟的目录,是系统内存的映射,可以直接访问这个目录来获取系统信息
  • /usr 要用到的应用程序和文件几乎都在这个目录
    /usr/bin 众多应用
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值