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
说明:如果之前没有进行过fdisk操作,这里会提示是否把所有的硬盘空间建立成unixware分区,回答y即可。如果之前已经做过fdisk,那么这里就会直接进入fdisk菜单界面,直接退出就可以了(当然你也可以在这里改变系统分区)
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
说明:一般情况下不需要进行硬盘表面扫描,回答n跳过扫描步骤
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.
说明:输入希望建立的分区数,按照上面的分析,回答最大分区数13
How many slices/filesystems do you want created on the disk (1 - 13)? 13
说明:对于前12个分区,输入目录(这里的目录没有实际意义,但是必须输入,只要保证不重复就可以了),选择操作系统(由于是裸设备,因此操作系统输入na),回答是否在启动时自动mount(裸设备不需要mount,回答no)
Please enter the absolute pathname (e.g., /home3) for
slice/filesystem 1 (1 - 32 chars)? /h01
Enter the filesystem type for this slice (vxfs,ufs,s5,sfs), type 'na'
if no filesystem is needed, or press <ENTER>; to use the default (vxfs): na
Should /h01 be automatically mounted during a reboot?
Type "no" to override auto-mount or press <ENTER>; to enable the option: no
Please enter the absolute pathname (e.g., /home3) for
slice/filesystem 2 (1 - 32 chars)? /h02
Enter the filesystem type for this slice (vxfs,ufs,s5,sfs), type 'na'
if no filesystem is needed, or press <ENTER>; to use the default (vxfs): na
Should /h02 be automatically mounted during a reboot?
Type "no" to override auto-mount or press <ENTER>; to enable the option: no
…………………………
说明:对于最后一个分区,输入目录(这里的目录必须要输入的,也就是以后建立文件设备时都放在这个目录下),选择操作系统(直接回车选择vxfs),选择block size(直接回车),回答是否在启动时自动mount(直接回车回答y)
Please enter the absolute pathname (e.g., /home3) for
slice/filesystem 13 (1 - 32 chars)? /newdata
Enter the filesystem type for this slice (vxfs,ufs,s5,sfs), type 'na'
if no filesystem is needed, or press <ENTER>; to use the default (vxfs):
Specify the block size from the the following list
(1024, 2048, 4096, 8192), or press <ENTER>; to use the first one:
Should /newdata be automatically mounted during a reboot?
Type "no" to override auto-mount or press <ENTER>; to enable the option:
说明:接下去回答每个分区的尺寸,在unixware里以硬盘柱面为单位,可以根据下面的提示自己计算,对于裸设备分区,大小最好超过2GB(别超太多,一点点就够了),因为操作系统和Sybase本身都需要用到一些空间的。最后一个分区把所有剩下的柱面都给它。
You will now specify the size in cylinders of each slice.
(8 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 /h01 (0 - 3074)?
Press <ENTER>; for 0 cylinders: 257
There are now 2817 cylinders available on your disk.
The filesystem type you have chosen is limited to 1048576 cylinders.
How many cylinders would you like for /h02 (0 - 2817)?
Press <ENTER>; for 0 cylinders: 257
………………
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 /newdata (0 - 2800)?
Press <ENTER>; for 0 cylinders: 2800
说明:这里将显示出设置的所有分区的内容,最后再检查一次,如果正确回答y继续,否则回答n返回后重头再来。
You have specified the following disk configuration:
A /h01 filesystem with 257 cylinders (2049.0 MB)
A /h02 filesystem with 257 cylinders (2049.0 MB)
………………
A /newdata filesystem with 2800 cylinders (22400.0 MB)
Is this allocation acceptable to you (y/n)? y
说明:最后对建立的文件系统回答inode数量,直接回车
Filesystems will now be created on the needed slices
Creating the /newdata filesystem on /dev/rdsk/c0b0t1d0sf
Allocated approximately 716768 inodes for this file system. Specify a
new value or press <ENTER>; to use the default:
UX:diskadd: INFO: Diskadd for Disk Drive 2 DONE at Fri Sep 05 14:47:16 EDT 2004