|

楼主 |
发表于 2018-1-29 10:00:22
|
显示全部楼层
之前一度怀疑是我买的盒子的问题,买的绿联的2.5英寸硬盘盒,带自动休眠,USB供电。猜想是不是硬盘供电不足或者是硬盘休眠导致的,就又买了一个3.5硬盘硬盘盒,带电源,插上以后发现依然有问题,感觉并不是硬盘盒的问题。
经过几天的实验,现在应该基本上解决了。应该是硬盘的问题,我刷了最新的梅林,梅林改,硬盘接上去都有问题。但是换了一个U盘插上去,超过24小时都没有断网,所以怀疑是硬盘问题。后来还是靠梅林的日志,正常重启以后,插上硬盘观察Log打印的内容- Jan 23 22:58:15 kernel: sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
- Jan 23 22:58:15 kernel: sd 0:0:0:0: [sda] Write Protect is off
- Jan 23 22:58:15 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
- Jan 23 22:58:15 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
- Jan 23 22:58:15 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
- Jan 23 22:58:15 kernel: sd 0:0:0:0: [sda] Attached SCSI disk
- Jan 23 22:58:15 usb: USB /dev/sda7(ntfs) failed to mount At the first try!
- Jan 23 22:58:15 kernel: tntfs error (device sda7, pid 2202): parse_options(): Unrecognized mount option codepage.
- Jan 23 22:58:16 usb: USB ntfs fs at /dev/sda7 mounted on /tmp/mnt/____________.
- Jan 23 22:58:16 rc_service: hotplug 2181:notify_rc restart_nasapps
- Jan 23 22:58:16 iTunes: daemon is stopped
- Jan 23 22:58:16 FTP_Server: daemon is stopped
- Jan 23 22:58:17 Samba_Server: smb daemon is stopped
- Jan 23 22:58:17 kernel: gro disabled
- Jan 23 22:58:17 Timemachine: daemon is stopped
- Jan 23 22:58:17 miniupnpd[1472]: shutting down MiniUPnPd
- Jan 23 22:58:18 kernel: gro enabled with interval 2
- Jan 23 22:58:18 Samba_Server: daemon is started
- Jan 23 22:58:19 miniupnpd[2260]: HTTP listening on port 44254
- Jan 23 22:58:19 miniupnpd[2260]: Listening for NAT-PMP/PCP traffic on port 5351
- Jan 23 22:58:20 usb: USB /dev/sda1(ntfs) failed to mount At the first try!
- Jan 23 22:58:20 kernel: tntfs error (device sda1, pid 2273): parse_options(): Unrecognized mount option codepage.
- Jan 23 22:58:20 kernel: tntfs error (device sda1, pid 2275): load_system_files(): AWindows is hibernated. Mounting read-only. Run chkdsk.
- Jan 23 22:58:21 usb: USB ntfs fs at /dev/sda1 mounted on /tmp/mnt/Windows7.
- Jan 23 22:58:22 rc_service: hotplug 2182:notify_rc restart_nasapps
- Jan 23 22:58:23 iTunes: daemon is stopped
- Jan 23 22:58:23 FTP_Server: daemon is stopped
- Jan 23 22:58:24 Samba_Server: smb daemon is stopped
- Jan 23 22:58:24 kernel: gro disabled
- Jan 23 22:58:24 Timemachine: daemon is stopped
- Jan 23 22:58:24 miniupnpd[2260]: shutting down MiniUPnPd
- Jan 23 22:58:24 kernel: gro enabled with interval 2
- Jan 23 22:58:25 Samba_Server: daemon is started
- Jan 23 22:58:25 FTP_server: daemon is started
- Jan 23 22:58:26 miniupnpd[2334]: HTTP listening on port 46765
- Jan 23 22:58:26 miniupnpd[2334]: Listening for NAT-PMP/PCP traffic on port 5351
- Jan 23 22:58:27 usb: USB /dev/sda5(ntfs) failed to mount At the first try!
- Jan 23 22:58:27 kernel: tntfs error (device sda5, pid 2346): parse_options(): Unrecognized mount option codepage.
- Jan 23 22:58:28 usb: USB ntfs fs at /dev/sda5 mounted on /tmp/mnt/____________(1).
- Jan 23 22:58:29 rc_service: hotplug 2184:notify_rc restart_nasapps
- Jan 23 22:58:30 iTunes: daemon is stopped
- Jan 23 22:58:30 FTP_Server: daemon is stopped
- Jan 23 22:58:31 Samba_Server: smb daemon is stopped
- Jan 23 22:58:31 kernel: gro disabled
- Jan 23 22:58:31 Timemachine: daemon is stopped
- Jan 23 22:58:31 miniupnpd[2334]: shutting down MiniUPnPd
- Jan 23 22:58:31 kernel: gro enabled with interval 2
- Jan 23 22:58:32 Samba_Server: daemon is started
- Jan 23 22:58:32 FTP_server: daemon is started
- Jan 23 22:58:32 miniupnpd[2398]: HTTP listening on port 33456
- Jan 23 22:58:32 miniupnpd[2398]: Listening for NAT-PMP/PCP traffic on port 5351
- Jan 23 22:58:33 usb: USB /dev/sda6(ntfs) failed to mount At the first try!
- Jan 23 22:58:33 kernel: tntfs error (device sda6, pid 2411): parse_options(): Unrecognized mount option codepage.
- Jan 23 22:58:34 usb: USB ntfs fs at /dev/sda6 mounted on /tmp/mnt/____________(2).
- Jan 23 22:58:35 rc_service: hotplug 2186:notify_rc restart_nasapps
- Jan 23 22:58:36 iTunes: daemon is stopped
- Jan 23 22:58:36 FTP_Server: daemon is stopped
- Jan 23 22:58:37 Samba_Server: smb daemon is stopped
- Jan 23 22:58:37 kernel: gro disabled
- Jan 23 22:58:37 Timemachine: daemon is stopped
- Jan 23 22:58:37 miniupnpd[2398]: shutting down MiniUPnPd
- Jan 23 22:58:37 kernel: gro enabled with interval 2
- Jan 23 22:58:38 Samba_Server: daemon is started
- Jan 23 22:58:39 miniupnpd[2461]: HTTP listening on port 47659
- Jan 23 22:58:39 miniupnpd[2461]: Listening for NAT-PMP/PCP traffic on port 5351
- Jan 23 22:59:37 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Inode is not in use!
- Jan 23 22:59:37 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Failed (error 2). Marking corrupt inode 0x3577 as bad. Run chkdsk.
- Jan 23 22:59:37 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Inode is not in use!
- Jan 23 22:59:37 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Failed (error 2). Marking corrupt inode 0x3594 as bad. Run chkdsk.
- Jan 23 22:59:55 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Inode is not in use!
- Jan 23 22:59:55 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Failed (error 2). Marking corrupt inode 0x5d5d as bad. Run chkdsk.
- Jan 23 22:59:59 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Inode is not in use!
- Jan 23 22:59:59 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Failed (error 2). Marking corrupt inode 0x1acf5 as bad. Run chkdsk.
- Jan 23 22:59:59 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Inode is not in use!
- Jan 23 22:59:59 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Failed (error 2). Marking corrupt inode 0x1ad12 as bad. Run chkdsk.
- Jan 23 23:00:22 disk_monitor: Got SIGALRM...
- Jan 23 23:00:25 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Inode is not in use!
- Jan 23 23:00:25 kernel: tntfs error (device sda5, pid 2243): ntfs_read_locked_inode(): Failed (error 2). Marking corrupt inode 0x201df as bad. Run chkdsk.
- Jan 23 23:21:54 rc_service: httpd 480:notify_rc start_diskscan
- Jan 23 23:21:54 disk_monitor: Scan manually...
- Jan 23 23:21:54 disk_monitor: start...
- Jan 23 23:21:54 disk_monitor: unmount partition
- Jan 23 23:21:56 syslog: USB partition unmounted from /tmp/mnt/Windows7
- Jan 23 23:21:56 disk_monitor: scan partition
复制代码 在之前的日志里没有发现这个内容,根据提示ntfs_read_locked_inode(): Failed (error 2). Marking corrupt inode 0x201df as bad. Run chkdsk.感觉硬盘确实有问题,要系统检测一下。
把硬盘插电脑上,用系统自带的检测修复了一下。再插到路由器上,确实暂时没有问题。
后来感觉我的硬盘的名字显示太难看(笔记本上扣下来的,原来都叫"本地磁盘",但是中文路由器识别不了,识别的名字都是"__________"),拔下来重新改成英文名字,可能是因为改完名字就直接拔了硬盘,没有弹出,再插到路由器上又提示要check。感觉硬盘还是要比U盘麻烦的多,热拔插还是不要随便在硬盘上用,又拔下来检测修复了硬盘,重新插回去。
这次路由器直接提示硬盘有问题,运行了路由器的硬盘检测,等了半天,什么动静都没有,还以为挂了呢,结果过了十几分钟好了,硬盘可以识别,内存占有率也下去了(之前基本上只要插硬盘内存就占到差不多只剩50M),这下差不多OJBK了。
接下来开始干正事,本来插硬盘就为了搭个FTP,找电信上门光猫改了桥接,路由器重置,拨号,然后打电话让电信改了公网IP,这期间重启了一次路由器,硬盘并没有提示有问题,但是内存占有率又上去了,虽然内存占有率很高,但是到目前为止大概过了快48小时,网一直还算稳定运行,没有断掉,Log也没有原来那些乱七八糟的东西,再观察一下, 回头用路由器自带的硬盘检测再check一下,看看内存占有率能不能下去。
反正目前的状态还算可以,起码我在公司可以正常使用FTP了,不像原来访问一下就再也连不上。
|
|