- 论坛徽章:
- 0
|
要是这样,你要把阵列柜分成两个LUN,lun0映射给liunx服务器,lun1映射给liunx负载均衡服务器。不可以同时使用同一个分区。如何分区,你可以从网上搜索到。如何mount就不必说了。\r\n\r\n[root@ecofe2 /]# fdisk -l \\\\显示/dev/××的设备,判断那个是你的阵列,从容量大小\r\n[root@ecofe2 /]# fdisk /dev/hdd \\\\hdd是设备,不是分区\r\n\r\nThe number of cylinders for this disk is set to 30401.\r\nThere is nothing wrong with that, but this is larger than 1024,\r\nand could in certain setups cause problems with:\r\n1) software that runs at boot time (e.g., old versions of LILO)\r\n2) booting and partitioning software from other OSs\r\n (e.g., DOS FDISK, OS/2 FDISK)\r\n\r\nCommand (m for help):\r\n\r\n\r\n按m是显示命令帮助\r\n\r\n出现如下界面\r\n\r\nCommand action\r\n a toggle a bootable flag 设置引导扇区\r\n b edit bsd disklabel 编辑卷标(linux下使用的卷标bsd通用)\r\n c toggle the dos compatibility flag \r\n d delete a partition 删除一个分区\r\n l list known partition types 列出已知分区类型\r\n m print this menu 显示该菜单\r\n n add a new partition 添加一个新分区\r\n o create a new empty DOS partition table \r\n p print the partition table 显示分区表\r\n q quit without saving changes 保存不退出\r\n s create a new empty Sun disklabel \r\n t change a partition\'s system id 修改分区类型\r\n u change display/entry units \r\n v verify the partition table\r\n w write table to disk and exit 写入磁盘退出分区程序 \r\n x extra functionality (experts only)\r\n\r\n格式化\r\n[root@ecofe2 /]mkfs.ext3 /dev/hdd1 \r\n[root@ecofe2 /]mkfs.ext3 /dev/hdd2 \r\n\r\n\r\n大致上应该能看明白吧。\n\n[ 本帖最后由 下一秒 于 2008-10-21 14:47 编辑 ] |
|