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分區的盤片了,這里不再敘述。
總結
以上是生活随笔為你收集整理的linux内核红宝书,Solaris 10红宝书 9.3的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux系统无线怎么设置密码,LINU
- 下一篇: linux服务器延时,Linux 服务器