- 論壇徽章:
- 0
|
unixware 上安裝新硬盤(IDE接口)的步驟:
1。做好硬盤的物理連接,確認(rèn)在CMOS下已經(jīng)識(shí)別到新的硬盤。
2。以root身份登陸系統(tǒng)
3。如果安裝的是第二塊硬盤則只要在遠(yuǎn)程終端運(yùn)行diskadd 1 命令即可(此處注意:在控制臺(tái)運(yùn)行該命令時(shí),可能會(huì)提示無(wú)此命令)。如果安裝的是第三塊硬盤以后的,則要加完整的設(shè)備名(C1b0t0d0之類,此處沒(méi)實(shí)踐過(guò))。
4.根據(jù)提示進(jìn)行下面的操作:
# diskadd 1
UX:diskadd: INFO: You have invoked the System V disk management (s5dm)
diskadd utility.
The purpose of this utility is to set up additional disk drives.
This utility can destroy the existing data on the disk. Do you wish to continue? (Type y for yes or n for no followed by ENTER): y
The recommended default partitioning for your disk is:
a 100% "UNIX System" partition.
To select this, please type "y". To partition your disk differently, type "n" and the "fdisk" program will let you select other partitions. y
Surface analysis of your disk is recommended but not required.
Do you wish to skip surface analysis? (y/n) n
You will now be queried on the setup of your disk. After you
have determined which slices will be created, you will be
queried to designate the sizes of the various slices.
How many slices/filesystems do you want created on the disk (1 - 13)? 1
Please enter the absolute pathname (e.g., /home3) for
slice/filesystem 1 (1 - 32 chars)? /home3
Enter the filesystem type for this slice (vxfs,ufs,s5,sfs), type 'na'
if no filesystem is needed, or press to use the default (vxfs):
Specify the block size from the following list
(1024, 2048, 4096, 8192), or press to use the first one:
Should /home3 be automatically mounted during a reboot?
Type "no" to override auto-mount or press to enable the option:
You will now specify the size in cylinders of each slice.
(One megabyte of disk space is approximately 1 cylinders.)
There are now 3074 cylinders available on your disk.
The filesystem type you have chosen is limited to 1048576 cylinders.
How many cylinders would you like for /home3 (0 - 3074)?
Press for 0 cylinders: 274
There are now 2800 cylinders available on your disk.
The filesystem type you have chosen is limited to 1048576 cylinders.
How many cylinders would you like for /usr2 (0 - 2800)?
Press for 0 cylinders: 2800
You have specified the following disk configuration:
A /home3 filesystem with 274 cylinders (274.0 MB)
Is this allocation acceptable to you (y/n)? y
Filesystems will now be created on the needed slices
Creating the /home3 filesystem on /dev/rdsk/c0b0t1d0s1
Allocated approximately 70112 inodes for this file system. Specify a
new value or press to use the default:
Creating the /usr2 filesystem on /dev/rdsk/c0b0t1d0s2
Allocated approximately 716768 inodes for this file system. Specify a
new value or press to use the default:
UX:diskadd: INFO: Diskadd for Disk Drive 2 DONE at Fri Sep 05 14:47:16 EDT 1997
此實(shí)例添加了新硬盤并創(chuàng)建了一個(gè)/home3的vxfs文件系統(tǒng)分區(qū)
小結(jié):
有一點(diǎn)沒(méi)太搞明白,就是在用fdisk命令查看的時(shí)候只看到了原來(lái)的硬盤,卻沒(méi)看到新添加
的硬盤,但新建的分區(qū)已可以使用。
本文來(lái)自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u/12360/showart_79483.html |
|