Beiträge von fromport
-
-
-
We just found out that his 4 drives all have the same serial number because the sata<-> usb converter all provide the same serial:
"vendor":"ST4000VN","serialnumber":"000000004899"
So OMV (or any other os) can not distinguish the drives apart, except where they are plugged in in the usb port.
XY is going to contact the manufacturer to see if it somehow can be changed per drive.
-
It seems that ovm2 raid setup was done with a 1:1 mirror of sda/sdb in his case with an ext4 filesystem directly on the md device.
The conversion basically meant creating a raid partition on the drives.
After that, omv4 was happy again.
nettozzie did a great job describing what I did on his system.
There were some complications because the drives had both ext4 & zfs signatures on it, had to remove all of those.
Hope it helps other people who are struggling with this issue. -
Followup from IRC
Zitat02:04 < subzero79> gregs_ whats the issue with the setgid?
02:05 < subzero79> just take it out from the parent directory, but every new SF (with a new folder) in omv is created with
setgid and is hardcoded. Don't know if there is a omv env variable to control that
02:12 < gregs_> subzero79: Thank you, I didn't know this -> "take it out from the parent directory". Now I could make and
copy without SGID. My problem is solved.
02:12 < subzero79> BTW what issues do you have with setgid?
02:31 < gregs_> subzero79: I wanted backup files. So, I wanted to copy them in completely same permission. This is the
reason why I didn't want the setgid in copy.
02:32 < gregs_> "I wanted backup files" --> "I wanted to backup files"
02:32 < subzero79> well you can always use the preserve permission mode
02:32 < subzero79> if rsync is what you're using
02:32 < subzero79> or cp
02:35 < gregs_> subzero79: At least with "cp", preserve permissions mode "-p" didn't remove setgid as I posted.
https://goo.gl/BHyJgV
02:35 < subzero79> ok -
Running omv4 on intel hardware
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up openmediavault-omvextrasorg (4.1.2) ...
Updating configuration database ...
Traceback (most recent call last):
File "/usr/sbin/omv-confdbadm", line 24, in <module>
import openmediavault.confdbadm
File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 32, in <module>
import openmediavault.config.datamodel
File "/usr/lib/python3/dist-packages/openmediavault/config/__init__.py", line 23, in <module>
from .database import *
File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 37, in <module>
import lxml.etree
ImportError: /usr/lib/python3/dist-packages/lxml/etree.cpython-35m-x86_64-linux-gnu.so: symbol xmlBufContent, version LIBXML2_2.9.0 not defined in file libxml2.so.2 with link time reference
dpkg: error processing package openmediavault-omvextrasorg (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault (4.0.15-1) ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-omvextrasorg
E: Sub-process /usr/bin/dpkg returned an error code (1)
Turned out plex somehow set an environment variable.
I did a "unset LD_LIBRARY_PATH" and was able to finish the upgrade -
Running omv4 on intel hardware
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up openmediavault-omvextrasorg (4.1.2) ...
Updating configuration database ...
Traceback (most recent call last):
File "/usr/sbin/omv-confdbadm", line 24, in <module>
import openmediavault.confdbadm
File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 32, in <module>
import openmediavault.config.datamodel
File "/usr/lib/python3/dist-packages/openmediavault/config/__init__.py", line 23, in <module>
from .database import *
File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 37, in <module>
import lxml.etree
ImportError: /usr/lib/python3/dist-packages/lxml/etree.cpython-35m-x86_64-linux-gnu.so: symbol xmlBufContent, version LIBXML2_2.9.0 not defined in file libxml2.so.2 with link time reference
dpkg: error processing package openmediavault-omvextrasorg (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault (4.0.15-1) ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-omvextrasorg
E: Sub-process /usr/bin/dpkg returned an error code (1)Did the same on my RPI3 running omv4 and it upgraded just fine.
Any ideas/suggestions ?
*update*
got an error posting to the forum, suggesting I should try again later, which I did. Only to find out it had done multiple postings. Sorry for that!
Proof: -
https://raid.wiki.kernel.org/index.php/Growing
I would go with ZFS btw and copy all the data from your other raid5 drives over to the ZFS drive and grow that once the raid drives become available
-
I wrote the plugin. Is that enough knowledge?
I need to try and replicate this problem to fix it.I was referring to "more knowledge than I have" , was not trying to insult you.
I am simply out of options how to help him.Sorry for my miss communication
And thanks for fixing it -
Uninstall the remotemount plugin and install it again.
I just tried to help him and he did exactly that.
First removed all config thru webgui.
removed module through gui
removed every reference to the UUID recursive in /etc/ with CLI
rebooted OMV
loaded modules again,
redid config.
He still gets the same error.
I tried a similar config on one of my omv's.
Worked right up.
But when I tried to remove the config, I got the same error (different UUID of course)
I think it is worth it if someone with more knowledge would take a look at this.