免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1607 | 回复: 0
打印 上一主题 下一主题

unixware 下如何添加新硬盘 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-28 18:32 |只看该作者 |倒序浏览
unixware 上安装新硬盘(IDE接口)的步骤:

1。做好硬盘的物理连接,确认在CMOS下已经识别到新的硬盘。
2。以root身份登陆系统
3。如果安装的是第二块硬盘则只要在远程终端运行diskadd 1 命令即可(此处注意:在控制台运行该命令时,可能会提示无此命令)。如果安装的是第三块硬盘以后的,则要加完整的设备名(C1b0t0d0之类,此处没实践过)。
4.根据提示进行下面的操作:
# 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
   
此实例添加了新硬盘并创建了一个/home3的vxfs文件系统分区

小结:
有一点没太搞明白,就是在用fdisk命令查看的时候只看到了原来的硬盘,却没看到新添加
的硬盘,但新建的分区已可以使用。
   
   




本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/12360/showart_79483.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP