Beiträge von TiredHornet
-
-
I already tried that and got the same error as before. I initially came from an old install with docker and portainer (from April 2023 before OMV changed to OMV-compose). If the fix isn't obvious it might be easier to just roll back to a by previously backed up installation and redo the whole whole docker-compose part.
-
The error in the kernel installation is probably not related to the error in the compose configuration. I can't read the compose error, that link asks for a password. It is better to attach a txt file in the forum.
okay, i added a txt file in my first post and removed the link. Thankyou for your help.
-
There's a warning about that here. https://wiki.omv-extras.org/do…mediavault-compose_plugin
Yeah, I read that a few minutes after my failed attempt. But I was not able to undo what I did and the system keeps giving me the same errors if I try to change something. Any ideas?
-
Hi,
I am experiencing some trouble with OMV. I was in the changing the Docker-Compose "docker storage" path from the default "/var/lib/docker" to an SSD. Because I didn't want to use the long absolut path I though a Symlink would make things easier. I created a Symlink for the SSD and inserted a new path in "docker storage" (ssdm2/docker). From this point I am a bit fuzzy what I did next. Multiple tries to apply t hese setting a reverting back to the standard "/var/lib/docker" failed with errors. I then tried to install the OMV updates including "linux-image-6.1.0-0.deb11.6-amd64 6.1.15" which also didn't work.
The common part in the error messages that I saw was:
CodeFailed to create or replace /initrd.img: Is a directory at /usr/bin/linux-update-symlinks line 72.
The complete error messages can be found below. Any help or pointers on how to solve this are welcome.
Kind regards,
TiredHornet
Error from applying settings in docker-compose:
[TO LONG TO POST HERE]. I attached everything in the text fiel below.
Error from kernel update:
Code
Alles anzeigenFailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" dist-upgrade 2>&1' with exit code '100': Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be REMOVED: linux-image-6.1.0-0.deb11.6-amd64 The following packages will be upgraded: docker-ce docker-ce-cli docker-compose-plugin openmediavault 4 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 50.1 MB/52.5 MB of archives. After this operation, 504 MB disk space will be freed. Get:1 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce-cli amd64 5:25.0.0-1~debian.11~bullseye [13.7 MB] Get:2 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce amd64 5:25.0.0-1~debian.11~bullseye [24.3 MB] Get:3 https://download.docker.com/linux/debian bullseye/stable amd64 docker-compose-plugin amd64 2.24.1-1~debian.11~bullseye [12.1 MB] Preconfiguring packages ... Fetched 50.1 MB in 2s (21.3 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 42214 files and directories currently installed.) Removing linux-image-6.1.0-0.deb11.6-amd64 (6.1.15-1~bpo11+1) ... Failed to create or replace /initrd.img: Is a directory at /usr/bin/linux-update-symlinks line 72. dpkg: error processing package linux-image-6.1.0-0.deb11.6-amd64 (--remove): installed linux-image-6.1.0-0.deb11.6-amd64 package post-removal script subprocess returned error exit status 21 dpkg: too many errors, stopping Errors were encountered while processing: linux-image-6.1.0-0.deb11.6-amd64 Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1) in /usr/share/openmediavault/engined/rpc/apt.inc:226 Stack trace: #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): Engined\Rpc\Apt->Engined\Rpc\{closure}('/tmp/bgstatusqs...', '/tmp/bgoutputuJ...') #1 /usr/share/openmediavault/engined/rpc/apt.inc(229): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #2 [internal function]: Engined\Rpc\Apt->upgrade(NULL, Array) #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array) #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('upgrade', NULL, Array) #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Apt', 'upgrade', NULL, Array, 1) #6 {main}
-
Thank you ryecoaaron for the instant reply!
It is the one with the parity file on it and no data.
Okay, I found the "snapraid.parity" file!
snapraid config needs to look like the old one. Add the drives in the same order as the old config if you can access your old system drive. mergerfs doesn't matter other than using the same policy if you want to.
I found a the "snapraid.conf" file one the other three drives
Code
Alles anzeigen# this file was automatically generated from # openmediavault Arrakis 4.1.29-1 # and 'openmediavault-snapraid' 3.7.7 block_size 256 autosave 0 ##################################################################### # OMV-Name: pd_wdrperry Drive Label: wdrperry parity /srv/dev-disk-by-label-wdrperry/snapraid.parity ##################################################################### # OMV-Name: dd_wdratlan Drive Label: wdratlan content /srv/dev-disk-by-label-wdratlan/snapraid.content disk dd_wdratlan /srv/dev-disk-by-label-wdratlan ##################################################################### # OMV-Name: dd_wdrbetty Drive Label: wdrbetty content /srv/dev-disk-by-label-wdrbetty/snapraid.content disk dd_wdrbetty /srv/dev-disk-by-label-wdrbetty ##################################################################### # OMV-Name: dd_wdricho Drive Label: wdricho content /srv/dev-disk-by-label-wdricho/snapraid.content disk dd_wdricho /srv/dev-disk-by-label-wdricho exclude /snapraid.conf* exclude *.unrecoverable exclude lost+found/ exclude aquota.user exclude aquota.group exclude /tmp/ exclude .content exclude *.bak
So I would just setup snapraid identically.
I wouldn't use LVM.
Okay, I can't really remember why I set it up. But I guess one of the drives is setup as LVM. It is the my device "/dev/sdd" but it shows up as "/dev/dm-0" under file systems. Can I get rid of LVM without losing my data on that drive? If not are there downsides I should be aware of if I just keep it this way?
-
Hi,
I moved my OMV server to new hardware in rush and naturally some mistakes happend. Especially, I did not make notes of my exact setup...
My old setup was OMV 4 with Snapraid and MergerFS for drive pooling. I had a 4x 4 TB setup with one drive the parity drive. I wan't the setup to be the same on the new system but a number of questions have arisen:
1.) I am not completely sure which drive was a parity drive. I assume it the one with pratically no storage left (~500MB). But how can I easily check this? (I still have the old system drive if that is any help)
2.) Once I know which drives are data and which is the parity drive, how would I go about creating/recovering my Snapraid + MergerFS setup?
3.) I already mounted all four drives. Interestingly, only one drive automatically appear in LVM. I could of course add the other drives as LVM but I am not sure if this is a good idea.
As you can see I have a lot of question here. Any help is highly appreciated!
Best regards,
TiredHornet
New OMV6 Server: Fujitsu D3644-B, Intel Core i3-8100, 8GB DDR4 2400MHz, Sandisk SanDisk pSSD 128GB (USB), 4x 4TB WD40EFRX
-
I finally moved from OMV 2 to OMV3. With that I also had to abandon aufs. I used to old pooling(aufs) plugin together with SnapRaid for some parity.
While OMV 3 is running, I do have some issues with the new union file system. I cannot recover my old shares created using aufs. Although, the shares have the same name as before.
So what are my options? Since one of the disks seems to be quit a mess anyway (old shares and old pools). I think I would like to format them and then rebuild the union file system from scratch.
1) For that I would first copy the old shares spread across two disks to a new disk using rsync.
2) Format the old disks contain the messy pooled data (disconnect to backup drive to be safe)
3) Rebuild the union filesystem using the formated drives
4) Copy everything to the new union-filesystem.Does this sound like a good plan to you?
-
Hi,
I am planning to upgrade from OMV 2 to OMV 3 with a clean install as recommended. As I understand aufs pooling is no longer supported in OMV 3.0. Instead, I can use mergerfs. Currently, I am using my pool with Snapraid and I plan to use Snapraid after the reinstall. So my questions are:
1) How do I migrate from a Aufs pool to mergerfs. Do I need to do anything before the reinstall?
2) What about my Snapraid configuration? Will the parity disk need to be "rebuild"?
3) I have any additional disk I'd like to add to my pool. What would be the best time in this setup/installation to add it?Thanks in advance for your help!
Cheers
TiredHornet -
I decided to add another HDD to my Snapraid + aufs setup. Before I make a mess of everything, I would like to review the procedure for this with you.
1) Install the drive (and labelled it ) [done]
2) Creat phyisical and logical volumes [done]
3) Create a filesystem on the drive and mount it [done]
4) Under Snapraid -> Drives add the drive as a data drive and include the content file
5) Under pooling(aufs) -> Pools edit the existing pool and add a new branche (plus sign) with the new drive.Is that about it? Am I missing anything? I haven't done 4 and 5 yet.
Best,
TiredHornet -
I finally got around to fixing this problem. I asked in the SnapRaid forum and was told to check the snapraid.conf file for any mention of "parity.file" and "parity.file.lock". Since they were not in the config file. it was safe to delete them using - rm -
Now all drives included in my snapraid setup have the same amount of disk space used. -
Okay I did that and found two files called:
parity.file
parity.file.lockThe first is about 1 TB in size and both have not be altered for more than 1.5 years so I suppose they belong to the old configuration. Anyway to find out if I need these files? Or does anyone know these kind of files?
-
Hi,
my parity disk is much more full than the data disk in my snapraid configuration. The difference is about 1 TiB with 3.58 TiB drives. From what I understand about Snapraid this should not be the case. Is there any way to find out what is going on? It might be that there is some old data on the parity drive from an OMV configuration I was running before the current.
The filesytems currently look like this:
https://www.dropbox.com/s/1q84…tems_TiredHornet.JPG?dl=0
wdrperry it the parity drive and wdrbety and wdratlan are the data drives.My Snapraid configuration:
Code
Alles anzeigen# this file was automatically generated from # OpenMediaVault Kralizec 1.19 # and 'openmediavault-snapraid' block_size 256 autosave 0 ##################################################################### # OMV-Name: pv_wdrperry Drive Label: wdrperry parity /media/19c5b4f6-fe28-4b36-806a-eb44d0c02035/snapraid.parity ##################################################################### # OMV-Name: dv_wdrbetty Drive Label: wdrbetty content /media/0ac8fcaa-903a-4333-9f8f-c3fe6c23a610/snapraid.content disk dv_wdrbetty /media/0ac8fcaa-903a-4333-9f8f-c3fe6c23a610 ##################################################################### # OMV-Name: dv_wdratlan Drive Label: wdratlan content /media/df804a1e-2981-4e19-936a-c05aa41a6336/snapraid.content disk dv_wdratlan /media/df804a1e-2981-4e19-936a-c05aa41a6336 exclude *.bak exclude *.unrecoverable exclude /tmp/ exclude lost+found/ exclude .content exclude aquota.group exclude aquota.user exclude snapraid.conf*
my snapraid status:
Code
Alles anzeigenSelf test... Loading state from /media/0ac8fcaa-903a-4333-9f8f-c3fe6c23a610/snapraid.content... Using 616 MiB of memory. SnapRAID status report: Files Fragmented Excess Wasted Used Free Use Name Files Fragments GB GB GB 60334 117 417 1170.7 1864 902 67% dv_wdrbetty 71403 89 438 1173.6 1784 979 64% dv_wdratlan -------------------------------------------------------------------------- 131737 206 855 2344.3 3649 1881 66% 15%|* |* |* |* |* * * |* * * + |* * * * * * 7%|* * * * * * + + + |* * * * * * * * * |* * * * * * * * * |* * * * * * * * *+ |* * * * * * * * ** |* * * * * * * * ** |* * * * * * * * ** 0%|*_______________*_*__________________*_____+________________*_*_*_*_** 6 days ago of the last scrub 5 The oldest block was scrubbed 6 days ago, the median 5, the newest 5. No sync is in progress. No rehash is in progress or needed. No error detected.
-
-
-
I found the thread you probably mean:
btsync shared folders permissions
Adding btsync to the omv group users doesn't seem like a good idea. Since then btsync has privileges everywhere the users group does. If I open the share to everyone (777 mode) does that mean that anyone with access to the can change delete everything on that share? The worst case I can think of is that somebody deletes the whole content of the share and btsync then deletes everything for the computers it sync with. Could this happen easily? My server can be reached remotely for owncloud and plex too. Is this in anyway dangerous with respect to mod 777 for the btsync share folder?
-
Okay,
well the shared folder is on an pooled drive so I guess that is the problem. Is there a way to set the permissions for btsync on a aufs. I can't choose btsync under privileges.
-
I'm trying to setup btsync and for this a need a shared folder where the user/group btsync has RW permissions. I have created a shared folder called syncuser and am now getting an error when setting the ACL.
CodeError #4000: exception 'OMVException' with message 'Failed to execute command 'export LANG=C; setfacl --remove-all -m 'default:user:btsync:7,user:btsync:7,default:group:btsync:7,group:btsync:7,default:user::7,user::7,default:group::7,group::7,default:other::5,other::5' -- '/media/0ac8fcaa-903a-4333-9f8f-c3fe6c23a610/raumzeitfalte/btsync/users//' 2>&1': setfacl: /media/0ac8fcaa-903a-4333-9f8f-c3fe6c23a610/raumzeitfalte/btsync/users//: Operation not supported' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:1172 Stack trace: #0 [internal function]: OMVRpcServiceShareMgmt->setFileACL(Array, Array) #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setFileACL', Array, Array) #3 /usr/sbin/omv-engined(500): OMVRpc::exec('ShareMgmt', 'setFileACL', Array, Array, 1) #4 {main}
So what am I doing wrong? This is what I tried to apply:
So what am I doing wrong?
-
Thx,
for all the responses. I think btsync might be what I need. Only working on network shares doesn't seem to be a good idea since the laptop will also be used remotely.
I'll try to setup btsync and let you know if it worked for me.
Thx again
TiredHornet -
Hi,
Here is my situation. At home my wife an I have a desktop and 2 laptops. Usually we work on the desktop, but sometimes we both need to do something on the computer. Up to now we do not have the same files on both the desktop and the laptop. I would like to change that.
This might be a stupid question, but what should I use if I want to sync documents and pictures for different users between a desktop computer and a laptop? I should add that both are windows 7 PCs and essentially I would like to keep the \Users\<Username>\Documents and \Users\<Username>\Pictures folders synced.
I don't necessarily need remote syncing if that changes anything.
Greets
TiredH