SD Karte ist randvoll

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • SD Karte ist randvoll

      Moin
      Seit einiger Zeit läuft SHC sehr unstabil und in den letzten Tagen
      bleibt es stehen.
      Habe festgestellt das die SD Karte (16GB) voll ist. Die Datei messages
      in /var/log ist der Übeltäter.
      Gestern habe ich die Datei (12GB) auf Null gesetzt und heute morgen
      war die Datei wieder auf ca. 12GB.

      Im Net habe ich einiges über zugrosse Logdateien gelesen.
      Mit folgender Anleitung konnte ich die Datei zwar löschen
      aber nach mehren Tagen war das Problem wieder da.

      Quellcode

      1. sudo mv /var/log/messages /var/log/messages-backup
      2. sudo cp /dev/null /var/log/messages
      3. sudo CURDATE=`date +"%m%d%y"`
      4. sudo mv /var/log/messages-backup /var/log/messages-$CURDATE
      5. sudo gzip /var/log/messages-$CURDATE
      6. sudo reboot
      Alles anzeigen

      Auch mit logrotate habe ich probiert. Mit dem erstelltem Skript passiert nichts.

      Quellcode

      1. /var/log/messages {
      2. rotate 1
      3. daily
      4. postrotate
      5. /sbin/killall -HUP syslogd
      6. endscript
      7. }
      Wie kann ich herrausfinden was die Datei so füllt. Öffnen lässt sich wegen der Grösse die Datei nur schwierig.
      Kann besser Hardware als Software !

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von premo ()

    • Habe mal genullt und sieht nach ca 2 Minuten so aus.

      Quellcode

      1. write: 10 is not logged in on 1
      2. write: 10 is not logged in on 0
      3. write: 10 is not logged in on 1
      4. write: 10 is not logged in on 0
      5. write: 10 is not logged in on 1
      6. write: 10 is not logged in on 0
      7. write: 10 is not logged in on 1
      8. write: 10 is not logged in on 0
      9. write: 10 is not logged in on 1
      10. write: 10 is not logged in on 0
      11. write: 10 is not logged in on 1
      12. write: 10 is not logged in on 0
      13. write: 10 is not logged in on 1
      14. write: 10 is not logged in on 0
      15. write: 10 is not logged in on 1
      16. write: 10 is not logged in on 0
      17. write: 10 is not logged in on 1
      18. write: 10 is not logged in on 0
      19. write: 10 is not logged in on 1
      20. write: 10 is not logged in on 0
      21. write: 10 is not logged in on 1
      22. write: 10 is not logged in on 0
      23. write: 10 is not logged in on 1
      24. write: 10 is not logged in on 0
      25. write: 10 is not logged in on 1
      26. write: 10 is not logged in on 0
      27. write: 10 is not logged in on 1
      28. write: 10 is not logged in on 0
      29. write: 10 is not logged in on 1
      30. write: 10 is not logged in on 0
      31. write: 10 is not logged in on 1
      32. write: 10 is not logged in on 0
      33. write: 10 is not logged in on 1
      34. write: 10 is not logged in on 0
      35. write: 10 is not logged in on 1
      36. write: 10 is not logged in on 0
      37. write: 10 is not logged in on 1
      38. write: 10 is not logged in on 0
      39. write: 10 is not logged in on 1
      40. write: 10 is not logged in on 0
      41. write: 10 is not logged in on 1
      42. write: 10 is not logged in on 0
      43. write: 10 is not logged in on 1
      44. write: 10 is not logged in on 0
      45. write: 10 is not logged in on 1
      46. write: 10 is not logged in on 0
      47. write: 10 is not logged in on 1
      48. write: 10 is not logged in on 0
      49. write: 10 is not logged in on 1
      50. write: 10 is not logged in on 0
      51. write: 10 is not logged in on 1
      52. write: 10 is not logged in on 0
      53. write: 10 is not logged in on 1
      54. write: 10 is not logged in on 0
      55. write: 10 is not logged in on 1
      56. write: 10 is not logged in on 0
      57. write: 10 is not logged in on 1
      58. write: 10 is not logged in on 0
      59. write: 10 is not logged in on 1
      60. write: 10 is not logged in on 0
      61. write: 10 is not logged in on 1
      62. write: 10 is not logged in on 0
      63. write: 10 is not logged in on 1
      64. write: 10 is not logged in on 0
      65. write: 10 is not logged in on 1
      66. write: 10 is not logged in on 0
      67. write: 10 is not logged in on 1
      68. write: 10 is not logged in on 0
      69. write: 10 is not logged in on 1
      70. write: 10 is not logged in on 0
      71. write: 10 is not logged in on 1
      72. write: 10 is not logged in on 0
      73. write: 10 is not logged in on 1
      74. write: 10 is not logged in on 0
      75. write: 10 is not logged in on 1
      76. write: 10 is not logged in on 0
      77. write: 10 is not logged in on 1
      78. write: 10 is not logged in on 0
      79. write: 10 is not logged in on 1
      80. write: 10 is not logged in on 0
      81. write: 10 is not logged in on 1
      82. write: 10 is not logged in on 0
      83. write: 10 is not logged in on 1
      84. write: 10 is not logged in on 0
      85. write: 10 is not logged in on 1
      86. write: 10 is not logged in on 0
      87. write: 10 is not logged in on 1
      88. write: 10 is not logged in on 0
      89. write: 10 is not logged in on 1
      90. write: 10 is not logged in on 0
      91. write: 10 is not logged in on 1
      92. write: 10 is not logged in on 0
      93. write: 10 is not logged in on 1
      94. write: 10 is not logged in on 0
      95. write: 10 is not logged in on 1
      96. write: 10 is not logged in on 0
      97. write: 10 is not logged in on 1
      98. write: 10 is not logged in on 0
      99. write: 10 is not logged in on 1
      100. write: 10 is not logged in on 0
      101. write: 10 is not logged in on 1
      102. write: 10 is not logged in on 0
      103. write: 10 is not logged in on 1
      104. write: 10 is not logged in on 0
      105. write: 10 is not logged in on 1
      106. write: 10 is not logged in on 0
      107. write: 10 is not logged in on 1
      108. write: 10 is not logged in on 0
      109. write: 10 is not logged in on 1
      110. write: 10 is not logged in on 0
      111. write: 10 is not logged in on 1
      112. write: 10 is not logged in on 0
      113. write: 10 is not logged in on 1
      114. write: 10 is not logged in on 0
      115. write: 10 is not logged in on 1
      116. write: 10 is not logged in on 0
      117. write: 10 is not logged in on 1
      118. write: 10 is not logged in on 0
      119. write: 10 is not logged in on 1
      120. write: 10 is not logged in on 0
      121. write: 10 is not logged in on 1
      122. write: 10 is not logged in on 0
      123. write: 10 is not logged in on 1
      124. write: 10 is not logged in on 0
      125. write: 10 is not logged in on 1
      126. write: 10 is not logged in on 0
      127. write: 10 is not logged in on 1
      128. write: 10 is not logged in on 0
      129. write: 10 is not logged in on 1
      130. write: 10 is not logged in on 0
      131. write: 10 is not logged in on 1
      132. write: 10 is not logged in on 0
      133. write: 10 is not logged in on 1
      134. write: 10 is not logged in on 0
      135. write: 10 is not logged in on 1
      136. write: 10 is not logged in on 0
      137. write: 10 is not logged in on 1
      138. write: 10 is not logged in on 0
      139. write: 10 is not logged in on 1
      140. write: 10 is not logged in on 0
      141. write: 10 is not logged in on 1
      142. write: 10 is not logged in on 0
      143. write: 10 is not logged in on 1
      144. write: 10 is not logged in on 0
      145. write: 10 is not logged in on 1
      146. write: 10 is not logged in on 0
      147. write: 10 is not logged in on 1
      148. write: 10 is not logged in on 0
      149. write: 10 is not logged in on 1
      150. write: 10 is not logged in on 0
      151. write: 10 is not logged in on 1
      152. write: 10 is not logged in on 0
      153. write: 10 is not logged in on 1
      154. write: 10 is not logged in on 0
      155. write: 10 is not logged in on 1
      156. write: 10 is not logged in on 0
      157. write: 10 is not logged in on 1
      158. write: 10 is not logged in on 0
      159. write: 10 is not logged in on 1
      160. write: 10 is not logged in on 0
      161. write: 10 is not logged in on 1
      162. write: 10 is not logged in on 0
      163. write: 10 is not logged in on 1
      164. write: 10 is not logged in on 0
      165. write: 10 is not logged in on 1
      166. write: 10 is not logged in on 0
      167. write: 10 is not logged in on 1
      168. write: 10 is not logged in on 0
      169. write: 10 is not logged in on 1
      170. write: 10 is not logged in on 0
      171. write: 10 is not logged in on 1
      172. write: 10 is not logged in on 0
      173. write: 10 is not logged in on 1
      174. write: 10 is not logged in on 0
      175. write: 10 is not logged in on 1
      176. write: 10 is not logged in on 0
      177. write: 10 is not logged in on 1
      178. write: 10 is not logged in on 0
      179. write: 10 is not logged in on 1
      180. write: 10 is not logged in on 0
      181. write: 10 is not logged in on 1
      182. write: 10 is not logged in on 0
      183. write: 10 is not logged in on 1
      184. write: 10 is not logged in on 0
      185. write: 10 is not logged in on 1
      186. write: 10 is not logged in on 0
      187. write: 10 is not logged in on 1
      188. write: 10 is not logged in on 0
      189. write: 10 is not logged in on 1
      190. write: 10 is not logged in on 0
      191. write: 10 is not logged in on 1
      192. write: 10 is not logged in on 0
      193. write: 10 is not logged in on 1
      194. write: 10 is not logged in on 0
      195. write: 10 is not logged in on 1
      196. write: 10 is not logged in on 0
      197. write: 10 is not logged in on 1
      198. write: 10 is not logged in on 0
      199. write: 10 is not logged in on 1
      200. write: 10 is not logged in on 0
      201. write: 10 is not logged in on 1
      202. write: 10 is not logged in on 0
      203. write: 10 is not logged in on 1
      204. write: 10 is not logged in on 0
      205. write: 10 is not logged in on 1
      206. write: 10 is not logged in on 0
      207. write: 10 is not logged in on 1
      208. write: 10 is not logged in on 0
      209. write: 10 is not logged in on 1
      210. write: 10 is not logged in on 0
      211. write: 10 is not logged in on 1
      212. write: 10 is not logged in on 0
      213. write: 10 is not logged in on 1
      214. write: 10 is not logged in on 0
      215. write: 10 is not logged in on 1
      216. write: 10 is not logged in on 0
      217. write: 10 is not logged in on 1
      218. write: 10 is not logged in on 0
      219. write: 10 is not logged in on 1
      220. write: 10 is not logged in on 0
      221. write: 10 is not logged in on 1
      222. write: 10 is not logged in on 0
      223. write: 10 is not logged in on 1
      224. write: 10 is not logged in on 0
      225. write: 10 is not logged in on 1
      226. write: 10 is not logged in on 0
      227. write: 10 is not logged in on 1
      228. write: 10 is not logged in on 0
      229. write: 10 is not logged in on 1
      230. write: 10 is not logged in on 0
      231. write: 10 is not logged in on 1
      232. write: 10 is not logged in on 0
      Alles anzeigen
      Kann besser Hardware als Software !
    • Liegt wohl an SHC,
      Nach stoppen von SHC füllt sich die Datei nicht mehr.
      Es wird auch dieses jetzt angezeigt.

      Quellcode

      1. write: 10 is not logged in on 1
      2. write: 10 is not logged in on 0
      3. [0;31mFehler beim Senden : der Schaltserver für den GPIO konnte nicht erreicht werden - 1510
      4. [0mwrite: 10 is not logged in on 1
      5. write: 10 is not logged in on 0
      6. write: 10 is not logged in on 1
      7. write: 10 is not logged in on 0

      Quellcode

      1. write: 10 is not logged in on 0
      2. write: 10 is not logged in on 1
      3. [0;31mFehler beim Senden : der Schaltserver untersützt das GPIO schalten nicht - 1511
      4. [0mwrite: 10 is not logged in on 0
      5. write: 10 is not logged in on 1
      Kann besser Hardware als Software !

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von premo ()

    • premo schrieb:

      write: 10 is not logged in on 0
      Was damit gemeint ist, kann ich dir auch nicht sagen. Vielleicht weiß der agent, was es bedeutet.

      Die andere Meldung bezieht sich wohl auf einen nicht erreichbaren Schaltserver. Da müsste dann aber auch eine Meldung im Webinterface erscheinen.

      Ich würde das auf die schnelle mal so prüfen, indem ich die die Schaltserver lösche und dann nochmal schaue. Ist vermutlich ein Slave der Ärger macht.

      Seit 2.2.7 habe ich so etwas nicht mehr gehabt, und das bei 4 Slave's.
      SHC Master B2+ WLAN sowie 1 Slave B2+, 2 Slave B+ und 2 Slave Raspi B. 5x Pi Cam; Imac mit OSX El Capitan; Iphone 6 plus; Ipad mini; Lenovo Android Tablet.
    • Danke für die Antwort.
      Auf dem RPi habe ich noch 2.2.5 gehabt.
      Dort konnte ich unter Schaltelemente keine
      Belegung darstellen.
      Nach einem Update auf 2.2.7 war dieses
      möglich.
      Jetzt konnte ich dort sehen das der Pin 10
      noch aktiv sein soll obwohl schon vor längerem
      gelöscht wurde.
      10.JPG

      Wo kann man in SHC sehen ob der Pin noch abgefragt wird.
      Kann besser Hardware als Software !
    • premo schrieb:

      Wo kann man in SHC sehen ob der Pin noch abgefragt wird.
      Das weiß ich jetzt so auch nicht. Versuche doch mal den Pin als Ausgang zu definieren. Mal sehen was passiert. Ich hatte mir schon fast gedacht, dass du noch eine alte Version benutzt. Da hatte ich auch mal das Problem, dass die SD Karte voll lief.
      SHC Master B2+ WLAN sowie 1 Slave B2+, 2 Slave B+ und 2 Slave Raspi B. 5x Pi Cam; Imac mit OSX El Capitan; Iphone 6 plus; Ipad mini; Lenovo Android Tablet.
    • Nach dem Update von 2.2.5 nach 2.2.7 war der Fehler leider nicht behoben.
      Habe jetzt eine SD Karte Kopie vom anderen RPi mit 2.2.7 genommen
      und es treten keine "messages" Fehler auf.

      Eventuell kann agent47 noch was zur Fehlermeldung sagen.

      Quellcode

      1. write: 10 is not logged in on 1
      2. write: 10 is not logged in on 0
      3. [0;31mFehler beim Senden : der Schaltserver für den GPIO konnte nicht erreicht werden - 1510



      Quellcode

      1. write: 10 is not logged in on 0
      2. write: 10 is not logged in on 1
      3. [0;31mFehler beim Senden : der Schaltserver untersützt das GPIO schalten nicht - 1511
      4. [0mwrite: 10 is not logged in on 0
      Kann besser Hardware als Software !