(VMware)Solaris 10添加新硬盘

(VMware)Solaris 10添加新硬盘

一:装载硬盘到SUN主机,开机进入系统。

二:运行format命令,先选择要进行分区格式化的磁盘

bash-3.2# format        #查看已经挂接上的硬盘
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <VMware,-VMware Virtual -1.0  cyl 1955 alt 2 hd 255 sec 63>
         
/pci@0,0/pci15ad,1976@10/sd@0,0
       1. c1t1d0 <VMware,-VMware Virtual -1.0  cyl 1021 alt 2 hd 64 sec 32>
         
/pci@0,0/pci15ad,1976@10/sd@1,0
Specify disk (enter its number): 1      #选择1硬盘
selecting c1t1d0
[disk formatted]

FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        fdisk      - run the fdisk program
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit


三:输入命令fdisk,对硬盘进行分区后,退出fdisk界面。
format> p    #新硬盘,要先用fdisk格式化后,才能用partition进行分区,不然会有提示如下:
Please run fdisk first

format> fdisk
No fdisk table exists. The default partition for the disk is:

  a 100% "SOLARIS System" partition

Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.
y

四:输入命令partition,在格式化硬盘后,进行分区
format> p       

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值