kwtip 发表于 2013-07-01 10:13

遇到个小问题,大家帮俺看看。

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s   
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w500000e0106615d1,0
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s          这个地方为什么和0盘是一样的?
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c50b85625,0
       2. c2t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t2d0s
          /pci@8,700000/scsi@6,1/sd@2,0
       3. c2t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t3d0s
          /pci@8,700000/scsi@6,1/sd@3,0
我要运行format选1盘,但是不管选0还1,最后选上的都是0盘,不知道为什么。

试过devfsadm -C命令还是不行。

还有什么命令可以试的?

kwtip 发表于 2013-07-01 12:16

# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w500000e0106615d1,0
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c50b85625,0
       2. c2t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t2d0s
          /pci@8,700000/scsi@6,1/sd@2,0
       3. c2t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t3d0s
          /pci@8,700000/scsi@6,1/sd@3,0
Specify disk (enter its number): ^D
# devfsadm -cv
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w500000e0106615d1,0
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c50b85625,0
       2. c2t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t2d0s
          /pci@8,700000/scsi@6,1/sd@2,0
       3. c2t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t3d0s
          /pci@8,700000/scsi@6,1/sd@3,0
Specify disk (enter its number): 1
selecting c1t1d0: c1t0d0s            选完1以后盘符就变0了,应该是C1T1D0的吗,变成c1t0d0了。



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
      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
format> q
# cfgadm -alv
Ap_Id                        Receptacle   Occupant   ConditionInformation
When         Type         Busy   Phys_Id
c0                           connected    configured   unknown
Jan11970 scsi-bus   n      /devices/pci@8,700000/scsi@6:scsi
c0::dsk/c0t6d0               connected    configured   unknown    unavailable
Jan11970 CD-ROM       y      /devices/pci@8,700000/scsi@6:scsi::dsk/c0t6d0
c0::rmt/0                      connected    configured   unknown    HP       C56
83A
Jan11970 tape         n      /devices/pci@8,700000/scsi@6:scsi::rmt/0
c2                           connected    configured   unknown
Jan11970 scsi-bus   n      /devices/pci@8,700000/scsi@6,1:scsi
c2::dsk/c2t2d0               connected    configured   unknown    HITACHIDK3
2EJ36NSUN36G
Jan11970 disk         n      /devices/pci@8,700000/scsi@6,1:scsi::dsk/c2t2
d0
c2::dsk/c2t3d0               connected    configured   unknown    HITACHIDK3
2EJ36NSUN36G
Jan11970 disk         n      /devices/pci@8,700000/scsi@6,1:scsi::dsk/c2t3
d0
c2::optiserver1                connected    configured   unknown    unavailable
Jan11970 unavailablen      /devices/pci@8,700000/scsi@6,1:scsi::optiserv
er1
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w500000e0106615d1,0
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c1t0d0s
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100000c50b85625,0
       2. c2t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t2d0s
          /pci@8,700000/scsi@6,1/sd@2,0
       3. c2t3d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>c2t3d0s
          /pci@8,700000/scsi@6,1/sd@3,0
Specify disk (enter its number): 1
selecting c1t1d0: c1t0d0s



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
      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
format> q

东方蜘蛛 发表于 2013-07-01 12:33

c1t1d0这个磁盘设置了volname,应该是设置错了。

kwtip 发表于 2013-07-01 12:40

回复 3# 东方蜘蛛

那怎么办呢?这个硬盘现在还选不上。


   

东方蜘蛛 发表于 2013-07-01 13:26

前两个硬盘的分区一样吗?可以不用理~

kwtip 发表于 2013-07-01 14:07

哦我搞明白了 谢谢蜘蛛。
页: [1]
查看完整版本: 遇到个小问题,大家帮俺看看。