免费注册 查看新帖 |

Chinaunix

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

我的机子有2个硬盘,为何在装系统时只能看到一个? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-12 11:53 |只看该作者 |倒序浏览
请问各位,我怎样加载第二个硬盘?谢谢!

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
2 [报告]
发表于 2006-05-12 11:59 |只看该作者
RP问题,呵呵!
什么机型?什么OS版本?format输出贴出来看看!

论坛徽章:
0
3 [报告]
发表于 2006-05-12 12:20 |只看该作者
SunOS 5.8

login: admin
Password:
Last login: Fri May 12 11:33:06 from 219.144.199.83
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf358f0a,0
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf35906c,0
Specify disk (enter its number): 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
        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> quit
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf358f0a,0
       1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000004cf35906c,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.


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> quit
#

论坛徽章:
0
4 [报告]
发表于 2006-05-12 12:25 |只看该作者
我也遇到一回```在format下能看到两块盘``
就是装系统在分区里只能看见一块```不知道你是不是这种情况
到最后还是换了一块硬盘```OK

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
5 [报告]
发表于 2006-05-12 12:26 |只看该作者
什么意思?format不是能看到两个硬盘吗?搂住怎么不回答我的问题?

论坛徽章:
0
6 [报告]
发表于 2006-05-12 12:39 |只看该作者
format结果我已经贴在第三楼。format可以看到2个盘,但是我装系统时看不到,为什么?

还有,现在最主要的是我的第二个硬盘如何启用?我的系统已经装完了,我想把这第二个盘引导在/opt目录下(因为现在看来这个目录太小了),这又该如何操作?谢谢!

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
7 [报告]
发表于 2006-05-12 12:58 |只看该作者
晕,/opt是系统目录,在装系统的时候最好是确定好,现在想扩大就比较麻烦了!
可以参考我的这片文档:
http://www.cublog.cn/u/524/?u=ht ... howart.php?id=35893

第二个硬盘你要怎么用啊?如果要当作一个分区用就用下面方法:
# newfs /dev/rdsk/c1t1d0s2
# mkdir /data
# mount /dev/dsk/c1t1d0s2 /data

论坛徽章:
0
8 [报告]
发表于 2006-05-12 13:11 |只看该作者
谢谢蜘蛛。我还是先把第二硬盘搞定再说吧,实在不行重装了。

下面是我的系统分区:
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t0d0s0    3931384 1076403 2815668    28%    /
/dev/dsk/c1t0d0s6    3931384  608696 3283375    16%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
/dev/dsk/c1t0d0s3    16129341  225797 15742251     2%    /var
swap                 11673688      16 11673672     1%    /var/run
swap                 11698472   24800 11673672     1%    /tmp
/dev/dsk/c1t0d0s7    2333904 1792639  494587    79%    /opt
#


没有第二硬盘对吧,(我在新装机时也没有发现第二硬盘)。我按照你所说,准备将第二硬盘mount上,但是出现下面错误

# newfs /dev/rdsk/c1t1d0s2
newfs: /dev/rdsk/c1t1d0s2 last mounted as /usr
newfs: construct a new file system /dev/rdsk/c1t1d0s2: (y/n)? n

这个错误能否解释我的系统为何无法识别第二硬盘吗?我看应该是将第二硬盘mount在了/usr上,但是我重装还会mount在此吗?他自动mount上的?
我是否unmount就可以在装系统时看到这个硬盘?
谢谢!

论坛徽章:
0
9 [报告]
发表于 2006-05-12 13:12 |只看该作者
蜘蛛真是耐心呀

论坛徽章:
0
10 [报告]
发表于 2006-05-12 13:19 |只看该作者
再次感谢!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP