Raid resyncing

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Raid resyncing

      Hi Leute,

      its now the 3rd time my raid5 resyncs by itself.
      before it does, the system freezes and reboots itself.

      can u tell me which HD needs to be replaced ?
      or is it just because the drive identfier on sda is missing?

      Source Code

      1. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
      2. 255 heads, 63 sectors/track, 243201 cylinders
      3. Units = cylinders of 16065 * 512 = 8225280 bytes
      4. Sector size (logical/physical): 512 bytes / 4096 bytes
      5. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      6. Disk identifier: 0x00000000


      Brainfuck Source Code

      1. omv-support.sh executed by WebGUI-plugin
      2. ##########################
      3. Basic Info:
      4. Script started: 140128-123737
      5. Script Version: 0.2.0
      6. Debian-Version: 6.0.8
      7. OMV-Version: 0.5.31
      8. System Drive: (can vary at every boot)
      9. /dev/sde1
      10. smartctl -i /dev/sde1
      11. smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
      12. Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
      13. Device: WD TS54503 External Version: 1.05
      14. scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
      15. >> Terminate command early due to bad response to IEC mode page
      16. A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
      17. cat /etc/default/locale
      18. # File generated by update-locale
      19. LANG="de_DE.UTF-8"
      20. ##########################
      21. 01-sources:
      22. cat /etc/apt/sources.list
      23. --------------------------
      24. #
      25. # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ squeeze main non-free
      26. #deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ squeeze main non-free
      27. deb http://ftp.uni-kl.de/debian/ squeeze main
      28. deb-src http://ftp.uni-kl.de/debian/ squeeze main
      29. deb http://security.debian.org/ squeeze/updates main non-free
      30. deb-src http://security.debian.org/ squeeze/updates main non-free
      31. # squeeze-updates, previously known as 'volatile'
      32. deb http://ftp.uni-kl.de/debian/ squeeze-updates main non-free
      33. deb-src http://ftp.uni-kl.de/debian/ squeeze-updates main non-free
      34. #### unstable #########
      35. #deb http://backports.debian.org/debian-backports squeeze-backports main non-free
      36. #deb http://ftp.de.debian.org/debian sid main
      37. #deb http://ftp.de.debian.org/debian sid main
      38. --------------------------
      39. ls -la /etc/apt/sources.list.d/
      40. --------------------------
      41. insgesamt 28
      42. drwxr-xr-x 2 root root 4096 21. Jan 11:20 .
      43. drwxr-xr-x 6 root root 4096 11. Jan 19:08 ..
      44. -rw-rw-rw- 1 root root 195 26. Jan 23:06 backports.list
      45. -rw-rw-rw- 1 root root 360 16. Jan 20:50 omv-extras-org-sardaukar.list
      46. -rwxr-xr-x 1 root root 724 27. Jan 13:24 openmediavault.list
      47. -rw-r--r-- 1 root root 45 2. Nov 2011 openmediavault-local.list
      48. -rw-r--r-- 1 root root 249 10. Jan 16:10 openmediavault-millers.list
      49. --------------------------
      50. cat /etc/apt/sources.list.d/openmediavault.list
      51. --------------------------
      52. deb http://packages.openmediavault.org/public sardaukar main
      53. deb http://ftp.de.debian.org/debian sid main
      54. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar main
      55. ## Uncomment the following line to add software from the proposed repository.
      56. # deb http://packages.openmediavault.org/public sardaukar-proposed main
      57. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar-proposed main
      58. ## This software is not part of OpenMediaVault, but is offered by third-party
      59. ## developers as a service to OpenMediaVault users.
      60. # deb http://packages.openmediavault.org/public sardaukar partner
      61. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar partner
      62. --------------------------
      63. ##########################
      64. 02-packages:
      65. dpkg -l | grep openmediavault
      66. --------------------------
      67. ii openmediavault 0.5.31 Open network attached storage solution
      68. ii openmediavault-autoshutdown 0.5.15 OpenMediaVault AutoShutdown Plugin
      69. ii openmediavault-cups 0.5.1 OpenMediaVault CUPS (network printer server) plugin
      70. ii openmediavault-downloader 0.5.3 OpenMediaVault downloader plugin
      71. ii openmediavault-extplorer 0.5.5 OpenMediaVault eXtplorer plugin
      72. ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
      73. ii openmediavault-mysql 0.5.13 MySQL plugin for OpenMediaVault.
      74. ii openmediavault-omvextrasorg 0.5.38 OMV-Extras.org Package Repositories for OpenMediaVault
      75. ii openmediavault-owncloud 0.5.7 OpenMediaVault ownCloud plugin
      76. ii openmediavault-plexmediaserver 0.5.5 OpenMediaVault Plex Media Server plugin
      77. ii openmediavault-processlist 0.5.6 OpenMediaVault process list panel
      78. ii openmediavault-supportinfo 0.5.9 OpenMediaVault support panel
      79. ##########################
      80. 03-filesystem:
      81. fdisk -l
      82. --------------------------
      83. Disk /dev/sda doesn't contain a valid partition table
      84. Disk /dev/sdb doesn't contain a valid partition table
      85. Disk /dev/sdc doesn't contain a valid partition table
      86. Disk /dev/sdd doesn't contain a valid partition table
      87. Disk /dev/md127 doesn't contain a valid partition table
      88. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
      89. 255 heads, 63 sectors/track, 243201 cylinders
      90. Units = cylinders of 16065 * 512 = 8225280 bytes
      91. Sector size (logical/physical): 512 bytes / 4096 bytes
      92. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      93. Disk identifier: 0x00000000
      94. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
      95. 255 heads, 63 sectors/track, 243201 cylinders
      96. Units = cylinders of 16065 * 512 = 8225280 bytes
      97. Sector size (logical/physical): 512 bytes / 4096 bytes
      98. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      99. Disk identifier: 0xaca7aca8
      100. Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
      101. 255 heads, 63 sectors/track, 243201 cylinders
      102. Units = cylinders of 16065 * 512 = 8225280 bytes
      103. Sector size (logical/physical): 512 bytes / 4096 bytes
      104. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      105. Disk identifier: 0xaca7aca7
      106. Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
      107. 255 heads, 63 sectors/track, 243201 cylinders
      108. Units = cylinders of 16065 * 512 = 8225280 bytes
      109. Sector size (logical/physical): 512 bytes / 4096 bytes
      110. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      111. Disk identifier: 0xaca7aca9
      112. Disk /dev/md127: 6001.2 GB, 6001191813120 bytes
      113. 2 heads, 4 sectors/track, 1465134720 cylinders
      114. Units = cylinders of 8 * 512 = 4096 bytes
      115. Sector size (logical/physical): 512 bytes / 4096 bytes
      116. I/O size (minimum/optimal): 524288 bytes / 1572864 bytes
      117. Disk identifier: 0x00000000
      118. Disk /dev/sde: 320.1 GB, 320072933376 bytes
      119. 255 heads, 63 sectors/track, 38913 cylinders
      120. Units = cylinders of 16065 * 512 = 8225280 bytes
      121. Sector size (logical/physical): 512 bytes / 512 bytes
      122. I/O size (minimum/optimal): 512 bytes / 512 bytes
      123. Disk identifier: 0x00063f6d
      124. Device Boot Start End Blocks Id System
      125. /dev/sde1 * 1 37335 299885568 83 Linux
      126. /dev/sde2 37335 38914 12683265 5 Extended
      127. /dev/sde5 37335 38914 12683264 82 Linux swap / Solaris
      128. df -h
      129. --------------------------
      130. Dateisystem Size Used Avail Use% Eingehängt auf
      131. /dev/sde1 282G 26G 243G 10% /
      132. tmpfs 3,8G 0 3,8G 0% /lib/init/rw
      133. udev 3,8G 200K 3,8G 1% /dev
      134. tmpfs 3,8G 4,0K 3,8G 1% /dev/shm
      135. tmpfs 3,8G 36K 3,8G 1% /tmp
      136. /dev/md127 5,4T 4,0T 1,2T 79% /media/5a24e136-09b9-48e1-95db-b44d5db3e28a
      137. ##########################
      138. 04-raid:
      139. cat /proc/mdstat
      140. --------------------------
      141. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
      142. md127 : active raid5 sda[4] sdd[3] sdc[2] sdb[1]
      143. 5860538880 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      144. [=>...................] resync = 5.1% (100238592/1953512960) finish=1946.4min speed=15868K/sec
      145. unused devices: <none>
      146. cat /etc/mdadm/mdadm.conf
      147. --------------------------
      148. # mdadm.conf
      149. #
      150. # Please refer to mdadm.conf(5) for information about this file.
      151. #
      152. # by default, scan all partitions (/proc/partitions) for MD superblocks.
      153. # alternatively, specify devices to scan, using wildcards if desired.
      154. # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
      155. # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
      156. # used if no RAID devices are configured.
      157. DEVICE partitions
      158. # auto-create devices with Debian standard permissions
      159. CREATE owner=root group=disk mode=0660 auto=yes
      160. # automatically tag new arrays as belonging to the local system
      161. HOMEHOST <system>
      162. # definitions of existing MD arrays
      163. ARRAY /dev/md/HD metadata=1.2 name=NAS:HD UUID=7f07d04a:bb09a600:353d2ad9:b554df48
      164. # instruct the monitoring daemon where to send mail alerts
      165. MAILADDR hannes.mueller87@gmail.com
      166. MAILFROM root
      167. mdadm --examine --scan
      168. --------------------------
      169. ARRAY /dev/md/HD metadata=1.2 UUID=7f07d04a:bb09a600:353d2ad9:b554df48 name=NAS:HD
      170. ##########################
      171. 06-samba:
      172. testparm -s -> checks smb.conf
      173. --------------------------
      174. Load smb config files from /etc/samba/smb.conf
      175. rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
      176. Processing section "[NAS_HD]"
      177. WARNING: The "printer admin" option is deprecated
      178. Processing section "[printers]"
      179. Processing section "[print$]"
      180. Loaded services file OK.
      181. Invalid combination of parameters for service print$. Level II oplocks can only be set if oplocks are also set.
      182. Server role: ROLE_STANDALONE
      183. [global]
      184. server string = %h server
      185. obey pam restrictions = Yes
      186. pam password change = Yes
      187. passwd program = /usr/bin/passwd %u
      188. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
      189. syslog = 0
      190. syslog only = Yes
      191. log file = /var/log/samba/log.%m
      192. max log size = 1000
      193. socket options = TCP_NODELAY IPTOS_LOWDELAY
      194. printcap cache time = 60
      195. printcap name = cups
      196. dns proxy = No
      197. panic action = /usr/share/samba/panic-action %d
      198. printer admin = @lpadmin
      199. create mask = 0777
      200. directory mask = 0777
      201. aio read size = 16384
      202. aio write size = 16384
      203. use sendfile = Yes
      204. [NAS_HD]
      205. comment = home is where your NAS is ;)
      206. path = /media/5a24e136-09b9-48e1-95db-b44d5db3e28a//
      207. printer admin =
      208. read only = No
      209. create mask = 0755
      210. force create mode = 0644
      211. directory mask = 0755
      212. force directory mode = 0755
      213. inherit acls = Yes
      214. printing = bsd
      215. print command = lpr -r -P'%p' %s
      216. lpq command = lpq -P'%p'
      217. lprm command = lprm -P'%p' %j
      218. [printers]
      219. comment = All Printers
      220. path = /var/spool/samba
      221. guest ok = Yes
      222. printable = Yes
      223. browseable = No
      224. [print$]
      225. comment = Printer Drivers
      226. path = /var/lib/samba/printers
      227. write list = @lpadmin
      228. force create mode = 0664
      229. force directory mode = 0775
      230. guest ok = Yes
      231. browseable = No
      232. oplocks = No
      233. --------------------------
      234. smbstatus
      235. --------------------------
      236. Samba version 3.5.6
      237. PID Username Group Machine
      238. -------------------------------------------------------------------
      239. 2964 Hannes users kira-pc (192.168.0.103)
      240. Service pid machine Connected at
      241. -------------------------------------------------------
      242. NAS_HD 2964 kira-pc Tue Jan 28 12:02:47 2014
      243. No locked files
      244. --------------------------
      245. pdbedit -L
      246. --------------------------
      247. nobody:65534:nobody
      248. Hannes:1000:admin
      249. ##########################
      250. 99-other:
      251. cat /etc/apache2/ports.conf
      252. --------------------------
      253. NameVirtualHost *:80
      254. Listen 80
      255. groups openmediavault
      256. --------------------------
      257. openmediavault : openmediavault
      258. ownership of /var/www/openmediavault
      259. --------------------------
      260. insgesamt 80
      261. drwxr-xr-x 8 openmediavault openmediavault 4096 21. Jan 11:20 .
      262. drwxr-xr-x 5 root root 4096 10. Jan 15:50 ..
      263. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 cgi
      264. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 css
      265. -rw-rw-r-- 1 openmediavault openmediavault 2367 1. Jan 16:21 download.php
      266. -rw-rw-r-- 1 openmediavault openmediavault 1150 10. Mär 2010 favicon.ico
      267. drwxrwxr-x 2 openmediavault openmediavault 20480 21. Jan 11:20 images
      268. -rw-rw-r-- 1 openmediavault openmediavault 1598 1. Jan 16:21 index.php
      269. drwxrwxr-x 3 openmediavault openmediavault 4096 21. Jan 11:20 js
      270. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 licenses
      271. -rwx------ 1 openmediavault openmediavault 1158 1. Jan 16:21 php-fcgi
      272. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 rpc
      273. -rw-rw-r-- 1 openmediavault openmediavault 1486 1. Jan 16:21 rpc.php
      274. -rw-rw-r-- 1 openmediavault openmediavault 2502 1. Jan 16:21 rrd.php
      275. -rw-rw-r-- 1 openmediavault openmediavault 1655 1. Jan 16:21 shutdown.php
      276. -rw-rw-r-- 1 openmediavault openmediavault 2051 1. Jan 16:21 upload.php
      277. cat /etc/passwd
      278. --------------------------
      279. root:x:0:0:root:/root:/bin/bash
      280. daemon:x:1:1:daemon:/usr/sbin:/bin/sh
      281. bin:x:2:2:bin:/bin:/bin/sh
      282. sys:x:3:3:sys:/dev:/bin/sh
      283. sync:x:4:65534:sync:/bin:/bin/sync
      284. games:x:5:60:games:/usr/games:/bin/sh
      285. man:x:6:12:man:/var/cache/man:/bin/sh
      286. lp:x:7:7:lp:/var/spool/lpd:/bin/sh
      287. mail:x:8:8:mail:/var/mail:/bin/sh
      288. news:x:9:9:news:/var/spool/news:/bin/sh
      289. uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
      290. proxy:x:13:13:proxy:/bin:/bin/sh
      291. www-data:x:33:33:www-data:/var/www:/bin/sh
      292. backup:x:34:34:backup:/var/backups:/bin/sh
      293. list:x:38:38:Mailing List Manager:/var/list:/bin/sh
      294. irc:x:39:39:ircd:/var/run/ircd:/bin/sh
      295. gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
      296. nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
      297. libuuid:x:100:101::/var/lib/libuuid:/bin/sh
      298. ntp:x:101:103::/home/ntp:/bin/false
      299. postfix:x:102:105::/var/spool/postfix:/bin/false
      300. statd:x:103:65534::/var/lib/nfs:/bin/false
      301. messagebus:x:104:108::/var/run/dbus:/bin/false
      302. avahi:x:105:109:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
      303. sshd:x:106:65534::/var/run/sshd:/usr/sbin/nologin
      304. tftp:x:107:111:tftp daemon,,,:/srv/tftp:/bin/false
      305. proftpd:x:109:65534::/var/run/proftpd:/bin/false
      306. ftp:x:110:65534::/home/ftp:/bin/false
      307. openmediavault:x:999:999::/home/openmediavault:/bin/sh
      308. admin:x:998:100:WebGUI administrator:/home/admin:/usr/sbin/nologin
      309. snmp:x:108:112::/var/lib/snmp:/bin/false
      310. mysql:x:111:114:MySQL Server,,,:/media/5a24e136-09b9-48e1-95db-b44d5db3e28a/mysql-data:/bin/false
      311. plex:x:112:65534::/media/5a24e136-09b9-48e1-95db-b44d5db3e28a/plexmediaserver:/bin/bash
      312. Hannes:x:1000:100:admin:/home/Hannes:/bin/dash
      313. vbox:x:1001:116:openmediavault-virtualbox:/home/vbox:/bin/sh
      Display All


      Tanks in advance !
    • Re: Raid resyncing

      Isn't mdadm resyncinc automatically ever Xth day of the month?

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • RAID resync multiple times a day!

      HI,

      my RAID5 4x2TB resyncs without break.
      once it is done ... 1-2hours it starts resyncing again.

      is that normal ?
      is a drive going bad ?

      Source Code

      1. Version : 1.2
      2. Creation Time : Fri Apr 26 13:13:46 2013
      3. Raid Level : raid5
      4. Array Size : 5860538880 (5589.05 GiB 6001.19 GB)
      5. Used Dev Size : 1953512960 (1863.02 GiB 2000.40 GB)
      6. Raid Devices : 4
      7. Total Devices : 4
      8. Persistence : Superblock is persistent
      9. Update Time : Thu Jan 30 07:53:10 2014
      10. State : active, resyncing
      11. Active Devices : 4
      12. Working Devices : 4
      13. Failed Devices : 0
      14. Spare Devices : 0
      15. Layout : left-symmetric
      16. Chunk Size : 512K
      17. Rebuild Status : 23% complete
      18. Name : NAS:HD (local to host NAS)
      19. UUID : 7f07d04a:bb09a600:353d2ad9:b554df48
      20. Events : 136315
      21. Number Major Minor RaidDevice State
      22. 4 8 0 0 active sync /dev/sda
      23. 1 8 16 1 active sync /dev/sdb
      24. 2 8 32 2 active sync /dev/sdc
      25. 3 8 48 3 active sync /dev/sdd
      Display All


      Brainfuck Source Code

      1. omv-support.sh executed by WebGUI-plugin
      2. ##########################
      3. Basic Info:
      4. Script started: 140130-080046
      5. Script Version: 0.2.0
      6. Debian-Version: 6.0.8
      7. OMV-Version: 0.5.31
      8. System Drive: (can vary at every boot)
      9. /dev/sde1
      10. smartctl -i /dev/sde1
      11. smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
      12. Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
      13. Device: WD TS54503 External Version: 1.05
      14. scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0
      15. >> Terminate command early due to bad response to IEC mode page
      16. A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
      17. cat /etc/default/locale
      18. # File generated by update-locale
      19. LANG="de_DE.UTF-8"
      20. ##########################
      21. 01-sources:
      22. cat /etc/apt/sources.list
      23. --------------------------
      24. #
      25. # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ squeeze main non-free
      26. #deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ squeeze main non-free
      27. deb http://ftp.uni-kl.de/debian/ squeeze main
      28. deb-src http://ftp.uni-kl.de/debian/ squeeze main
      29. deb http://security.debian.org/ squeeze/updates main non-free
      30. deb-src http://security.debian.org/ squeeze/updates main non-free
      31. # squeeze-updates, previously known as 'volatile'
      32. deb http://ftp.uni-kl.de/debian/ squeeze-updates main non-free
      33. deb-src http://ftp.uni-kl.de/debian/ squeeze-updates main non-free
      34. #### unstable #########
      35. #deb http://backports.debian.org/debian-backports squeeze-backports main non-free
      36. --------------------------
      37. ls -la /etc/apt/sources.list.d/
      38. --------------------------
      39. insgesamt 28
      40. drwxr-xr-x 2 root root 4096 30. Jan 00:42 .
      41. drwxr-xr-x 6 root root 4096 11. Jan 19:08 ..
      42. -rw-rw-rw- 1 root root 149 28. Jan 18:49 backports.list
      43. -rw-rw-rw- 1 root root 203 30. Jan 00:42 omv-extras-org-sardaukar.list
      44. -rwxr-xr-x 1 root root 679 30. Jan 00:37 openmediavault.list
      45. -rw-r--r-- 1 root root 45 2. Nov 2011 openmediavault-local.list
      46. -rw-r--r-- 1 root root 249 10. Jan 16:10 openmediavault-millers.list
      47. --------------------------
      48. cat /etc/apt/sources.list.d/openmediavault.list
      49. --------------------------
      50. deb http://packages.openmediavault.org/public sardaukar main
      51. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar main
      52. ## Uncomment the following line to add software from the proposed repository.
      53. # deb http://packages.openmediavault.org/public sardaukar-proposed main
      54. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar-proposed main
      55. ## This software is not part of OpenMediaVault, but is offered by third-party
      56. ## developers as a service to OpenMediaVault users.
      57. # deb http://packages.openmediavault.org/public sardaukar partner
      58. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar partner
      59. --------------------------
      60. ##########################
      61. 02-packages:
      62. dpkg -l | grep openmediavault
      63. --------------------------
      64. ii openmediavault 0.5.31 Open network attached storage solution
      65. ii openmediavault-autoshutdown 0.5.15 OpenMediaVault AutoShutdown Plugin
      66. ii openmediavault-cups 0.5.1 OpenMediaVault CUPS (network printer server) plugin
      67. ii openmediavault-downloader 0.5.3 OpenMediaVault downloader plugin
      68. ii openmediavault-extplorer 0.5.5 OpenMediaVault eXtplorer plugin
      69. ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
      70. ii openmediavault-mysql 0.5.13 MySQL plugin for OpenMediaVault.
      71. ii openmediavault-omvextrasorg 0.5.38 OMV-Extras.org Package Repositories for OpenMediaVault
      72. ii openmediavault-owncloud 0.5.7 OpenMediaVault ownCloud plugin
      73. ii openmediavault-plexmediaserver 0.5.5 OpenMediaVault Plex Media Server plugin
      74. ii openmediavault-processlist 0.5.6 OpenMediaVault process list panel
      75. ii openmediavault-supportinfo 0.5.9 OpenMediaVault support panel
      76. ##########################
      77. 03-filesystem:
      78. fdisk -l
      79. --------------------------
      80. Disk /dev/sda doesn't contain a valid partition table
      81. Disk /dev/sdb doesn't contain a valid partition table
      82. Disk /dev/sdc doesn't contain a valid partition table
      83. Disk /dev/sdd doesn't contain a valid partition table
      84. Disk /dev/md127 doesn't contain a valid partition table
      85. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
      86. 255 heads, 63 sectors/track, 243201 cylinders
      87. Units = cylinders of 16065 * 512 = 8225280 bytes
      88. Sector size (logical/physical): 512 bytes / 4096 bytes
      89. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      90. Disk identifier: 0x00000000
      91. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
      92. 255 heads, 63 sectors/track, 243201 cylinders
      93. Units = cylinders of 16065 * 512 = 8225280 bytes
      94. Sector size (logical/physical): 512 bytes / 4096 bytes
      95. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      96. Disk identifier: 0xaca7aca8
      97. Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
      98. 255 heads, 63 sectors/track, 243201 cylinders
      99. Units = cylinders of 16065 * 512 = 8225280 bytes
      100. Sector size (logical/physical): 512 bytes / 4096 bytes
      101. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      102. Disk identifier: 0xaca7aca7
      103. Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
      104. 255 heads, 63 sectors/track, 243201 cylinders
      105. Units = cylinders of 16065 * 512 = 8225280 bytes
      106. Sector size (logical/physical): 512 bytes / 4096 bytes
      107. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      108. Disk identifier: 0xaca7aca9
      109. Disk /dev/sde: 320.1 GB, 320072933376 bytes
      110. 255 heads, 63 sectors/track, 38913 cylinders
      111. Units = cylinders of 16065 * 512 = 8225280 bytes
      112. Sector size (logical/physical): 512 bytes / 512 bytes
      113. I/O size (minimum/optimal): 512 bytes / 512 bytes
      114. Disk identifier: 0x00063f6d
      115. Device Boot Start End Blocks Id System
      116. /dev/sde1 * 1 37335 299885568 83 Linux
      117. /dev/sde2 37335 38914 12683265 5 Extended
      118. /dev/sde5 37335 38914 12683264 82 Linux swap / Solaris
      119. Disk /dev/md127: 6001.2 GB, 6001191813120 bytes
      120. 2 heads, 4 sectors/track, 1465134720 cylinders
      121. Units = cylinders of 8 * 512 = 4096 bytes
      122. Sector size (logical/physical): 512 bytes / 4096 bytes
      123. I/O size (minimum/optimal): 524288 bytes / 1572864 bytes
      124. Disk identifier: 0x00000000
      125. df -h
      126. --------------------------
      127. Dateisystem Size Used Avail Use% Eingehängt auf
      128. /dev/sde1 282G 26G 243G 10% /
      129. tmpfs 3,8G 0 3,8G 0% /lib/init/rw
      130. udev 3,8G 200K 3,8G 1% /dev
      131. tmpfs 3,8G 4,0K 3,8G 1% /dev/shm
      132. tmpfs 3,8G 8,0K 3,8G 1% /tmp
      133. /dev/md127 5,4T 4,0T 1,2T 79% /media/5a24e136-09b9-48e1-95db-b44d5db3e28a
      134. ##########################
      135. 04-raid:
      136. cat /proc/mdstat
      137. --------------------------
      138. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
      139. md127 : active raid5 sda[4] sdd[3] sdc[2] sdb[1]
      140. 5860538880 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      141. [====>................] resync = 23.1% (451913492/1953512960) finish=432.9min speed=57801K/sec
      142. unused devices: <none>
      143. cat /etc/mdadm/mdadm.conf
      144. --------------------------
      145. # mdadm.conf
      146. #
      147. # Please refer to mdadm.conf(5) for information about this file.
      148. #
      149. # by default, scan all partitions (/proc/partitions) for MD superblocks.
      150. # alternatively, specify devices to scan, using wildcards if desired.
      151. # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
      152. # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
      153. # used if no RAID devices are configured.
      154. DEVICE partitions
      155. # auto-create devices with Debian standard permissions
      156. CREATE owner=root group=disk mode=0660 auto=yes
      157. # automatically tag new arrays as belonging to the local system
      158. HOMEHOST <system>
      159. # definitions of existing MD arrays
      160. ARRAY /dev/md/HD metadata=1.2 name=NAS:HD UUID=7f07d04a:bb09a600:353d2ad9:b554df48
      161. # instruct the monitoring daemon where to send mail alerts
      162. MAILADDR hannes.mueller87@gmail.com
      163. MAILFROM root
      164. mdadm --examine --scan
      165. --------------------------
      166. ARRAY /dev/md/HD metadata=1.2 UUID=7f07d04a:bb09a600:353d2ad9:b554df48 name=NAS:HD
      167. ##########################
      168. 06-samba:
      169. testparm -s -> checks smb.conf
      170. --------------------------
      171. Load smb config files from /etc/samba/smb.conf
      172. rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
      173. Processing section "[NAS_HD]"
      174. WARNING: The "printer admin" option is deprecated
      175. Processing section "[printers]"
      176. Processing section "[print$]"
      177. Loaded services file OK.
      178. Invalid combination of parameters for service print$. Level II oplocks can only be set if oplocks are also set.
      179. Server role: ROLE_STANDALONE
      180. [global]
      181. server string = %h server
      182. obey pam restrictions = Yes
      183. pam password change = Yes
      184. passwd program = /usr/bin/passwd %u
      185. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
      186. syslog = 0
      187. syslog only = Yes
      188. log file = /var/log/samba/log.%m
      189. max log size = 1000
      190. socket options = TCP_NODELAY IPTOS_LOWDELAY
      191. printcap cache time = 60
      192. printcap name = cups
      193. dns proxy = No
      194. panic action = /usr/share/samba/panic-action %d
      195. printer admin = @lpadmin
      196. create mask = 0777
      197. directory mask = 0777
      198. aio read size = 16384
      199. aio write size = 16384
      200. use sendfile = Yes
      201. [NAS_HD]
      202. comment = home is where your NAS is ;)
      203. path = /media/5a24e136-09b9-48e1-95db-b44d5db3e28a//
      204. printer admin =
      205. read only = No
      206. create mask = 0755
      207. force create mode = 0644
      208. directory mask = 0755
      209. force directory mode = 0755
      210. inherit acls = Yes
      211. printing = bsd
      212. print command = lpr -r -P'%p' %s
      213. lpq command = lpq -P'%p'
      214. lprm command = lprm -P'%p' %j
      215. [printers]
      216. comment = All Printers
      217. path = /var/spool/samba
      218. guest ok = Yes
      219. printable = Yes
      220. browseable = No
      221. [print$]
      222. comment = Printer Drivers
      223. path = /var/lib/samba/printers
      224. write list = @lpadmin
      225. force create mode = 0664
      226. force directory mode = 0775
      227. guest ok = Yes
      228. browseable = No
      229. oplocks = No
      230. --------------------------
      231. smbstatus
      232. --------------------------
      233. Samba version 3.5.6
      234. PID Username Group Machine
      235. -------------------------------------------------------------------
      236. Service pid machine Connected at
      237. -------------------------------------------------------
      238. No locked files
      239. --------------------------
      240. pdbedit -L
      241. --------------------------
      242. nobody:65534:nobody
      243. Hannes:1000:admin
      244. ##########################
      245. 99-other:
      246. cat /etc/apache2/ports.conf
      247. --------------------------
      248. NameVirtualHost *:80
      249. Listen 80
      250. groups openmediavault
      251. --------------------------
      252. openmediavault : openmediavault
      253. ownership of /var/www/openmediavault
      254. --------------------------
      255. insgesamt 80
      256. drwxr-xr-x 8 openmediavault openmediavault 4096 21. Jan 11:20 .
      257. drwxr-xr-x 5 root root 4096 10. Jan 15:50 ..
      258. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 cgi
      259. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 css
      260. -rw-rw-r-- 1 openmediavault openmediavault 2367 1. Jan 16:21 download.php
      261. -rw-rw-r-- 1 openmediavault openmediavault 1150 10. Mär 2010 favicon.ico
      262. drwxrwxr-x 2 openmediavault openmediavault 20480 21. Jan 11:20 images
      263. -rw-rw-r-- 1 openmediavault openmediavault 1598 1. Jan 16:21 index.php
      264. drwxrwxr-x 3 openmediavault openmediavault 4096 21. Jan 11:20 js
      265. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 licenses
      266. -rwx------ 1 openmediavault openmediavault 1158 1. Jan 16:21 php-fcgi
      267. drwxrwxr-x 2 openmediavault openmediavault 4096 21. Jan 11:20 rpc
      268. -rw-rw-r-- 1 openmediavault openmediavault 1486 1. Jan 16:21 rpc.php
      269. -rw-rw-r-- 1 openmediavault openmediavault 2502 1. Jan 16:21 rrd.php
      270. -rw-rw-r-- 1 openmediavault openmediavault 1655 1. Jan 16:21 shutdown.php
      271. -rw-rw-r-- 1 openmediavault openmediavault 2051 1. Jan 16:21 upload.php
      272. cat /etc/passwd
      273. --------------------------
      274. root:x:0:0:root:/root:/bin/bash
      275. daemon:x:1:1:daemon:/usr/sbin:/bin/sh
      276. bin:x:2:2:bin:/bin:/bin/sh
      277. sys:x:3:3:sys:/dev:/bin/sh
      278. sync:x:4:65534:sync:/bin:/bin/sync
      279. games:x:5:60:games:/usr/games:/bin/sh
      280. man:x:6:12:man:/var/cache/man:/bin/sh
      281. lp:x:7:7:lp:/var/spool/lpd:/bin/sh
      282. mail:x:8:8:mail:/var/mail:/bin/sh
      283. news:x:9:9:news:/var/spool/news:/bin/sh
      284. uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
      285. proxy:x:13:13:proxy:/bin:/bin/sh
      286. www-data:x:33:33:www-data:/var/www:/bin/sh
      287. backup:x:34:34:backup:/var/backups:/bin/sh
      288. list:x:38:38:Mailing List Manager:/var/list:/bin/sh
      289. irc:x:39:39:ircd:/var/run/ircd:/bin/sh
      290. gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
      291. nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
      292. libuuid:x:100:101::/var/lib/libuuid:/bin/sh
      293. ntp:x:101:103::/home/ntp:/bin/false
      294. postfix:x:102:105::/var/spool/postfix:/bin/false
      295. statd:x:103:65534::/var/lib/nfs:/bin/false
      296. messagebus:x:104:108::/var/run/dbus:/bin/false
      297. avahi:x:105:109:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
      298. sshd:x:106:65534::/var/run/sshd:/usr/sbin/nologin
      299. tftp:x:107:111:tftp daemon,,,:/srv/tftp:/bin/false
      300. proftpd:x:109:65534::/var/run/proftpd:/bin/false
      301. ftp:x:110:65534::/home/ftp:/bin/false
      302. openmediavault:x:999:999::/home/openmediavault:/bin/sh
      303. admin:x:998:100:WebGUI administrator:/home/admin:/usr/sbin/nologin
      304. snmp:x:108:112::/var/lib/snmp:/bin/false
      305. mysql:x:111:114:MySQL Server,,,:/media/5a24e136-09b9-48e1-95db-b44d5db3e28a/mysql-data:/bin/false
      306. plex:x:112:65534::/media/5a24e136-09b9-48e1-95db-b44d5db3e28a/plexmediaserver:/bin/bash
      307. Hannes:x:1000:100:admin:/home/Hannes:/bin/dash
      308. vbox:x:1001:116:openmediavault-virtualbox:/home/vbox:/bin/sh
      Display All


      cant be good for the drives...running 100%
      So please help!!
      Thanks in advance
    • Re: RAID resync multiple times a day!

      Looks like a cabling problem or a dying harddisk. Smartctl fails with a "scsiModePageOffset: response length too short" message and all the storage devices do not have a vaild partition table. I believe this is the reason for the permanent resync.
      I would shut down the system and check all the cabling for the harddisks twice, data and power cables. Consider to renew the SATA cables and check if they are able to transfer the actual SATA speed, older cables are sometimes not able to transfer 6GPBS (If your system supports SATA3).
      Next check the harddisks with smartctl from the command line, type smartctl -h to get the parameters.

      smartctl -a -T verypermissive /dev/sdX | todos >/tmp/smart.txt (Replace X with the name of your disks, one after another)

      ...will deliver a report to the file smart.txt in the folder /tmp and tell what you get. I hope you have a backup of all your data handy.
      Homebox: Bitfenix Prodigy Case, ASUS E45M1-I DELUXE ITX, 8GB RAM, 5x 4TB HGST Raid-5 Data, 1x 320GB 2,5" WD Bootdrive via eSATA from the backside
      Companybox 1: Standard Midi-Tower, Intel S3420 MoBo, Xeon 3450 CPU, 16GB RAM, 5x 2TB Seagate Data, 1x 80GB Samsung Bootdrive - testing for iSCSI to ESXi-Hosts
      Companybox 2: 19" Rackservercase 4HE, Intel S975XBX2 MoBo, C2D@2200MHz, 8GB RAM, HP P212 Raidcontroller, 4x 1TB WD Raid-0 Data, 80GB Samsung Bootdrive, Intel 1000Pro DualPort (Bonded in a VLAN) - Temp-NFS-storage for ESXi-Hosts
    • Re: RAID resync multiple times a day!

      i still get access to the the raid... it kind of sucks that the drive is resyncing all day.

      but good to know. cabling hasn't changed 1yr
      but to be honest. i think its the drive, it gave me a problem 2month ago when the raid5 it was degraded. Formatted sda again and rebuild the raid - worked for 2month now ;)
      changing the cabling and gonna check smart sunday evening.

      i'll keep you postet.

      thanks much...
    • Re: RAID resync multiple times a day!

      sda pastie.org/8683403
      sdb pastie.org/8683407
      sdc pastie.org/8683412
      sdd pastie.org/8683415


      Okay. redid cabeling and problem persists.
      on monday or tuesday i gonna try a fresh install of OMV (on a other drive) to see if it is a problem produced by software.
      if the problem is still there i gonna replace sda.
      - still there - mainboard

      keep you postet.

      The post was edited 1 time, last by Gutz-Pilz ().

    • Re: Raid resyncing

      Can somebody show me any proof that missing TLER can force a rebuild, even when the drives have in fact no errors?

      Greetings
      David
      "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"

      Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


      Upload Logfile via WebGUI/CLI
      #openmediavault on freenode IRC | German & English | GMT+1
      Absolutely no Support via PM!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: Raid resyncing

      raid is back up and running. all nice an clean and i can access all my data.
      BUT when i dot fdisk -l each drive including the raid seems to have no valid partition table ???

      Source Code

      1. fdisk -l
      2. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
      3. 255 heads, 63 sectors/track, 243201 cylinders
      4. Units = cylinders of 16065 * 512 = 8225280 bytes
      5. Sector size (logical/physical): 512 bytes / 4096 bytes
      6. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      7. Disk identifier: 0x00000000
      8. Disk /dev/sda doesn't contain a valid partition table
      9. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
      10. 255 heads, 63 sectors/track, 243201 cylinders
      11. Units = cylinders of 16065 * 512 = 8225280 bytes
      12. Sector size (logical/physical): 512 bytes / 4096 bytes
      13. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      14. Disk identifier: 0xaca7aca8
      15. Disk /dev/sdb doesn't contain a valid partition table
      16. Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
      17. 255 heads, 63 sectors/track, 243201 cylinders
      18. Units = cylinders of 16065 * 512 = 8225280 bytes
      19. Sector size (logical/physical): 512 bytes / 4096 bytes
      20. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      21. Disk identifier: 0xaca7aca7
      22. Disk /dev/sdc doesn't contain a valid partition table
      23. Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
      24. 255 heads, 63 sectors/track, 243201 cylinders
      25. Units = cylinders of 16065 * 512 = 8225280 bytes
      26. Sector size (logical/physical): 512 bytes / 4096 bytes
      27. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      28. Disk identifier: 0xaca7aca9
      29. Disk /dev/sdd doesn't contain a valid partition table
      30. Disk /dev/sde: 320.1 GB, 320072933376 bytes
      31. 255 heads, 63 sectors/track, 38913 cylinders
      32. Units = cylinders of 16065 * 512 = 8225280 bytes
      33. Sector size (logical/physical): 512 bytes / 512 bytes
      34. I/O size (minimum/optimal): 512 bytes / 512 bytes
      35. Disk identifier: 0x00063f6d
      36. Device Boot Start End Blocks Id System
      37. /dev/sde1 * 1 37335 299885568 83 Linux
      38. /dev/sde2 37335 38914 12683265 5 Extended
      39. /dev/sde5 37335 38914 12683264 82 Linux swap / Solaris
      40. Disk /dev/md127: 6001.2 GB, 6001191813120 bytes
      41. 2 heads, 4 sectors/track, 1465134720 cylinders
      42. Units = cylinders of 8 * 512 = 4096 bytes
      43. Sector size (logical/physical): 512 bytes / 4096 bytes
      44. I/O size (minimum/optimal): 524288 bytes / 1572864 bytes
      45. Disk identifier: 0x00000000
      46. Disk /dev/md127 doesn't contain a valid partition table
      Display All