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