为zLinux快速扩展磁盘空间的步骤
|
Writing inode tables: done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 24 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. Step 6 设置自动加载 将 rd_DASD=0.0.0101加入开机配置文件/etc/zipl.conf,以使虚拟机在开机时能自动加载这块盘。 修改后的/etc/zipl.conf为 [linux-2.6.32-220.el6.s390x] image=/boot/vmlinuz-2.6.32-220.el6.s390x ramdisk=/boot/initramfs-2.6.32-220.el6.s390x.img parameters="root=/dev/disk/by-path/ccw-0.0.0100-part1 rd_NO_LUKS rd_DASD=0.0.0300 rd_NO_MD KEYTABLE=us SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_DASD=0.0.0100 rd_DASD=0.0.0101 rd_NO_LVM rd_NO_DM LANG=en_US.UTF-8" Step 7 重新加载配置文件 [root@zLINUX~]# zipl -V Using config file '/etc/zipl.conf' Target device information Device..........................: 5e:00 Partition.......................: 5e:01 Device name.....................: dasda Device driver name..............: dasd DASD device number..............: 0100 Type............................: disk partition Disk layout.....................: ECKD/compatible disk layout Geometry - heads................: 15 Geometry - sectors..............: 12 本栏目更多精彩内容:http://www.bianceng.cn/OS/Linux/ (编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |

