查看solaris下安装硬盘个数

(编辑:jimmy 日期: 2024/11/15 浏览:2)

format命令可以看有几块物理盘

Searching for disks...done
AVAILABLE DISK SELECTIONS:
      0. c0t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
         /pci@1f,4000/scsi@3/sd@0,0
      1. c0t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
         /pci@1f,4000/scsi@3/sd@1,0
      2. c0t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
         /pci@1f,4000/scsi@3/sd@2,0
      3. c0t3d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
         /pci@1f,4000/scsi@3/sd@3,0
      4. c2t0d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
         /pci@6,4000/scsi@4/sd@0,0
      5. c2t1d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
         /pci@6,4000/scsi@4/sd@1,0
      6. c2t2d0 <SUN9.0G cyl 4924 alt 2 hd 27 sec 133>
         /pci@6,4000/scsi@4/sd@2,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]

随便选一个盘 再按Q退出菜单。也可直接按Ctrl+D的组合键退出