Temat: problem z dyskiem HDD na USB
Witam, mam problem z dyskiem zewnętrznym podłączonym do USB routera WR1043nd poprzez huba. Mam zrobionego extroota na tym samym hubie. Dysk HDD jest SATA podłączony poprzez przejściówkę SATA - USB. Generalnie po pierwszym zainstalowaniu wszystko działa i jest widoczny w przestrzeni LAN (jako zmapowany dysk). Mam również uruchomione DLNA i HDIdle. Taka konfiguracja działa kilka dni. Potem - nie wiem z czym to jest związane - dysk przestaje być widoczny w całości, tzn. zamiast 700GB jest 14,2MB i to bez zawartości. Próbuję restartować router, ale bez skutecznie. Jedynym rozwiązaniem staje się odmontowanie wszystkich dysków i postawienie wszystkiego na nowo (włacznie z extrootem).
W logach po restarcie mam:
Aug 30 22:46:29 Router daemon.notice ntfs-3g[2022]: Version 2011.4.12 external FUSE 29
Aug 30 22:46:29 Router daemon.notice ntfs-3g[2022]: Mounted /dev/sdb (Read-Write, label "", NTFS 3.1)
Aug 30 22:46:29 Router daemon.notice ntfs-3g[2022]: Cmdline options:
Aug 30 22:46:29 Router daemon.notice ntfs-3g[2022]: Mount options: allow_other,nonempty,atime,fsname=/dev/sdb,blkdev,blksize=4096
Aug 30 22:46:29 Router daemon.notice ntfs-3g[2022]: Ownership and permissions disabled, configuration type 1
Aug 30 22:46:32 Router user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Aug 30 22:46:32 Router user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Aug 30 22:46:32 Router user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: started, version 2.66 cachesize 150
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Aug 30 22:46:36 Router daemon.info dnsmasq-dhcp[2304]: DHCP, IP range 192.168.1.100 -- 192.168.1.159, lease time 5h
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: using local addresses only for domain lan
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: reading /tmp/resolv.conf.auto
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: using nameserver 192.168.2.1#53
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: using nameserver 192.168.2.1#53
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: using local addresses only for domain lan
Aug 30 22:46:36 Router daemon.info dnsmasq[2304]: read /etc/hosts - 22 addresses
Aug 30 22:46:36 Router daemon.info dnsmasq-dhcp[2304]: read /etc/ethers - 19 addresses
Aug 30 22:46:37 Router user.err syslog: error starting threads: errno 89 (Function not implemented)
Aug 30 22:46:37 Router user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Aug 30 22:46:37 Router user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Aug 30 22:46:37 Router user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Aug 30 22:46:37 Router user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Aug 30 22:46:39 Router daemon.info hostapd: wlan0: STA 60:a4:4c:c4:1b:2b IEEE 802.11: authenticated
Aug 30 22:46:39 Router daemon.info hostapd: wlan0: STA 60:a4:4c:c4:1b:2b IEEE 802.11: authenticated
Aug 30 22:46:39 Router daemon.info hostapd: wlan0: STA 60:a4:4c:c4:1b:2b IEEE 802.11: associated (aid 1)
Aug 30 22:46:39 Router daemon.info hostapd: wlan0: STA 60:a4:4c:c4:1b:2b WPA: pairwise key handshake completed (RSN)
Aug 30 22:46:43 Router user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Aug 30 22:46:43 Router user.info sysinit: (Did you specify correct configuration file path?)
Aug 30 22:46:43 Router user.notice root: vsftpd init: mounted = 1
Aug 30 22:46:43 Router user.notice root: vsftpd init: got_lock = 1
Aug 30 22:46:45 Router user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Aug 30 22:46:46 Router user.info sysinit: setting up led USB
Aug 30 22:46:46 Router user.info sysinit: setting up led WLAN
Aug 30 22:46:48 Router user.info sysinit: [2014/08/30 22:46:48] minidlna.c:601: error: Media directory "/tmp/usb_mount/9AE0BDEAE0BDCCAF/" not accessible [No such file or directory]
Aug 30 22:46:50 Router kern.warn kernel: [ 91.970000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:46:50 Router kern.warn kernel: [ 91.980000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:46:50 Router kern.info kernel: [ 92.460000] Adding 244728k swap on /dev/sda2. Priority:-1 extents:1 across:244728k
Aug 30 22:46:57 Router kern.warn kernel: [ 98.770000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:46:57 Router kern.warn kernel: [ 98.770000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:46:57 Router kern.info kernel: [ 98.840000] Adding 244728k swap on /dev/sda2. Priority:-1 extents:1 across:244728k
Aug 30 22:46:59 Router kern.warn kernel: [ 101.400000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:46:59 Router kern.warn kernel: [ 101.400000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:46:59 Router kern.info kernel: [ 101.460000] Adding 244728k swap on /dev/sda2. Priority:-1 extents:1 across:244728k
Aug 30 22:47:01 Router kern.warn kernel: [ 102.770000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:47:01 Router kern.warn kernel: [ 102.770000] disktype: sending ioctl 5305 to a partition!
Aug 30 22:47:01 Router kern.info kernel: [ 102.830000] Adding 244728k swap on /dev/sda2. Priority:-1 extents:1 across:244728k
Aug 30 22:47:50 Router kern.warn kernel: [ 152.380000] ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
Aug 30 22:47:50 Router kern.warn kernel: [ 152.390000] old minutes west=0, new minutes west=-120
Success
Czy macie jakiś pomysł co jest nie tak? Hub jest oczywiście z zasilaczem.