linux内核红宝书,Solaris 10红宝书 9.3

/sbus@2,0/QLGC,isp@2,10000/sd@0,0

1. /dev/rdsk/c1t1d0s0 /sbus@2,0/QLGC,isp@2,10000/sd@1,0

(4)选择新的硬盘号码,进入硬盘设置菜单,使用下面命令进入分区菜单:

format> partition

(5)查看分区情况:

partition> print

(6)修改分区设置:

partition> modify

(7)写入lalel标识中:

partition>label

(8)离开分区菜单:

partition>quit

(9)保存设置,并退出:

format>save

format>quit

#

(10)使用命令newfs来为每一个分区创建文件系统:

#newfs /dev/rdsk/c?t?d?s?

(11)修改/etc/vfstab文件,使新的硬盘分区可以在系统启动的时候别自动mount。

2.在x86平台上增添第2块硬盘

在x86平台上添加第2块硬盘比起在SPARC平台上稍微复杂些。因为x86平台上有个fdisk分区的概念。fdisk分区是区分Solaris系统分区和其他如DOS分区、Linux分区的,毕竟大多数x86平台都可以运行着多操作系统,而在SPARC平台上就没有这些考虑了。

在fdisk分区之后,只有分给Solaris系统的硬盘部分,我们才可以和在SPARC平台上一样进行盘片的分割。限于篇幅,这部分我们将不再叙述,请参见上面的SPARC部分。

下面我们主要介绍x86的fdisk分区:

format> fdisk

Total disk size is 3498 cylinders

Cylinder size is 1199 (512 byte) blocks

Cylinders

Partition Status Type Start End Length %

========= ====== ====== ===== === ====== ===

1 Active DOS-BIG 1 699 699 20

可以看出原盘只有DOS分区,下面建立Solaris分区:

SELECT ONE OF THE FOLLOWING:

1. Create a partition

2. Specify the active partition

3. Delete a partition

4. Change between Solaris and Solaris2 Partition IDs

5. Exit (update disk configuration and exit)

6. Cancel (exit without updating disk configuration)

Enter Selection: 1

选择1,则可创建分区。

Indicate the type of partition you want to create

1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other

5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG

9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32

D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit?1

键入1,则可选择创建Solaris分区。

Indicate the percentage of the disk you want this partition

to use (or enter "c" to specify in cylinders). 80

指出分区的大小百分比。

Should this become the active partition? If yes, it will be

activated each time the computer is or turned on.

Please type "y" or "n". y

键入y,设定为活动分区。

Total disk size is 3498 cylinders

Cylinder size is 1199 (512 byte) blocks

Cylinders

Partition Status Type Start End Length %

========= ====== ========= ===== === ====== ===

1 DOS-BIG 1 699 699 20

2 Active Solaris2 700 3497 2798 80

SELECT ONE OF THE FOLLOWING:

1. Create a partition

2. Specify the active partition

3. Delete a partition

4. Change between Solaris and Solaris2 Partition IDs

5. Exit (update disk configuration and exit)

6. Cancel (exit without updating disk configuration)

Enter Selection:5

键入5,选择退出fdisk分区设置。

接下来就是划分Solaris分区的盘片了,这里不再叙述。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值