免费注册 查看新帖 |

Chinaunix

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

遇到个小问题,大家帮俺看看。 [复制链接]

论坛徽章:
4
申猴
日期:2013-08-28 13:29:09天秤座
日期:2013-12-31 16:54:51技术图书徽章
日期:2014-03-31 10:00:412015亚冠之北京国安
日期:2015-10-08 16:19:12
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 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命令还是不行。

还有什么命令可以试的?

论坛徽章:
4
申猴
日期:2013-08-28 13:29:09天秤座
日期:2013-12-31 16:54:51技术图书徽章
日期:2014-03-31 10:00:412015亚冠之北京国安
日期:2015-10-08 16:19:12
2 [报告]
发表于 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了。
[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
        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     Condition  Information
When         Type         Busy     Phys_Id
c0                             connected    configured   unknown
Jan  1  1970 scsi-bus     n        /devices/pci@8,700000/scsi@6:scsi
c0::dsk/c0t6d0                 connected    configured   unknown    unavailable
Jan  1  1970 CD-ROM       y        /devices/pci@8,700000/scsi@6:scsi::dsk/c0t6d0
c0::rmt/0                      connected    configured   unknown    HP       C56
83A
Jan  1  1970 tape         n        /devices/pci@8,700000/scsi@6:scsi::rmt/0
c2                             connected    configured   unknown
Jan  1  1970 scsi-bus     n        /devices/pci@8,700000/scsi@6,1:scsi
c2::dsk/c2t2d0                 connected    configured   unknown    HITACHI  DK3
2EJ36NSUN36G
Jan  1  1970 disk         n        /devices/pci@8,700000/scsi@6,1:scsi::dsk/c2t2
d0
c2::dsk/c2t3d0                 connected    configured   unknown    HITACHI  DK3
2EJ36NSUN36G
Jan  1  1970 disk         n        /devices/pci@8,700000/scsi@6,1:scsi::dsk/c2t3
d0
c2:ptiserver1                connected    configured   unknown    unavailable
Jan  1  1970 unavailable  n        /devices/pci@8,700000/scsi@6,1:scsi:ptiserv
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
[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
        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

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
3 [报告]
发表于 2013-07-01 12:33 |只看该作者
c1t1d0这个磁盘设置了volname,应该是设置错了。

论坛徽章:
4
申猴
日期:2013-08-28 13:29:09天秤座
日期:2013-12-31 16:54:51技术图书徽章
日期:2014-03-31 10:00:412015亚冠之北京国安
日期:2015-10-08 16:19:12
4 [报告]
发表于 2013-07-01 12:40 |只看该作者
回复 3# 东方蜘蛛

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


   

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
5 [报告]
发表于 2013-07-01 13:26 |只看该作者
前两个硬盘的分区一样吗?可以不用理~

论坛徽章:
4
申猴
日期:2013-08-28 13:29:09天秤座
日期:2013-12-31 16:54:51技术图书徽章
日期:2014-03-31 10:00:412015亚冠之北京国安
日期:2015-10-08 16:19:12
6 [报告]
发表于 2013-07-01 14:07 |只看该作者
哦我搞明白了 谢谢蜘蛛。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP