Thanks, you helped a lot as usual.
Best,
Patrick
Thanks, you helped a lot as usual.
Best,
Patrick
Hi,
does anyone have a hint for me? Or is a fresh installation my only chance?
I do not have enough experience to try some things on my own outside the GUI.
Thanks for helping me in advance,
Patrick
Hi Community,
I am having a problem with one of my NAS.
First there was a RAID0 with two harddrives running on it and it was all fine.
I decided to add an encryption using the LUKS plugin.
So far so good, I removed all references to the file system and deattached it.
After doing that, I deleted the Raid and erased the drives all within the web gui.
Then, I created the Raid0 again and thought that I can build up the encryption on the Raid as I did on a fresh OMV installation on another NAS.
But with the luks plugin I am not able to select this new raid.
I think it has something to do that the old file system is still available after erasing the harddrives. I can select the button to attach an existing file system.
Can anyone please tell me how to get rid of this existing filesystem?
Thanks a lot,
Patrick
oh you are right.
Thanks a lot for your help and patience.
I will handle myself forward on this.
Okay, I understand the problem, this was my mistake I understood that wrong with the encryption.
is there any chance to get rid of this problem without loosing the stored data on the involved harddrives?
I don't have access to it in the usual way.
Thanks
any further suggestion for me or should I switch to the missing RAID part of the forum?
Thanks a lot
I have only 2 harddrives (sda, sdb) which are the LUKS devices and these two were combined to the RAID and further my file system is based on this.
After restart, my RAID got deleted and my file system is missing since then.
When I get you right, no RAID exists at the moment and my harddrives do not refer to anything.
But I am also not able to create a new RAID because I don't find my harddrives listed during the creation process.
sry for my bad explanation.
The file system is still missing and further my raid is not displayed.
Do I have to do something else than running omv-salt deploy run fstab monit?
Thanks
i tried it but unfortunately without success.
the output is the following:
root@schluckspecht:~# omv-salt deploy run fstab monit
Schluckspecht.nas:
----------
ID: create_filesystem_mountpoint_36de75a1-e772-4bd6-af33-c250545e4185
Function: file.accumulated
Result: True
Comment: Accumulator create_filesystem_mountpoint_36de75a1-e772-4bd6-af33-c 250545e4185 for file /etc/fstab was charged by text
Started: 18:25:15.132873
Duration: 4.406 ms
Changes:
----------
ID: mount_filesystem_mountpoint_36de75a1-e772-4bd6-af33-c250545e4185
Function: mount.mounted
Name: /srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031
Result: True
Comment:
Started: 18:25:15.141891
Duration: 239.547 ms
Changes:
----------
ID: append_fstab_entries
Function: file.blockreplace
Name: /etc/fstab
Result: True
Comment: No changes needed to be made
Started: 18:25:15.384028
Duration: 16.679 ms
Changes:
----------
ID: cleanup_monit_conf_dir
Function: module.run
Result: True
Comment: file.find: ['/etc/monit/conf.d/openmediavault-collectd.conf', '/et c/monit/conf.d/openmediavault-engined.conf', '/etc/monit/conf.d/openmediavault-f ilesystem.conf', '/etc/monit/conf.d/openmediavault-nginx.conf', '/etc/monit/conf .d/openmediavault-phpfpm.conf', '/etc/monit/conf.d/openmediavault-rrdcached.conf ', '/etc/monit/conf.d/openmediavault-system.conf']
Started: 18:25:15.404893
Duration: 16.66 ms
Changes:
----------
file.find:
- /etc/monit/conf.d/openmediavault-collectd.conf
- /etc/monit/conf.d/openmediavault-engined.conf
- /etc/monit/conf.d/openmediavault-filesystem.conf
- /etc/monit/conf.d/openmediavault-nginx.conf
- /etc/monit/conf.d/openmediavault-phpfpm.conf
- /etc/monit/conf.d/openmediavault-rrdcached.conf
- /etc/monit/conf.d/openmediavault-system.conf
----------
ID: configure_default_monit
Function: file.managed
Name: /etc/default/monit
Result: True
Comment: File /etc/default/monit is in the correct state
Started: 18:25:15.422127
Duration: 248.348 ms
Changes:
----------
ID: divert_default_monit
Function: omv_dpkg.divert_add
Name: /etc/default/monit
Result: True
Comment: Leaving 'local diversion of /etc/default/monit to /etc/default/mon it.distrib'
Started: 18:25:15.673915
Duration: 48.535 ms
Changes:
----------
ID: configure_monit_monitrc
Function: file.managed
Name: /etc/monit/monitrc
Result: True
Comment: File /etc/monit/monitrc is in the correct state
Started: 18:25:15.723424
Duration: 601.524 ms
Changes:
----------
ID: divert_monit_monitrc
Function: omv_dpkg.divert_add
Name: /etc/monit/monitrc
Result: True
Comment: Leaving 'local diversion of /etc/monit/monitrc to /etc/monit/monit rc.distrib'
Started: 18:25:16.325529
Duration: 37.824 ms
Changes:
----------
ID: configure_monit_collectd_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-collectd.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-collectd.conf updated
Started: 18:25:16.364226
Duration: 568.719 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_monit_filesystem_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-filesystem.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-filesystem.conf updated
Started: 18:25:16.933591
Duration: 580.83 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_monit_nginx_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-nginx.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-nginx.conf updated
Started: 18:25:17.515037
Duration: 577.447 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_monit_omv-engined_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-engined.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-engined.conf updated
Started: 18:25:18.093128
Duration: 566.794 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_monit_php-fpm_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-phpfpm.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-phpfpm.conf updated
Started: 18:25:18.660565
Duration: 565.449 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_monit_rrdcached_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-rrdcached.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-rrdcached.conf updated
Started: 18:25:19.226658
Duration: 568.586 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_monit_system_service
Function: file.managed
Name: /etc/monit/conf.d/openmediavault-system.conf
Result: True
Comment: File /etc/monit/conf.d/openmediavault-system.conf updated
Started: 18:25:19.795897
Duration: 604.468 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: test_monit_config
Function: cmd.run
Name: monit -t
Result: True
Comment: Command "monit -t" run
Started: 18:25:20.405226
Duration: 34.128 ms
Changes:
----------
pid:
48608
retcode:
0
stderr:
stdout:
Control file syntax OK
----------
ID: reload_monit_service
Function: service.running
Name: monit
Result: True
Comment: Service reloaded
Started: 18:25:25.728216
Duration: 179.973 ms
Changes:
----------
monit:
True
Summary for Schluckspecht.nas
-------------
Succeeded: 17 (changed=10)
Failed: 0
-------------
Total states run: 17
Total run time: 5.460 s
Alles anzeigen
I've created the filesystem (including formatting the disk) new because I switched my system to use the luksencryption plugin.
All of this happened directly in the OMV web interface using standard OMV functions.
I didn't do any restart after that and all things worked fine for about a week.
Yesterday I installed the wireguard plugin and the system wanted a reboot after, before I did this, I also updated anything the actualisation manager suggested to do (none beta releases).
But to answer your question: I did nothing outside of OMV.
Thanks
Hi all,
after an update I'm struggling with OMV. My filesystem and my raid (mirror) are missing since then and I was not able to get it back.
I found some similar topics but each case seems to specific and therefore I need help on this please.
I am using an Odroid ARM based setup and two harddrives.
The main error I get is: fsname: The value "" does not match exactly one schema of [{"type":"string","format":"fsuuid"},{"type":"string","format":"devicefile"},{"type":"string","format":"dirpath"}]
First of all I thought that the name of my device has changed but I think this shouldn't be the case because I'm referring to uuid (correct me if I'm wrong):
<fstab>
<!--
<mntent>
<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
<fsname>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx|xxxx-xxxx|/dev/xxx</fsname>
<dir>/xxx/yyy/zzz</dir>
<type>none|ext2|ext3|ext4|xfs|jfs|iso9660|udf|...</type>
<opts></opts>
<freq>0</freq>
<passno>0|1|2</passno>
<hidden>0|1</hidden>
<usagewarnthreshold>xxx</usagewarnthreshold>
<comment>xxx</comment>
</mntent>
-->
<mntent>
<uuid>36de75a1-e772-4bd6-af33-c250545e4185</uuid>
<fsname>/dev/disk/by-uuid/40ba7a74-73fa-4781-b460-1cd4e8fc4031</fsname>
<dir>/srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031</dir>
<type>ext4</type>
<opts>defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
<freq>0</freq>
<passno>2</passno>
<hidden>0</hidden>
<usagewarnthreshold>90</usagewarnthreshold>
<comment></comment>
</mntent>
</fstab>
Alles anzeigen
I can't see any error in the fsname section.
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
sdb 8:16 0 1.8T 0 disk
mmcblk0 179:0 0 29.1G 0 disk
├─mmcblk0p1 179:1 0 487M 0 part /boot
├─mmcblk0p2 179:2 0 27.7G 0 part /
├─mmcblk0p3 179:3 0 1K 0 part
└─mmcblk0p5 179:5 0 975M 0 part [SWAP]
blkid
/dev/mmcblk0p1: UUID="3f566fdc-40cc-4efd-badd-64ca7dceac9b" BLOCK_SIZE="1024" TYPE="ext2" PARTUUID="e08a59fd-01"
/dev/mmcblk0p2: UUID="58ee58c2-9be2-40ba-8064-d85ca94a879a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e08a59fd-02"
/dev/mmcblk0p5: UUID="b8f35f7b-2ba4-4fb1-9553-5b6fc96375e5" TYPE="swap" PARTUUID="e08a59fd-05"
/dev/sda: UUID="c9a38c39-4e8b-4f44-8924-07e5a1323b9e" LABEL="sda" TYPE="crypto_LUKS"
/dev/sdb: UUID="c1e21d75-4bfa-40f9-9f68-0fcdaa39af74" LABEL="sdb" TYPE="crypto_LUKS"
fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/mmcblk0p2 during installation
UUID=58ee58c2-9be2-40ba-8064-d85ca94a879a / ext4 noatime,nodiratime,errors=remount-ro 0 1
# /boot was on /dev/mmcblk0p1 during installation
UUID=3f566fdc-40cc-4efd-badd-64ca7dceac9b /boot ext2 defaults 0 2
# swap was on /dev/mmcblk0p5 during installation
UUID=b8f35f7b-2ba4-4fb1-9553-5b6fc96375e5 none swap sw 0 0
# >>> [openmediavault]
/dev/disk/by-uuid/40ba7a74-73fa-4781-b460-1cd4e8fc4031 /srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
Alles anzeigen
Last but not least here are some outputs from the log which might help:
Jan 12 17:42:22 schluckspecht systemd[1]: Timed out waiting for device /dev/disk/by-uuid/40ba7a74-73fa-4781-b460-1cd4e8fc4031.
Jan 12 17:42:52 schluckspecht monit[2476]: Lookup for '/srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' filesystem failed -- not found in /proc/self/mounts
Jan 12 17:42:52 schluckspecht monit[2476]: Filesystem '/srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' not mounted
Jan 12 17:42:52 schluckspecht monit[2476]: 'filesystem_srv_dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' unable to read filesystem '/srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' state
Jan 12 17:43:22 schluckspecht monit[2476]: Filesystem '/srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' not mounted
Jan 12 17:43:22 schluckspecht monit[2476]: 'filesystem_srv_dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' unable to read filesystem '/srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' state
Jan 12 17:43:22 schluckspecht monit[2476]: 'filesystem_srv_dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' trying to restart
Jan 12 17:43:22 schluckspecht monit[2476]: 'mountpoint_srv_dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' status failed (1) -- /srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031 is not a mountpoint
Jan 12 17:43:22 schluckspecht monit[2476]: 'mountpoint_srv_dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031' status failed (1) -- /srv/dev-disk-by-uuid-40ba7a74-73fa-4781-b460-1cd4e8fc4031 is not a mountpoint
Alles anzeigen
Thanks in advance to anyone who is willing to help me.
Have a great day and cheers from Austria.
Thanks, Patrick
Hi @ all,
I am using an Odroid-HC4 with Debian 11 and OMV 6.1.4-2 (Shaitan).
My problem is that my system boots every day at a specific time.
I want to keep the starts of the discs as low as possible and so this is very counterproductive.
With the help of the systemlog I figured out what is causing this behaviour.
The cron-apt daily starts and with it my system.
So how can I configure my system that I am not using cron-apt daily for installing updates but cron-apt weekly?
Thanks for your help in advance,
Patrick