怎样扩容逻辑卷

 时间:2024-10-12 17:54:55

1、将上个实验中的逻辑卷vo扩展至290M:[root@linuxprobe ~]# lvextend -L 290M /dev/storage/voRounding size to boundary between physical extents: 292.00 MiBExtending logical volume vo to 292.00 MiBLogical volume vo successfully resized

2、检查磁盘完整性,重置硬盘容量:[root@linuxprobe ~觥终柯计]# e2fsck -f /dev/storage/voe2fsck 1.42.9 (28-Dec-2013)Pass 1多唉捋胝: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary information/dev/storage/vo: 11/38000 files (0.0% non-contiguous), 10453/151552 blocks [root@linuxprobe ~]# resize2fs /dev/storage/voresize2fs 1.42.9 (28-Dec-2013)Resizing the filesystem on /dev/storage/vo to 299008 (1k) blocks.The filesystem on /dev/storage/vo is now 299008 blocks long.

3、重新挂载硬盘设备并查看挂载状态:[root@linuxprobe ~]# mount -a[root@linuxprobe ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/mapper/rhel-root 18G 3.0G 15G 17% /devtmpfs 985M 0 985M 0% /devtmpfs 994M 80K 994M 1% /dev/shmtmpfs 994M 8.8M 986M 1% /runtmpfs 994M 0 994M 0% /sys/fs/cgroup/dev/sr0 3.5G 3.5G 0 100% /media/cdrom/dev/sda1 497M 119M 379M 24% /boot/dev/mapper/storage-vo 279M 2.1M 259M 1% /linuxprobe

  • 手机如何清除百度云缓存?
  • [苹果]ipad/iphone导出照片和视频方法
  • 替换特殊符号(excel悲伤,word示爱)
  • excel如何快速制作星级图
  • 幕布如何设置进入主题方式
  • 热门搜索
    语文手抄报内容大全 小学生读书手抄报图片 廉洁在我心中手抄报 英语手抄报版面设计图 关于孝的手抄报内容 廉洁手抄报资料 青春的手抄报 元宵节手抄报英语版 英雄不朽手抄报 有关动物的手抄报