[HowTo] SnapRAID in OMV

    • Re: [HowTo] SnapRAID in OMV

      Seems ok to me to run scrubs like that and text file is fine as well. I don't see where your script writes the counter value back to the file though.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: [HowTo] SnapRAID in OMV

      "ryecoaaron" wrote:

      Seems ok to me to run scrubs like that and text file is fine as well. I don't see where your script writes the counter value back to the file though.

      Source Code

      1. echo $COUNTER > $COUNTERFILE

      That's it ;)
      The additions look OK to me, too
      "Glowing days. Don't cry because they are over. Smile because they happened." - Confucius

      Server: 1x 32GB SSD (system) - 5x 2TB Data - 1x 2TB Snapraid-Parity - latest OMV 1.x
      No Support through PM
      Tutorials --- Howto install OMV-Extras --- Upgrade/Update-Problems --- If autoshutdown doesn' -work
    • Re: [HowTo] SnapRAID in OMV

      Hi, here I am... again :)

      I'am experimenting with OMV and the SnapRaid plugin, but it gives me this error:
      [IMG:http://i.imgur.com/u0C3bfH.png]

      I have double checked the SnapRaid guide for OMV but I don't understand what I'm doing wrong...

      Brainfuck Source Code

      1. omv-support.sh executed by WebGUI-plugin
      2. ##########################
      3. Basic Info:
      4. Script started: 140225-124629
      5. Script Version: 0.2.0
      6. Debian-Version: 6.0.9
      7. OMV-Version: 0.5.35
      8. System Drive: (can vary at every boot)
      9. /dev/sdc1
      10. smartctl -i /dev/sdc1
      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: Hitachi HTS542520K9A300 Version: C32P
      14. Device type: disk
      15. Local Time is: Tue Feb 25 12:46:30 2014 CET
      16. Device does not support SMART
      17. cat /etc/default/locale
      18. # File generated by update-locale
      19. LANG="en_US.UTF-8"
      20. LANGUAGE="en_US:en"
      21. ##########################
      22. 01-sources:
      23. cat /etc/apt/sources.list
      24. --------------------------
      25. #
      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 cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130824-13:07]/ squeeze main non-free
      28. deb http://ftp.it.debian.org/debian/ squeeze main
      29. deb-src http://ftp.it.debian.org/debian/ squeeze main
      30. deb http://security.debian.org/ squeeze/updates main non-free
      31. deb-src http://security.debian.org/ squeeze/updates main non-free
      32. # squeeze-updates, previously known as 'volatile'
      33. deb http://ftp.it.debian.org/debian/ squeeze-updates main non-free
      34. deb-src http://ftp.it.debian.org/debian/ squeeze-updates main non-free
      35. --------------------------
      36. ls -la /etc/apt/sources.list.d/
      37. --------------------------
      38. total 24
      39. drwxr-xr-x 2 root root 4096 Feb 15 16:42 .
      40. drwxr-xr-x 6 root root 4096 Feb 15 16:28 ..
      41. -rw-rw-rw- 1 root root 149 Feb 16 11:29 backports.list
      42. -rw-r--r-- 1 root root 58 Feb 15 16:40 omv-extras-org-sardaukar.list
      43. -rwxr-xr-x 1 root root 431 Feb 24 15:26 openmediavault.list
      44. -rw-r--r-- 1 root root 45 Nov 2 2011 openmediavault-local.list
      45. --------------------------
      46. cat /etc/apt/sources.list.d/openmediavault.list
      47. --------------------------
      48. deb http://packages.openmediavault.org/public sardaukar main
      49. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar main
      50. ## This software is not part of OpenMediaVault, but is offered by third-party
      51. ## developers as a service to OpenMediaVault users.
      52. deb http://packages.openmediavault.org/public sardaukar partner
      53. # deb http://downloads.sourceforge.net/project/openmediavault/packages sardaukar partner
      54. --------------------------
      55. ##########################
      56. 02-packages:
      57. dpkg -l | grep openmediavault
      58. --------------------------
      59. ii openmediavault 0.5.35 Open network attached storage solution
      60. ii openmediavault-extplorer 0.5.5 OpenMediaVault eXtplorer plugin
      61. ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
      62. ii openmediavault-omvextrasorg 0.5.39 OMV-Extras.org Package Repositories for OpenMediaVault
      63. ii openmediavault-snapraid 0.5.20 snapraid plugin for OpenMediaVault.
      64. ii openmediavault-supportinfo 0.5.12 OpenMediaVault support panel
      65. ##########################
      66. 03-filesystem:
      67. fdisk -l
      68. --------------------------
      69. WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
      70. WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
      71. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
      72. 256 heads, 63 sectors/track, 242251 cylinders
      73. Units = cylinders of 16128 * 512 = 8257536 bytes
      74. Sector size (logical/physical): 512 bytes / 512 bytes
      75. I/O size (minimum/optimal): 512 bytes / 512 bytes
      76. Disk identifier: 0x00000000
      77. Device Boot Start End Blocks Id System
      78. /dev/sdb1 1 242252 1953514583+ ee GPT
      79. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
      80. 256 heads, 63 sectors/track, 242251 cylinders
      81. Units = cylinders of 16128 * 512 = 8257536 bytes
      82. Sector size (logical/physical): 512 bytes / 512 bytes
      83. I/O size (minimum/optimal): 512 bytes / 512 bytes
      84. Disk identifier: 0x00000000
      85. Device Boot Start End Blocks Id System
      86. /dev/sda1 1 242252 1953514583+ ee GPT
      87. Disk /dev/sdc: 200.0 GB, 200049647616 bytes
      88. 255 heads, 63 sectors/track, 24321 cylinders
      89. Units = cylinders of 16065 * 512 = 8225280 bytes
      90. Sector size (logical/physical): 512 bytes / 512 bytes
      91. I/O size (minimum/optimal): 512 bytes / 512 bytes
      92. Disk identifier: 0x00021a7c
      93. Device Boot Start End Blocks Id System
      94. /dev/sdc1 * 1 23829 191399936 83 Linux
      95. /dev/sdc2 23829 24322 3958785 5 Extended
      96. /dev/sdc5 23829 24322 3958784 82 Linux swap / Solaris
      97. df -h
      98. --------------------------
      99. Filesystem Size Used Avail Use% Mounted on
      100. /dev/sdc1 180G 1.1G 170G 1% /
      101. tmpfs 991M 0 991M 0% /lib/init/rw
      102. udev 984M 124K 984M 1% /dev
      103. tmpfs 991M 0 991M 0% /dev/shm
      104. tmpfs 991M 0 991M 0% /tmp
      105. /dev/sda1 1.8T 196M 1.8T 1% /media/c52ac2ca-356c-478f-af9c-847678588062
      106. /dev/sdb1 1.8T 104G 1.7T 6% /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb
      107. ##########################
      108. 04-raid:
      109. cat /proc/mdstat
      110. --------------------------
      111. Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
      112. unused devices: <none>
      113. cat /etc/mdadm/mdadm.conf
      114. --------------------------
      115. # mdadm.conf
      116. #
      117. # Please refer to mdadm.conf(5) for information about this file.
      118. #
      119. # by default, scan all partitions (/proc/partitions) for MD superblocks.
      120. # alternatively, specify devices to scan, using wildcards if desired.
      121. # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
      122. # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
      123. # used if no RAID devices are configured.
      124. DEVICE partitions
      125. # auto-create devices with Debian standard permissions
      126. CREATE owner=root group=disk mode=0660 auto=yes
      127. # automatically tag new arrays as belonging to the local system
      128. HOMEHOST <system>
      129. # definitions of existing MD arrays
      130. mdadm --examine --scan
      131. --------------------------
      132. ##########################
      133. 06-samba:
      134. testparm -s -> checks smb.conf
      135. --------------------------
      136. Load smb config files from /etc/samba/smb.conf
      137. rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
      138. Processing section "[Disco2Share]"
      139. Processing section "[Disco4Share]"
      140. Loaded services file OK.
      141. Server role: ROLE_STANDALONE
      142. [global]
      143. server string = %h server
      144. map to guest = Bad User
      145. null passwords = Yes
      146. obey pam restrictions = Yes
      147. pam password change = Yes
      148. passwd program = /usr/bin/passwd %u
      149. passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
      150. syslog = 0
      151. syslog only = Yes
      152. log file = /var/log/samba/log.%m
      153. max log size = 1000
      154. socket options = TCP_NODELAY IPTOS_LOWDELAY
      155. load printers = No
      156. printcap name = /dev/null
      157. disable spoolss = Yes
      158. dns proxy = No
      159. panic action = /usr/share/samba/panic-action %d
      160. create mask = 0777
      161. directory mask = 0777
      162. aio read size = 16384
      163. aio write size = 16384
      164. use sendfile = Yes
      165. printing = bsd
      166. print command = lpr -r -P'%p' %s
      167. lpq command = lpq -P'%p'
      168. lprm command = lprm -P'%p' %j
      169. [Disco2Share]
      170. path = /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share/
      171. read only = No
      172. create mask = 0755
      173. force create mode = 0644
      174. directory mask = 0755
      175. force directory mode = 0755
      176. inherit acls = Yes
      177. guest ok = Yes
      178. [Disco4Share]
      179. path = /media/c52ac2ca-356c-478f-af9c-847678588062/Disco4Share/
      180. read only = No
      181. create mask = 0755
      182. force create mode = 0644
      183. directory mask = 0755
      184. force directory mode = 0755
      185. inherit acls = Yes
      186. guest ok = Yes
      187. --------------------------
      188. smbstatus
      189. --------------------------
      190. Samba version 3.5.6
      191. PID Username Group Machine
      192. -------------------------------------------------------------------
      193. Service pid machine Connected at
      194. -------------------------------------------------------
      195. Disco4Share 7033 xx-pc Tue Feb 25 11:11:10 2014
      196. Disco4Share 7033 xx-pc Tue Feb 25 11:12:49 2014
      197. Disco2Share 7033 xx-pc Tue Feb 25 11:12:50 2014
      198. Disco2Share 7033 xx-pc Tue Feb 25 11:11:59 2014
      199. Locked files:
      200. Pid Uid DenyMode Access R/W Oplock SharePath Name Time
      201. --------------------------------------------------------------------------------------------------
      202. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i365207875eec42abbb76db6f0d8308de.dindex.zip Tue Feb 25 12:46:23 2014
      203. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i1c2a789b9471471e94af77dcd7fb0fd1.dindex.zip Tue Feb 25 12:46:29 2014
      204. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-bc5cc420ceaa242aeaddd35336b0e30ee.dblock.zip Tue Feb 25 12:46:27 2014
      205. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i127262c5dd184171b82d36da77782d87.dindex.zip Tue Feb 25 12:46:25 2014
      206. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i3613b7f9f6684e998d0d9956fe336ac2.dindex.zip Tue Feb 25 12:46:33 2014
      207. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-b777f00567825431cbc5f70e18ef67177.dblock.zip Tue Feb 25 12:46:22 2014
      208. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-b78c31e17baf94ca08c84120e80ebf4a4.dblock.zip Tue Feb 25 12:46:20 2014
      209. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-b26061957cfaf4e218fe25416fa9ab408.dblock.zip Tue Feb 25 12:46:28 2014
      210. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i0e620c71dcd94bb597723592713da77d.dindex.zip Tue Feb 25 12:46:28 2014
      211. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i08a236774dd848eaacd8541582cb8dc6.dindex.zip Tue Feb 25 12:46:23 2014
      212. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i3f27f847cb9f492ca5a1c49f28e34f99.dindex.zip Tue Feb 25 12:46:23 2014
      213. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-b93545e9d8ded4286b33aeba8aeaa750c.dblock.zip Tue Feb 25 12:46:29 2014
      214. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-i133c608311ce43f49cf6053758cbdfe3.dindex.zip Tue Feb 25 12:46:29 2014
      215. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-b96b2e713f99b4e47855ddec36824f784.dblock.zip Tue Feb 25 12:46:25 2014
      216. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-b2381a3e665914ca08363df45b902ca0d.dblock.zip Tue Feb 25 12:46:24 2014
      217. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-ba0093cc58d464ded9cdf7d06fd3162ed.dblock.zip Tue Feb 25 12:46:33 2014
      218. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-ba431609f0e3d41e8aa47c7b7948305a3.dblock.zip Tue Feb 25 12:46:30 2014
      219. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-babee725f1d9f4000b03275a283ee0e7c.dblock.zip Tue Feb 25 12:46:21 2014
      220. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-20140213T124502Z.dlist.zip Tue Feb 25 12:46:28 2014
      221. 7033 65534 DENY_ALL 0x7019f RDWR EXCLUSIVE+BATCH /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/Disco2Share Duplicati2C/duplicati-b7a4896f16ef34d83bbd152c577adf40b.dblock.zip Tue Feb 25 12:46:34 2014
      222. --------------------------
      223. pdbedit -L
      224. --------------------------
      225. nobody:65534:nobody
      226. ##########################
      227. 99-other:
      228. cat /etc/apache2/ports.conf
      229. --------------------------
      230. NameVirtualHost *:80
      231. Listen 80
      232. groups openmediavault
      233. --------------------------
      234. openmediavault : openmediavault
      235. ownership of /var/www/openmediavault
      236. --------------------------
      237. total 80
      238. drwxr-xr-x 8 openmediavault openmediavault 4096 Feb 15 16:33 .
      239. drwxr-xr-x 4 root root 4096 Feb 15 17:59 ..
      240. drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 15 16:33 cgi
      241. drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 15 16:33 css
      242. -rw-rw-r-- 1 openmediavault openmediavault 2367 Jan 1 16:26 download.php
      243. -rw-rw-r-- 1 openmediavault openmediavault 1150 Nov 2 2011 favicon.ico
      244. drwxrwxr-x 2 openmediavault openmediavault 20480 Feb 25 11:52 images
      245. -rw-rw-r-- 1 openmediavault openmediavault 1583 Feb 3 17:01 index.php
      246. drwxrwxr-x 3 openmediavault openmediavault 4096 Feb 15 16:33 js
      247. drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 15 16:33 licenses
      248. -rwx------ 1 openmediavault openmediavault 1158 Jan 1 16:26 php-fcgi
      249. drwxrwxr-x 2 openmediavault openmediavault 4096 Feb 15 16:33 rpc
      250. -rw-rw-r-- 1 openmediavault openmediavault 1486 Jan 1 16:26 rpc.php
      251. -rw-rw-r-- 1 openmediavault openmediavault 2502 Jan 1 16:26 rrd.php
      252. -rw-rw-r-- 1 openmediavault openmediavault 1640 Feb 3 17:01 shutdown.php
      253. -rw-rw-r-- 1 openmediavault openmediavault 2051 Jan 1 16:26 upload.php
      254. cat /etc/passwd
      255. --------------------------
      256. root:x:0:0:root:/root:/bin/bash
      257. daemon:x:1:1:daemon:/usr/sbin:/bin/sh
      258. bin:x:2:2:bin:/bin:/bin/sh
      259. sys:x:3:3:sys:/dev:/bin/sh
      260. sync:x:4:65534:sync:/bin:/bin/sync
      261. games:x:5:60:games:/usr/games:/bin/sh
      262. man:x:6:12:man:/var/cache/man:/bin/sh
      263. lp:x:7:7:lp:/var/spool/lpd:/bin/sh
      264. mail:x:8:8:mail:/var/mail:/bin/sh
      265. news:x:9:9:news:/var/spool/news:/bin/sh
      266. uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
      267. proxy:x:13:13:proxy:/bin:/bin/sh
      268. www-data:x:33:33:www-data:/var/www:/bin/sh
      269. backup:x:34:34:backup:/var/backups:/bin/sh
      270. list:x:38:38:Mailing List Manager:/var/list:/bin/sh
      271. irc:x:39:39:ircd:/var/run/ircd:/bin/sh
      272. gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
      273. nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
      274. libuuid:x:100:101::/var/lib/libuuid:/bin/sh
      275. ntp:x:101:103::/home/ntp:/bin/false
      276. postfix:x:102:105::/var/spool/postfix:/bin/false
      277. statd:x:103:65534::/var/lib/nfs:/bin/false
      278. messagebus:x:104:108::/var/run/dbus:/bin/false
      279. avahi:x:105:109:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
      280. sshd:x:106:65534::/var/run/sshd:/usr/sbin/nologin
      281. tftp:x:107:111:tftp daemon,,,:/srv/tftp:/bin/false
      282. proftpd:x:109:65534::/var/run/proftpd:/bin/false
      283. ftp:x:110:65534::/home/ftp:/bin/false
      284. openmediavault:x:999:999::/home/openmediavault:/bin/sh
      285. admin:x:998:100:WebGUI administrator:/home/admin:/usr/sbin/nologin
      286. snmp:x:108:112::/var/lib/snmp:/bin/false
      Display All

      The post was edited 1 time, last by 0rtega ().

    • Re: [HowTo] SnapRAID in OMV

      Can you post the output of:

      cat /etc/snapraid.conf
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: [HowTo] SnapRAID in OMV

      Sure, here it is:

      Source Code

      1. # this file is automatically generated.
      2. parity /media/c52ac2ca-356c-478f-af9c-847678588062/parity.file
      3. block_size 256
      4. autosave 0
      5. content /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb/.content
      6. content /media/c52ac2ca-356c-478f-af9c-847678588062/.content
      7. disk Disco2 SnapRaid /media/d7e8338a-970c-43a1-a0c7-a05a43e42edb
      8. exclude *.bak
      9. exclude *.unrecoverable
      10. exclude /tmp/
      11. exclude lost+found/
      12. exclude .content
      13. exclude aquota.group
      14. exclude aquota.user
      Display All
    • Re: [HowTo] SnapRAID in OMV

      You have a space in the disk name. Remove the space or put an underscore or dash between the names. I don't think snapraid can use a name with a space and I didn't add a check in the plugin to prevent. Lots of things in Linux don't like spaces in names or paths.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: [HowTo] SnapRAID in OMV

      New OMV user here :)

      Running OMV 0.5 in a virtual environment (ESXi 5.5). Stumbled upon snapraid and i'm very interested to try this.
      I formatted each disk indivually and mounted them (6 drives total, sda is not listed since it's my virtual disk in esxi where OMV is installed on )

      [IMG:http://imageshack.com/a/img691/3183/yivt.png]

      added 4 drives in snapraid - data (since i have 6 disks, i want to add 4 data drives and use 2 parity disks)

      [IMG:https://imagizer.imageshack.us/v2/720x179q90/198/ofv6.png]

      When i want to set a parity disk, im not able to select one. What am I doing wrong? (when i tick q-parity i am able to select a second disk btw)

      [IMG:http://imageshack.com/a/img19/9453/vsm8.png]

      Source Code

      1. cat /etc/snapraid.conf
      2. # this file is automatically generated.
      3. parity 0
      4. block_size 256
      5. autosave 0
      6. content /media/5cf00476-f849-4b00-b4bf-eabef5e5f691/.content
      7. content /media/6ce4d955-d81a-4de0-a3ef-5dc0b21afd03/.content
      8. content /media/aa43a690-88c3-46cf-8662-4d24baa3b091/.content
      9. content /media/d40f0e75-24d4-49e1-94fa-13909976f322/.content
      10. disk sdb /media/5cf00476-f849-4b00-b4bf-eabef5e5f691
      11. disk sdc /media/6ce4d955-d81a-4de0-a3ef-5dc0b21afd03
      12. disk sdd /media/aa43a690-88c3-46cf-8662-4d24baa3b091
      13. disk sde /media/d40f0e75-24d4-49e1-94fa-13909976f322
      14. exclude *.bak
      15. exclude *.unrecoverable
      16. exclude /tmp/
      17. exclude lost+found/
      18. exclude .content
      19. exclude aquota.group
      20. exclude aquota.user
      Display All


      Long story short;
      How can I fix this, and what's the way to go? Should I stick to OMV raid or should i go with snapraid? I'l mainly host mediafiles (XBMC) on my disks plus ESXi backups/snapshots.
    • Re: [HowTo] SnapRAID in OMV

      With the version of xfs that is included with Debian Squeeze and OMV, snapraid can't use it for parity disks (see this). Wheezy will allow xfs. Until then, format your parity drives using ext4.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: [HowTo] SnapRAID in OMV

      Forgot to mention i'm using the backports kernel (3.2.0-0.bpo.4-amd64), but I guess that won't matter.
      I created 3 disks with ext4 as filesystem as a test and I can now select a parity disk indeed. Thanks :D

      edit:
      added 6 disks to content, and 4 to data. Set 2 disks as parity. The first sync is done (only took a few minutes since drives are empty).

      Source Code

      1. Self test...
      2. Loading state from /media/6fe43cc9-b591-457b-8e1a-a666ba99f114/.content...
      3. Scanning disk sdb...
      4. Scanning disk sdc...
      5. Scanning disk sdd...
      6. Scanning disk sde...
      7. Using 0 MiB of memory.
      8. Saving state to /media/6fe43cc9-b591-457b-8e1a-a666ba99f114/.content...
      9. Saving state to /media/23ac95ac-95e4-45f0-bf51-cf0563df23ed/.content...
      10. Saving state to /media/b43601d7-0d93-4469-ab2c-0a8052fb9375/.content...
      11. Saving state to /media/b53cf221-2e78-460b-82c7-2c02ec6e9073/.content...
      12. Saving state to /media/3dd37af9-56aa-4175-b798-c4762c8c844f/.content...
      13. Saving state to /media/0e6f0a6b-dad4-4f20-a293-be816f5520ac/.content...
      14. Initializing...
      15. Syncing...
      16. Nothing to do
      Display All


      Created 4 shares on each drive and created a poolshare on the first drive. Linked the 4 branches to the poolshare. (AUFS)
      Getting 150mb/s write speeds when doing 3 files simultanously 2GB. With standard OMV RAID 6 setup i was able to get ~500mb/s max.
      Any reason to use Greyhole instead of AUFS btw?
    • Re: [HowTo] SnapRAID in OMV

      You can use xfs with the 3.2 kernel but the plugin won't let you. With OMV 0.6, it won't be an issue. Only the parity disks have to be ext4 now.

      Greyhole is slower than aufs but is realtime. aufs doesn't stripe so it will always run at the speed of a single drive.

      If you are looking for speed, use raid 6.
      If you are looking for multiple copies of files and pooling, use greyhole.
      If you have relatively static files (media collection), pooling, are just trying to saturate a gigabit link, and want the least loss of files if multiple drives fail, use snapraid and aufs.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: [HowTo] SnapRAID in OMV

      With which Command Must i use for a cronjob?
      Server:
      BitFenix Phenom M - ASRock B75 Pro3-M - 8GB Crucial B.S. - Intel G2140 - Corsair CX430M - 1x 64GB SanDisk SDSSDP (system) - 2x 2TB WD20EARX (data) - 1x 3TB WD30EFRX (Snapraid) - TBS6981 DVB-S2 - OMV 0.5x
    • Re: [HowTo] SnapRAID in OMV

      Thx what must I do with this?
      Server:
      BitFenix Phenom M - ASRock B75 Pro3-M - 8GB Crucial B.S. - Intel G2140 - Corsair CX430M - 1x 64GB SanDisk SDSSDP (system) - 2x 2TB WD20EARX (data) - 1x 3TB WD30EFRX (Snapraid) - TBS6981 DVB-S2 - OMV 0.5x
    • Re: [HowTo] SnapRAID in OMV

      I would put it in /root/. Then just put /root/omv-snapraid-diff for the command in cron.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: [HowTo] SnapRAID in OMV

      Hallo ich habe ein neu aufgesetztes System aktuelle OMV- Version 0.5x mit Snapraid 6
      es kommt zu dieser Fehlermeldung (siehe Bild)
      Was ist da los ? Wenn ich den Befehl snapraid --force-empty sync auf der Konsole starte
      wird wohl synchronisiert ....
      Files
      • snapraid.GIF

        (33.16 kB, downloaded 587 times, last: )
      Proxmox5: Kernel 4.13.4-1-pve LXC: omv 4.x arrakis | 64 bit | omvextrasorg 4.x |
    • Re: [HowTo] SnapRAID in OMV

      "ryecoaaron" wrote:

      I would put it in /root/. Then just put /root/omv-snapraid-diff for the command in cron.

      thx

      and for what is the omv-snapraid-dup file?
      or do I need only the file omv-snapraid-diff
      Server:
      BitFenix Phenom M - ASRock B75 Pro3-M - 8GB Crucial B.S. - Intel G2140 - Corsair CX430M - 1x 64GB SanDisk SDSSDP (system) - 2x 2TB WD20EARX (data) - 1x 3TB WD30EFRX (Snapraid) - TBS6981 DVB-S2 - OMV 0.5x
    • Re: [HowTo] SnapRAID in OMV

      "noxx" wrote:

      and for what is the omv-snapraid-dup file?
      or do I need only the file omv-snapraid-diff

      That would be a good question for solo0815 :)
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: [HowTo] SnapRAID in OMV

      That script is for my personal use, you can ignore it.
      The script checks for any duplicate files on the snapraid-data disks.
      1. it creates a txt-file with all the duplicates
      2. checks if the dup-file is older than the content file
      3. shows all the duplicates, except "rtf|ini|jpg|arw|jpg|raf|backup|TFTPd-images|tif|.db|xmv|wdd"

      It isn't working without a fix, because /var/snapraid/content is missing
      "Glowing days. Don't cry because they are over. Smile because they happened." - Confucius

      Server: 1x 32GB SSD (system) - 5x 2TB Data - 1x 2TB Snapraid-Parity - latest OMV 1.x
      No Support through PM
      Tutorials --- Howto install OMV-Extras --- Upgrade/Update-Problems --- If autoshutdown doesn' -work