免费注册 查看新帖 |

Chinaunix

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

[系统管理] 大神们快来看看,有关硬盘挂在问题 [复制链接]

论坛徽章:
2
亥猪
日期:2015-01-19 15:47:392015年亚洲杯之朝鲜
日期:2015-04-08 16:27:18
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-08-14 12:49 |只看该作者 |倒序浏览
Linux操作系统挂载硬盘,啥叫手动挂载?
设备号没有自动识别出现,能采取手动挂载么?
只能通过mount挂载么?
mount  /dev/设备号 /挂载目录 这样是手动挂载么?


接上sata之后
  1. root@SBC8118:/# ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe fr
  2. ozen
  3. ata1: irq_stat 0x00400040, connection status changed
  4. ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
  5. ata1: hard resetting link
  6. ata1: SATA link down (SStatus 0 SControl 300)
  7. ata1: EH complete
  8. ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050202 action 0xe frozen
  9. ata1: irq_stat 0x00000040, connection status changed
  10. ata1: SError: { RecovComm Persist PHYRdyChg CommWake DevExch }
  11. ata1: hard resetting link
  12. ata1: SATA link down (SStatus 0 SControl 300)
  13. ata1: EH complete
  14. ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050202 action 0xe frozen
  15. ata1: irq_stat 0x00000040, connection status changed
  16. ata1: SError: { RecovComm Persist PHYRdyChg CommWake DevExch }
  17. ata1: limiting SATA link speed to 1.5 Gbps
  18. ata1: hard resetting link
  19. ata1: SATA link down (SStatus 0 SControl 310)
  20. ata1: EH complete
  21. ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe frozen
  22. ata1: irq_stat 0x00000040, connection status changed
  23. ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
  24. ata1: limiting SATA link speed to 1.5 Gbps
  25. ata1: hard resetting link
  26. ata1: SATA link down (SStatus 1 SControl 310)
  27. ata1: EH complete
复制代码
dev目录下没有对应设备号

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
2 [报告]
发表于 2014-08-14 13:02 |只看该作者
全是错误, 盘根本不能被访问. 或者是硬盘坏了, 或者是驱动不对.

论坛徽章:
2
亥猪
日期:2015-01-19 15:47:392015年亚洲杯之朝鲜
日期:2015-04-08 16:27:18
3 [报告]
发表于 2014-08-14 13:21 |只看该作者
硬盘挂载的驱动我在内核编译的时候已经支持了啊,是要对应硬盘型号写相应的驱动么?回复 2# q1208c


   

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
4 [报告]
发表于 2014-08-14 13:22 |只看该作者
回复 3# 791605975

你能换块硬盘试试不?

你的错误是在 总线上的. 我不能确定是硬盘本身, 还是你的driver 的问题.
   

论坛徽章:
2
亥猪
日期:2015-01-19 15:47:392015年亚洲杯之朝鲜
日期:2015-04-08 16:27:18
5 [报告]
发表于 2014-08-14 13:25 |只看该作者
我换了个装了ubuntu的硬盘,能识别,不能自动挂载
  1. root@SBC8118:/# ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe fr
  2. ozen
  3. ata1: irq_stat 0x00000040, connection status changed
  4. ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
  5. ata1: hard resetting link
  6. ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  7. ata1.00: ATA-7: HTS541060G9SA00, MB3IC60H, max UDMA/100
  8. ata1.00: 117210240 sectors, multi 0: LBA48
  9. ata1.00: configured for UDMA/100
  10. ata1: EH complete
  11. scsi 0:0:0:0: Direct-Access     ATA      HTS541060G9SA00  MB3I PQ: 0 ANSI: 5
  12. sd 0:0:0:0: Attached scsi generic sg0 type 0
  13. sd 0:0:0:0: [sda] 117210240 512-byte logical blocks: (60.0 GB/55.8 GiB)
  14. sd 0:0:0:0: [sda] Write Protect is off
  15. sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
  16. sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO
  17. or FUA
  18. sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 >
  19. sd 0:0:0:0: [sda] Attached SCSI disk
  20. EXT2-fs (sda8): error: couldn't mount because of unsupported optional features (
  21. 240)
  22. EXT3-fs (sda8): error: couldn't mount because of unsupported optional features (
  23. 240)
  24. EXT3-fs (sda8): error: couldn't mount because of unsupported optional features (
  25. 240)
  26. EXT2-fs (sda8): error: couldn't mount because of unsupported optional features (
  27. 240)
  28. attempt to access beyond end of device
  29. sda2: rw=0, want=4, limit=2
  30. EXT2-fs (sda2): error: unable to read superblock
  31. attempt to access beyond end of device
  32. sda2: rw=0, want=4, limit=2
  33. EXT3-fs (sda2): error: unable to read superblock
  34. attempt to access beyond end of device
  35. sda2: rw=0, want=4, limit=2
  36. EXT2-fs (sda6): error: couldn't mount because of unsupported optional features (
  37. 240)
  38. EXT3-fs (sda2): error: unable to read superblock
  39. attempt to access beyond end of device
  40. sda2: rw=0, want=4, limit=2
  41. EXT2-fs (sda2): error: unable to read superblock
  42. EXT3-fs (sda6): error: couldn't mount because of unsupported optional features (
  43. 240)
  44. EXT3-fs (sda6): error: couldn't mount because of unsupported optional features (
  45. 240)
  46. EXT2-fs (sda5): error: couldn't mount because of unsupported optional features (
  47. 240)

  48. EXT2-fs (sda6): error: couldn't mount because of unsupported optional features (
  49. 240)
  50. EXT3-fs (sda5): error: couldn't mount because of unsupported optional features (
  51. 240)
  52. EXT3-fs (sda5): error: couldn't mount because of unsupported optional features (
  53. 240)
  54. EXT2-fs (sda5): error: couldn't mount because of unsupported optional features (
  55. 240)
  56. EXT2-fs (sda9): error: couldn't mount because of unsupported optional features (
  57. 240)
  58. EXT3-fs (sda9): error: couldn't mount because of unsupported optional features (
  59. 240)
  60. EXT3-fs (sda9): error: couldn't mount because of unsupported optional features (
  61. 240)
  62. EXT2-fs (sda9): error: couldn't mount because of unsupported optional features (
  63. 240)

  64. root@SBC8118:/# fdisk -l

  65. Disk /dev/sda: 60.0 GB, 60011642880 bytes
  66. 255 heads, 63 sectors/track, 7296 cylinders
  67. Units = cylinders of 16065 * 512 = 8225280 bytes

  68.    Device Boot      Start         End      Blocks  Id System
  69. /dev/sda1   *           1        1961    15751701   7 HPFS/NTFS
  70. /dev/sda2            1962        7296    42852353   5 Extended
  71. /dev/sda5            1962        2024      499712  83 Linux
  72. /dev/sda6            2024        3240     9764864  83 Linux
  73. /dev/sda7            3240        3483     1951744  82 Linux swap
  74. /dev/sda8            3483        5306    14647296  83 Linux
  75. /dev/sda9            5306        7296    15984640  83 Linux
  76. root@SBC8118:/# df
  77. Filesystem           1K-blocks      Used Available Use% Mounted on
  78. ubi0:rootfs              94212     93112      1100  99% /
  79. none                     62504       100     62404   0% /dev
  80. tmpfs                    62504        20     62484   0% /var/volatile
  81. tmpfs                    62504         0     62504   0% /dev/shm
  82. tmpfs                    62504         0     62504   0% /media/ram
  83. root@SBC8118:/#
复制代码
回复 4# q1208c


   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
6 [报告]
发表于 2014-08-14 13:55 |只看该作者
你的那个Ubuntu的硬盘分区格式是什么,是不是ext4?
你的内核fs部分有没有选择支持ext4?

论坛徽章:
2
亥猪
日期:2015-01-19 15:47:392015年亚洲杯之朝鲜
日期:2015-04-08 16:27:18
7 [报告]
发表于 2014-08-14 14:18 |只看该作者
嗯,是ext4的格式,貌似没注意是否支持ext4的文件系统格式回复 6# chenyx


   

论坛徽章:
2
亥猪
日期:2015-01-19 15:47:392015年亚洲杯之朝鲜
日期:2015-04-08 16:27:18
8 [报告]
发表于 2014-08-14 14:19 |只看该作者
是在menuconfig里面修改么?回复 6# chenyx


   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
9 [报告]
发表于 2014-08-14 14:22 |只看该作者
en,编译内核的时候选上

论坛徽章:
2
亥猪
日期:2015-01-19 15:47:392015年亚洲杯之朝鲜
日期:2015-04-08 16:27:18
10 [报告]
发表于 2014-08-14 15:54 |只看该作者
嗯,谢谢回复 9# chenyx


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP