为zLinux快速扩展磁盘空间的步骤
|
Done 查看这个磁盘的Linux设备名称 [root@zLINUX~]# lsdasd Bus-ID Status Name Device Type BlkSz Size Blocks ======================================================= 0.0.0100 active dasda 94:0 ECKD 4096 7042MB 1802880 0.0.0300 active dasdb 94:4 FBA 512 64MB 131072 0.0.0101 active dasdc 94:8 ECKD 4096 2347MB 601020 Step 3 将新加磁盘格式化成cdl类型磁盘 [root@zLINUX~]# dasdfmt -b 4096 -d cdl -y -f /dev/dasdc Finished formatting the device. Rereading the partition table... ok Step 4 为磁盘创建分区表,为简单起见,为整个设备只创建一个分区 [root@zLINUX~]# fdasd -a /dev/dasdc reading volume label ..: VOL1 reading vtoc ..........: ok auto-creating one partition for the whole disk... writing volume label... writing VTOC... rereading partition table... Step 5 为分区建立文件系统 [root@zLINUX~]# mke2fs -j /dev/dasdc1 mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=1 blocks, Stripe width=0 blocks 150480 inodes, 600996 blocks 30049 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=616562688 19 block groups 32768 blocks per group, 32768 fragments per group 7920 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 本栏目更多精彩内容:http://www.bianceng.cn/OS/Linux/ (编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |

