加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

为zLinux快速扩展磁盘空间的步骤

发布时间:2016-10-23 08:55:41 所属栏目:Linux 来源:网络整理
导读:本文的目的: 假设zLINUX这个z/VM用户只定义了两块盘,在user directory中定义如下: MDISK 0300 FB-512 V-DISK 131072 MDISK 0100 3390 1 10016 VMC2F9 W 映射

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/

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读