After updates getting RAID is Not working- closed

    • Re: After updates getting permission denied on RAID

      Sounds like mdadm isn't running. What is the output of:

      service mdadm status

      If it says it isn't running, try:

      service mdadm start

      What did you update?
      omv 4.1.15 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: After updates getting permission denied on RAID

      Source Code

      1. root@omv:~# /proc/mdstat
      2. -bash: /proc/mdstat: Permission denied
      3. root@omv:~# service mdadm status
      4. Usage: /etc/init.d/mdadm {start|stop|restart|reload|force-reload}
      5. root@omv:~# service mdadm stop
      6. root@omv:~# service mdadm status
      7. Usage: /etc/init.d/mdadm {start|stop|restart|reload|force-reload}
      8. root@omv:~# /proc/mdstat
      9. -bash: /proc/mdstat: Permission denied
      10. root@omv:~# service mdadm start
      11. Starting MD monitoring service: mdadm --monitormdadm: No mail address or alert command - not monitoring.
      12. failed!
      Display All


      I Updated all the updates here,
      I installed latest sickbeard (sickrage) using the /omv.sh method (the plugin that lets u install all the programs like cps and sickbeard)
      Before that (a few days) i tried to install virtual-box, but it failed and now when I run "upgrade" I get problems with virtualbox

      Source Code

      1. root@omv:~# apt-get update
      2. Ign file: Release.gpg
      3. Ign file:/var/cache/openmediavault/archives/ Translation-en
      4. Ign file:/var/cache/openmediavault/archives/ Translation-en_US
      5. Ign file: Release
      6. Ign file: Packages
      7. Hit http://ppa.launchpad.net precise Release.gpg
      8. Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main Translation-en
      9. Ign http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main Translation-en_US
      10. Hit http://packages.openmediavault.org sardaukar Release.gpg
      11. Ign http://packages.openmediavault.org/public/ sardaukar/main Translation-en
      12. Ign http://packages.openmediavault.org/public/ sardaukar/main Translation-en_US
      13. Ign http://packages.openmediavault.org/public/ sardaukar/partner Translation-en
      14. Ign http://packages.openmediavault.org/public/ sardaukar/partner Translation-en_US
      15. Hit http://apt.tvheadend.org wheezy Release.gpg
      16. Ign http://apt.tvheadend.org/stable/ wheezy/main Translation-en
      17. Ign http://apt.tvheadend.org/stable/ wheezy/main Translation-en_US
      18. Get:1 http://e-tobi.net squeeze Release.gpg [198 B]
      19. Ign http://e-tobi.net/vdr-experimental/ squeeze/addons Translation-en
      20. Ign http://e-tobi.net/vdr-experimental/ squeeze/addons Translation-en_US
      21. Ign http://e-tobi.net/vdr-experimental/ squeeze/base Translation-en
      22. Ign http://e-tobi.net/vdr-experimental/ squeeze/base Translation-en_US
      23. Ign http://e-tobi.net/vdr-experimental/ squeeze/vdr-multipatch Translation-en
      24. Ign http://e-tobi.net/vdr-experimental/ squeeze/vdr-multipatch Translation-en_US
      25. Hit http://ppa.launchpad.net precise Release
      26. Hit http://dl.ajaxplorer.info stable Release.gpg
      27. Ign http://dl.ajaxplorer.info/repos/apt/ stable/main Translation-en
      28. Ign http://dl.ajaxplorer.info/repos/apt/ stable/main Translation-en_US
      29. Hit http://packages.openmediavault.org sardaukar Release
      30. Hit http://apt.tvheadend.org wheezy Release
      31. Hit http://dl.ajaxplorer.info stable Release
      32. Hit http://debian.linuxmint.com testing Release.gpg
      33. Ign http://debian.linuxmint.com/latest/multimedia/ testing/main Translation-en
      34. Ign http://debian.linuxmint.com/latest/multimedia/ testing/main Translation-en_US
      35. Ign http://debian.linuxmint.com/latest/multimedia/ testing/non-free Translation-en
      36. Ign http://debian.linuxmint.com/latest/multimedia/ testing/non-free Translation-en_US
      37. Hit http://ppa.launchpad.net precise/main Sources
      38. Hit http://www.greyhole.net stable Release.gpg
      39. Hit http://ftp.us.debian.org squeeze Release.gpg
      40. Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
      41. Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
      42. Hit http://ftp.us.debian.org squeeze-updates Release.gpg
      43. Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
      44. Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_US
      45. Ign http://ftp.us.debian.org/debian/ squeeze-updates/non-free Translation-en
      46. Ign http://ftp.us.debian.org/debian/ squeeze-updates/non-free Translation-en_US
      47. Hit http://apt.tvheadend.org wheezy/main amd64 Packages
      48. Hit http://ppa.launchpad.net precise/main amd64 Packages
      49. Ign http://dl.ajaxplorer.info stable/main Sources
      50. Ign http://packages.openmediavault.org sardaukar/main amd64 Packages
      51. Hit http://e-tobi.net squeeze Release
      52. Hit http://packages.omv-extras.org sardaukar-backports Release.gpg
      53. Ign http://packages.omv-extras.org/debian/ sardaukar-backports/main Translation-en
      54. Ign http://packages.omv-extras.org/debian/ sardaukar-backports/main Translation-en_US
      55. Hit http://packages.omv-extras.org sardaukar Release.gpg
      56. Hit http://http.us.debian.org squeeze Release.gpg
      57. Ign http://http.us.debian.org/debian/ squeeze/contrib Translation-en
      58. Ign http://http.us.debian.org/debian/ squeeze/contrib Translation-en_US
      59. Ign http://http.us.debian.org/debian/ squeeze/main Translation-en
      60. Ign http://http.us.debian.org/debian/ squeeze/main Translation-en_US
      61. Ign http://http.us.debian.org/debian/ squeeze/non-free Translation-en
      62. Ign http://http.us.debian.org/debian/ squeeze/non-free Translation-en_US
      63. Ign http://packages.omv-extras.org/debian/ sardaukar/main Translation-en
      64. Ign http://packages.omv-extras.org/debian/ sardaukar/main Translation-en_US
      65. Hit http://packages.omv-extras.org sardaukar-testing Release.gpg
      66. Ign http://packages.omv-extras.org/debian/ sardaukar-testing/main Translation-en
      67. Ign http://packages.omv-extras.org/debian/ sardaukar-testing/main Translation-en_US
      68. Hit http://packages.omv-extras.org sardaukar-vb Release.gpg
      69. Hit http://download.virtualbox.org squeeze Release.gpg
      70. Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib Translation-en
      71. Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib Translation-en_US
      72. Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/non-free Translation-en
      73. Ign http://dl.ajaxplorer.info stable/main amd64 Packages
      74. Ign http://packages.openmediavault.org sardaukar/partner amd64 Packages
      75. Hit http://ftp.us.debian.org squeeze Release
      76. Hit http://debian.linuxmint.com testing Release
      77. Hit http://dl.ajaxplorer.info stable/main Sources
      78. Hit http://packages.openmediavault.org sardaukar/main amd64 Packages
      79. Get:2 http://backports.debian.org squeeze-backports Release.gpg [836 B]
      80. Get:3 http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en [247 kB]
      81. Hit http://http.us.debian.org squeeze Release
      82. Get:4 http://e-tobi.net squeeze/addons amd64 Packages [7,857 B]
      83. Ign http://packages.omv-extras.org/debian/ sardaukar-vb/main Translation-en
      84. Ign http://packages.omv-extras.org/debian/ sardaukar-vb/main Translation-en_US
      85. Hit http://packages.omv-extras.org sardaukar-greyhole Release.gpg
      86. Ign http://packages.omv-extras.org/debian/ sardaukar-greyhole/main Translation-en
      87. Ign http://download.virtualbox.org/virtualbox/debian/ squeeze/non-free Translation-en_US
      88. Ign http://packages.omv-extras.org/debian/ sardaukar-greyhole/main Translation-en_US
      89. Hit http://packages.omv-extras.org sardaukar-vdr Release.gpg
      90. Ign http://www.greyhole.net/releases/deb/ stable/main Translation-en
      91. Hit http://dl.ajaxplorer.info stable/main amd64 Packages
      92. Hit http://packages.openmediavault.org sardaukar/partner amd64 Packages
      93. Hit http://ftp.us.debian.org squeeze-updates Release
      94. Ign http://www.greyhole.net/releases/deb/ stable/main Translation-en_US
      95. Hit http://debian.linuxmint.com testing/main amd64 Packages
      96. Hit http://http.us.debian.org squeeze/main Sources
      97. Get:5 http://e-tobi.net squeeze/base amd64 Packages [19.9 kB]
      98. Ign http://packages.omv-extras.org/debian/ sardaukar-vdr/main Translation-en
      99. Ign http://packages.omv-extras.org/debian/ sardaukar-vdr/main Translation-en_US
      100. Hit http://packages.omv-extras.org sardaukar-backports Release
      101. Hit http://packages.omv-extras.org sardaukar Release
      102. Hit http://www.greyhole.net stable Release
      103. Hit http://download.virtualbox.org squeeze Release
      104. Hit http://ftp.us.debian.org squeeze/main Sources
      105. Hit http://ftp.us.debian.org squeeze/main amd64 Packages
      106. Hit http://debian.linuxmint.com testing/non-free amd64 Packages
      107. Hit http://http.us.debian.org squeeze/contrib Sources
      108. Hit http://http.us.debian.org squeeze/non-free Sources
      109. Hit http://http.us.debian.org squeeze/main amd64 Packages
      110. Hit http://http.us.debian.org squeeze/contrib amd64 Packages
      111. Hit http://http.us.debian.org squeeze/non-free amd64 Packages
      112. Get:6 http://e-tobi.net squeeze/vdr-multipatch amd64 Packages [47.2 kB]
      113. Hit http://packages.omv-extras.org sardaukar-testing Release
      114. Hit http://packages.omv-extras.org sardaukar-vb Release
      115. Hit http://packages.omv-extras.org sardaukar-greyhole Release
      116. Hit http://ftp.us.debian.org squeeze-updates/main Sources/DiffIndex
      117. Hit http://ftp.us.debian.org squeeze-updates/non-free Sources
      118. Hit http://ftp.us.debian.org squeeze-updates/main amd64 Packages/DiffIndex
      119. Hit http://ftp.us.debian.org squeeze-updates/non-free amd64 Packages
      120. Hit http://download.virtualbox.org squeeze/contrib amd64 Packages
      121. Ign http://www.greyhole.net stable/main amd64 Packages
      122. Hit http://packages.omv-extras.org sardaukar-vdr Release
      123. Hit http://ftp.us.debian.org squeeze-updates/main amd64 Packages
      124. Hit http://download.virtualbox.org squeeze/non-free amd64 Packages
      125. Hit http://www.greyhole.net stable/main amd64 Packages
      126. Ign http://packages.omv-extras.org sardaukar-backports/main amd64 Packages
      127. Ign http://packages.omv-extras.org sardaukar/main amd64 Packages
      128. Ign http://packages.omv-extras.org sardaukar-testing/main amd64 Packages
      129. Ign http://packages.omv-extras.org sardaukar-vb/main amd64 Packages
      130. Ign http://packages.omv-extras.org sardaukar-greyhole/main amd64 Packages
      131. Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
      132. Get:7 http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en [13.5 kB]
      133. Ign http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en_US
      134. Ign http://packages.omv-extras.org sardaukar-vdr/main amd64 Packages
      135. Hit http://packages.omv-extras.org sardaukar-backports/main amd64 Packages
      136. Hit http://packages.omv-extras.org sardaukar/main amd64 Packages
      137. Hit http://packages.omv-extras.org sardaukar-testing/main amd64 Packages
      138. Hit http://packages.omv-extras.org sardaukar-vb/main amd64 Packages
      139. Get:8 http://backports.debian.org squeeze-backports Release [109 kB]
      140. Hit http://security.debian.org squeeze/updates Release.gpg
      141. Ign http://security.debian.org/ squeeze/updates/main Translation-en
      142. Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
      143. Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
      144. Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_US
      145. Hit http://packages.omv-extras.org sardaukar-greyhole/main amd64 Packages
      146. Hit http://packages.omv-extras.org sardaukar-vdr/main amd64 Packages
      147. Get:9 http://backports.debian.org squeeze-backports/main amd64 Packages [386 kB]
      148. Hit http://security.debian.org squeeze/updates Release
      149. Hit http://security.debian.org squeeze/updates/main Sources
      150. Hit http://security.debian.org squeeze/updates/non-free Sources
      151. Hit http://security.debian.org squeeze/updates/main amd64 Packages
      152. Hit http://security.debian.org squeeze/updates/non-free amd64 Packages
      153. Get:10 http://backports.debian.org squeeze-backports/non-free amd64 Packages [15.0 kB]
      154. Fetched 846 kB in 3s (266 kB/s)
      155. Reading package lists... Done
      156. root@omv:~# apt-get upgrade
      157. Reading package lists... Done
      158. Building dependency tree
      159. Reading state information... Done
      160. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      161. 3 not fully installed or removed.
      162. After this operation, 0 B of additional disk space will be used.
      163. Do you want to continue [Y/n]? y
      164. Setting up virtualbox (4.0.10-dfsg-1~bpo60+2) ...
      165. insserv: script virtualbox: service vboxdrv already provided!
      166. insserv: exiting now!
      167. update-rc.d: error: insserv rejected the script header
      168. dpkg: error processing virtualbox (--configure):
      169. subprocess installed post-installation script returned error exit status 1
      170. dpkg: dependency problems prevent configuration of virtualbox-dkms:
      171. virtualbox-dkms depends on virtualbox; however:
      172. Package virtualbox is not configured yet.
      173. Package virtualbox-4.3 which provides virtualbox is not installed.
      174. Package virtualbox-4.2 which provides virtualbox is not installed.
      175. dpkg: error processing virtualbox-dkms (--configure):
      176. dependency problems - leaving unconfigured
      177. dpkg: dependency problems prevent configuration of virtualbox-qt:
      178. virtualbox-qt depends on virtualbox (= 4.0.10-dfsg-1~bpo60+2); however:
      179. Package virtualbox is not configured yet.
      180. dpkg: error processing virtualbox-qt (--configure):
      181. dependency problems - leaving unconfigured
      182. configured to not write apport reports
      183. configured to not write apport reports
      184. configured to not write apport reports
      185. Errors were encountered while processing:
      186. virtualbox
      187. virtualbox-dkms
      188. virtualbox-qt
      189. E: Sub-process /usr/bin/dpkg returned an error code (1)
      Display All


      Edit:
      I get an error in the log that my shares are not accessible, and that my mysql is too full.
      I do not have any shared folders in omv admin (where I had a few) and I cannot access my smb shares (because they dont have access to shared folder (in omv main web screen)

      Another Edit:
      I installed virtualbox again and it installed correctly, I uploaded the syslog
      Edit:
      Since I can see my /media/5eb dir, my data is intact I just do not know how to reach it from the outside

      Source Code

      1. root@omv:/media/5eb927dd-91b5-4c42-9d37-ac34832a6384# ls /media/
      2. 5eb927dd-91b5-4c42-9d37-ac34832a6384 backup cdrom cdrom0 floppy floppy0
      3. root@omv:/media/5eb927dd-91b5-4c42-9d37-ac34832a6384# /proc/mdstat
      4. -bash: /proc/mdstat: Permission denied
      Files
      • syslog.zip

        (19.35 kB, downloaded 156 times, last: )
    • Re: After updates getting permission denied on RAID

      Just noticed... You should be using this:

      cat /proc/mdstat

      Also, what is the output of:

      dpkg -l | grep openmediavault
      df -h
      omv 4.1.15 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: After updates getting permission denied on RAID

      Source Code

      1. root@omv:~# cat /proc/mdstat
      2. Personalities :
      3. unused devices: <none>
      4. root@omv:~# dpkg -l | grep openmediavault
      5. ii openmediavault 0.5.52 Open network attached storage solution
      6. ii openmediavault-extplorer 0.5.5 OpenMediaVault eXtplorer plugin
      7. ii openmediavault-keyring 0.2 GnuPG archive keys of the OpenMediaVault archive
      8. ii openmediavault-minidlna 0.5.9 OpenMediaVault miniDLNA (DLNA server) plugin
      9. ii openmediavault-mysql 0.5.13 MySQL plugin for OpenMediaVault.
      10. ii openmediavault-omvextrasorg 0.6.21 OMV-Extras.org Package Repositories for OpenMediaVault
      11. ii openmediavault-owncloud 0.5.8 OpenMediaVault ownCloud plugin
      12. ii openmediavault-transmissionbt 0.5.18 OpenMediaVault Transmission (BitTorrent client) plugin
      13. ii openmediavault-vdr 0.5.6 VDR plugin for OpenMediaVault.
      14. ii openmediavault-virtualbox 0.5.15 VirtualBox plugin for OpenMediaVault.
      15. ii openmediavault-website 0.5.6 OpenMediaVault website plugin
      16. root@omv:~# df -h
      17. Filesystem Size Used Avail Use% Mounted on
      18. /dev/sda1 144G 44G 93G 33% /
      19. tmpfs 879M 0 879M 0% /lib/init/rw
      20. udev 872M 204K 872M 1% /dev
      21. tmpfs 879M 4.0K 879M 1% /dev/shm
      22. tmpfs 879M 84K 879M 1% /tmp
      Display All
    • Re: After updates getting permission denied on RAID

      You have a floppy drive in your system?? :lol:

      I don't see anything wrong in syslog other than the raid array stopping. I assume the raid drives aren't plugged in usb ports? What is the output of:

      fdisk -l
      blkid
      cat /etc/mdadm/mdadm.conf
      omv 4.1.15 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: After updates getting permission denied on RAID

      No floppy, why the question??

      Source Code

      1. root@omv:~# fdisk -l
      2. Disk /dev/sda: 160.0 GB, 160040803840 bytes
      3. 255 heads, 63 sectors/track, 19457 cylinders
      4. Units = cylinders of 16065 * 512 = 8225280 bytes
      5. Sector size (logical/physical): 512 bytes / 512 bytes
      6. I/O size (minimum/optimal): 512 bytes / 512 bytes
      7. Disk identifier: 0x0000bbca
      8. Device Boot Start End Blocks Id System
      9. /dev/sda1 * 1 19020 152776704 83 Linux
      10. /dev/sda2 19021 19458 3510273 5 Extended
      11. /dev/sda5 19021 19458 3510272 82 Linux swap / Solaris
      12. WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
      13. Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
      14. 256 heads, 63 sectors/track, 363376 cylinders
      15. Units = cylinders of 16128 * 512 = 8257536 bytes
      16. Sector size (logical/physical): 512 bytes / 4096 bytes
      17. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      18. Disk identifier: 0x00000000
      19. Device Boot Start End Blocks Id System
      20. /dev/sdb1 1 266306 2147483647+ ee GPT
      21. Partition 1 does not start on physical sector boundary.
      22. Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
      23. 255 heads, 63 sectors/track, 364801 cylinders
      24. Units = cylinders of 16065 * 512 = 8225280 bytes
      25. Sector size (logical/physical): 512 bytes / 4096 bytes
      26. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      27. Disk identifier: 0x00000000
      28. Disk /dev/sdc doesn't contain a valid partition table
      29. Disk /dev/sdd: 3000.6 GB, 3000591900160 bytes
      30. 255 heads, 63 sectors/track, 364801 cylinders
      31. Units = cylinders of 16065 * 512 = 8225280 bytes
      32. Sector size (logical/physical): 512 bytes / 4096 bytes
      33. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      34. Disk identifier: 0x00000000
      35. Disk /dev/sdd doesn't contain a valid partition table
      Display All


      Source Code

      1. root@omv:~# cat /etc/mdadm/mdadm.conf
      2. # mdadm.conf
      3. #
      4. # Please refer to mdadm.conf(5) for information about this file.
      5. #
      6. # by default, scan all partitions (/proc/partitions) for MD superblocks.
      7. # alternatively, specify devices to scan, using wildcards if desired.
      8. # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
      9. # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
      10. # used if no RAID devices are configured.
      11. DEVICE partitions
      12. # auto-create devices with Debian standard permissions
      13. CREATE owner=root group=disk mode=0660 auto=yes
      14. # automatically tag new arrays as belonging to the local system
      15. HOMEHOST <system>
      16. # definitions of existing MD arrays
      Display All


      blkid hangs for a long time
    • Re: After updates getting permission denied on RAID

      According to syslog, there is a floppy...

      If you have a raid array, there is no evidence of it. blkid would tell me more but since it is hanging, I would guess you have one or more drives failing or bad cables or bad motherboard (if the drives aren't connected by usb).
      omv 4.1.15 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: After updates getting permission denied on RAID

      Source Code

      1. root@omv:~# blkid
      2. /dev/sda1: UUID="faa5130c-6167-40dc-91dd-763e8eaeeb76" TYPE="ext4"
      3. /dev/sda5: UUID="0ec15acf-4503-42b0-8f4b-99be9135ecd5" TYPE="swap"
      4. /dev/sdb1: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
      5. /dev/sdd: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
      6. /dev/sdc: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
      7. root@omv:~#
    • Re: After updates getting permission denied on RAID

      Did you create the raid array in the OMV web interface? Strange that one drive is using a partition. You could try the following:

      Source Code

      1. mdadm --assemble --run --force /dev/md127 /dev/sdb1 /dev/sdc /dev/sdd


      I think blkid is taking a long time because of the floppy drive it thinks is there. You should disable the floppy controller (fdc) in the bios.
      omv 4.1.15 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: After updates getting permission denied on RAID

      Raid was not created in omv but in cli

      Source Code

      1. root@omv:/media/5eb927dd-91b5-4c42-9d37-ac34832a6384# mdadm --assemble --run --force /dev/md127 /dev/sdb1 /dev/sdc /dev/sdd
      2. mdadm: /dev/md127 has been started with 2 drives (out of 3).


      Source Code

      1. root@omv:/media/5eb927dd-91b5-4c42-9d37-ac34832a6384# cat /proc/mdstat
      2. Personalities : [raid6] [raid5] [raid4]
      3. md127 : active raid5 sdb1[2] sdc[4]
      4. 5860528128 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [_UU]
      5. unused devices: <none>
    • Re: After updates getting permission denied on RAID

      Why did you create the array in cli? Looks like sdd is having problems. You should be able to access your array now though.
      omv 4.1.15 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: After updates getting permission denied on RAID

      it did not work for me in web because I started with 2 disks only (degragaded)
      and there was no way to do that in web

      I can access my files, but not all of them, heck only a smal portion can be seen at all
      this is not good :(
    • Re: After updates getting permission denied on RAID

      If the array isn't rebuilding and your files aren't there, I am afraid there isn't much you can do other than try to recover them with photorec.
      omv 4.1.15 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: After updates getting permission denied on RAID

      Ok, so to make a very long story shorter.

      After all this I rebooted my server, and took out the defective disk.
      The array said degrageted, and started to work. (2 disks)
      I was rejoiced.
      I thought I was in the clear, one disk down, but no biggie.

      I rebooted the server again, without backing my important data.
      It did not come up....
      apparently there were disk prooblems, that fsck needed to start fixing, and it would not start, (I got the message on a subsequent reboot, that it has not been run for 25 reboots and so it would run).

      Well, I finnaly managed to do a little fixing, (stopped in the middle of it because I did not know what it was doing exactly, and because it wanted me to do it manually, "yes","yes", "yes", "yes" - it gets tiresome.

      My raid actually came up and I copied a terra of stuff (documents, pictures, kids stuff in hebrew which is very hard to come by).
      and now when I boot it says I need to do ctrl+d to resume login or manual fcsk.

      I am thinking about reformatting the whole raid (now that my import stuff is safe - I can download movies, and tv shows later).
      What do you think? manual fixing or refromat?
    • Re: After updates getting permission denied on RAID

      It tells you that the drive you've removed is gone missing... thats all.

      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: After updates getting permission denied on RAID

      The degragaded was actually a blessing, because after that I was able to get my data.

      Do you think that running an fsck on a degraded raid 5 will show errors that are not there?
      So are you saying the errors I see are not real?
    • Re: After updates getting permission denied on RAID

      I'm onlx talking about the ctrl+d message, not about anything that fsck may show you.

      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: After updates getting permission denied on RAID

      So here is where I am at right now (and I do realize I get into stuff becuase I jump, instead of crawling, but this is how I learn).

      I bought a new drive, and put it in the machine,could not load the raid, because it wold not alow me so I said, f*** it, lets go with bruth force (not the best idea I know , but I am tired of this :) ).
      I wiped the drives in the omv console (physical disks), and added the drive in system (thinking if all the drives are wiped the raid will go away).

      Then I preceded to create a new raid 5 (using omv console). That took like 17 hours and now it reports that my raid is ok.
      But....

      1. in storage/file systems - I see device:n/a mounted:n/a ... and I cannot delete this line (which I figure is relevant to the old raid?), nor can I create a file system for the new raid.
      2. when I do " ls -la /media/", I still see directories "5eb927dd-91b5-4c42-9d37-ac34832a6384" (which is the old raid, where is it comming from?)

      Source Code

      1. root@omv:~# ls -la /media/
      2. total 24
      3. drwxr-xr-x 6 root root 4096 Mar 18 23:39 .
      4. drwxr-xr-x 30 root root 4096 Jul 10 07:33 ..
      5. drwx------ 6 root root 4096 Jul 1 20:59 5eb927dd-91b5-4c42-9d37-ac34832a6384
      6. drwxr-xr-x 2 admin users 4096 Mar 18 23:39 backup
      7. lrwxrwxrwx 1 root root 6 Dec 7 2013 cdrom -> cdrom0
      8. drwxr-xr-x 2 root root 4096 Dec 7 2013 cdrom0
      9. lrwxrwxrwx 1 root root 7 Dec 7 2013 floppy -> floppy0
      10. drwxr-xr-x 2 root root 4096 Dec 7 2013 floppy0


      Source Code

      1. root@omv:~# ls -la /media/5eb927dd-91b5-4c42-9d37-ac34832a6384/
      2. total 24
      3. drwx------ 6 root root 4096 Jul 1 20:59 .
      4. drwxr-xr-x 6 root root 4096 Mar 18 23:39 ..
      5. drwxr-xr-x 3 root root 4096 Jul 1 19:53 downloads
      6. drwxr-xr-x 5 root root 4096 Jul 11 12:24 general
      7. drwxrwxrwx 12 root root 4096 Jul 8 19:19 torrents
      8. drwx------ 3 root root 4096 Jul 1 20:59 tv


      Edit - add data:

      Source Code

      1. root@omv:~# cat /proc/mdstat
      2. Personalities : [raid6] [raid5] [raid4]
      3. md0 : active raid5 sdb[0] sdd[2] sdc[1]
      4. 5860528128 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
      5. unused devices: <none>


      Source Code

      1. root@omv:~# fdisk -l
      2. Disk /dev/sda: 160.0 GB, 160040803840 bytes
      3. 255 heads, 63 sectors/track, 19457 cylinders
      4. Units = cylinders of 16065 * 512 = 8225280 bytes
      5. Sector size (logical/physical): 512 bytes / 512 bytes
      6. I/O size (minimum/optimal): 512 bytes / 512 bytes
      7. Disk identifier: 0x0000bbca
      8. Device Boot Start End Blocks Id System
      9. /dev/sda1 * 1 19020 152776704 83 Linux
      10. /dev/sda2 19021 19458 3510273 5 Extended
      11. /dev/sda5 19021 19458 3510272 82 Linux swap / Solaris
      12. Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
      13. 255 heads, 63 sectors/track, 364801 cylinders
      14. Units = cylinders of 16065 * 512 = 8225280 bytes
      15. Sector size (logical/physical): 512 bytes / 4096 bytes
      16. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      17. Disk identifier: 0x00000000
      18. Disk /dev/sdb doesn't contain a valid partition table
      19. Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
      20. 255 heads, 63 sectors/track, 364801 cylinders
      21. Units = cylinders of 16065 * 512 = 8225280 bytes
      22. Sector size (logical/physical): 512 bytes / 4096 bytes
      23. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      24. Disk identifier: 0x00000000
      25. Disk /dev/sdc doesn't contain a valid partition table
      26. Disk /dev/sdd: 3000.6 GB, 3000591900160 bytes
      27. 255 heads, 63 sectors/track, 364801 cylinders
      28. Units = cylinders of 16065 * 512 = 8225280 bytes
      29. Sector size (logical/physical): 512 bytes / 4096 bytes
      30. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
      31. Disk identifier: 0x00000000
      32. Disk /dev/sdd doesn't contain a valid partition table
      33. Disk /dev/md0: 6001.2 GB, 6001180803072 bytes
      34. 2 heads, 4 sectors/track, 1465132032 cylinders
      35. Units = cylinders of 8 * 512 = 4096 bytes
      36. Sector size (logical/physical): 512 bytes / 4096 bytes
      37. I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
      38. Disk identifier: 0x00000000
      39. Disk /dev/md0 doesn't contain a valid partition table
      Display All


      Source Code

      1. root@omv:~# cat /etc/mdadm/mdadm.conf
      2. # mdadm.conf
      3. #
      4. # Please refer to mdadm.conf(5) for information about this file.
      5. #
      6. # by default, scan all partitions (/proc/partitions) for MD superblocks.
      7. # alternatively, specify devices to scan, using wildcards if desired.
      8. # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
      9. # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
      10. # used if no RAID devices are configured.
      11. DEVICE partitions
      12. # auto-create devices with Debian standard permissions
      13. CREATE owner=root group=disk mode=0660 auto=yes
      14. # automatically tag new arrays as belonging to the local system
      15. HOMEHOST <system>
      16. # definitions of existing MD arrays
      17. ARRAY /dev/md0 metadata=1.2 name=omv:NewRaid UUID=c234f0e0:aa4a7316:7bddb677:b613572c
      Display All

      Source Code

      1. root@omv:~# blkid
      2. /dev/sda1: UUID="faa5130c-6167-40dc-91dd-763e8eaeeb76" TYPE="ext4"
      3. /dev/sda5: UUID="0ec15acf-4503-42b0-8f4b-99be9135ecd5" TYPE="swap"
      4. /dev/sdb: UUID="c234f0e0-aa4a-7316-7bdd-b677b613572c" LABEL="omv:NewRaid" TYPE="linux_raid_member"
      5. /dev/sdc: UUID="c234f0e0-aa4a-7316-7bdd-b677b613572c" LABEL="omv:NewRaid" TYPE="linux_raid_member"
      6. /dev/md0: UUID="7dbda842-31b7-80c6-ea9c-aac8e318eab2" LABEL="openmediavault:missing" TYPE="linux_raid_member"
      7. /dev/sdd: UUID="c234f0e0-aa4a-7316-7bdd-b677b613572c" LABEL="omv:NewRaid" TYPE="linux_raid_member"
      Files
      • syslog.zip

        (19.04 kB, downloaded 93 times, last: )