I'm attempting to rebuild an OMV server that had a disk failure. The disk was replaced and while I did that I decided to upgrade from OMV5 to OMV7. The configuration is an AMD64, 32 GB System Disk & four 2 TB HDDs.
This is what I've done (twice now):
- install OMV7 on the 32 GB SSD with four HDDs disconnected
- Shutdown and add back the four HDDs
- Add OMV Extras
- Activate the OMV Multi Disk plugin
- Wipe all four HDDs
- Add the four disk to the SMART monitoring. All showing "Good".
- Group all of the four HDDs into a single RAID 6 configuration (took 8 hours) finished fine.
- Attempt to add a EXT4 file system to the newly created MD0 using Create and Mount a File System
I get the following error when this is attempted:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian:
----------
ID: create_filesystem_mountpoint_426944b3-6efd-402f-9b31-a0ebb32aa0da
Function: file.accumulated
Result: True
Comment: Accumulator create_filesystem_mountpoint_426944b3-6efd-402f-9b31-a0ebb32aa0da for file /etc/fstab was charged by text
Started: 18:41:38.549627
Duration: 0.996 ms
Changes:
----------
ID: mount_filesystem_mountpoint_426944b3-6efd-402f-9b31-a0ebb32aa0da
Function: mount.mounted
Name: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3
Result: False
Comment: mount: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
Started: 18:41:38.551536
Duration: 50.563 ms
Changes:
----------
ID: append_fstab_entries
Function: file.blockreplace
Name: /etc/fstab
Result: True
Comment: Changes were made
Started: 18:41:38.602568
Duration: 5.141 ms
Changes:
----------
diff:
---
+++
@@ -13,5 +13,5 @@
# swap was on /dev/sda5 during installation
UUID=b8cbcdc3-f46e-4cf2-8c55-86c724b75a5a none swap sw 0 0
# >>> [openmediavault]
-
+/dev/disk/by-uuid/fb989566-76c1-449d-bd83-ffa0ed45cbc3 /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
----------
ID: fstab_systemctl_daemon_reload
Function: module.run
Result: True
Comment: service.systemctl_reload: True
Started: 18:41:38.608551
Duration: 648.231 ms
Changes:
----------
service.systemctl_reload:
True
Summary for debian
------------
Succeeded: 3 (changed=2)
Failed: 1
------------
Total states run: 4
Total run time: 704.931 ms
[ERROR ] Command 'mount' failed with return code: 32
[ERROR ] stderr: mount: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
[ERROR ] retcode: 32
[ERROR ] mount: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian:
----------
ID: create_filesystem_mountpoint_426944b3-6efd-402f-9b31-a0ebb32aa0da
Function: file.accumulated
Result: True
Comment: Accumulator create_filesystem_mountpoint_426944b3-6efd-402f-9b31-a0ebb32aa0da for file /etc/fstab was charged by text
Started: 18:41:38.549627
Duration: 0.996 ms
Changes:
----------
ID: mount_filesystem_mountpoint_426944b3-6efd-402f-9b31-a0ebb32aa0da
Function: mount.mounted
Name: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3
Result: False
Comment: mount: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
Started: 18:41:38.551536
Duration: 50.563 ms
Changes:
----------
ID: append_fstab_entries
Function: file.blockreplace
Name: /etc/fstab
Result: True
Comment: Changes were made
Started: 18:41:38.602568
Duration: 5.141 ms
Changes:
----------
diff:
---
+++
@@ -13,5 +13,5 @@
# swap was on /dev/sda5 during installation
UUID=b8cbcdc3-f46e-4cf2-8c55-86c724b75a5a none swap sw 0 0
# >>> [openmediavault]
-
+/dev/disk/by-uuid/fb989566-76c1-449d-bd83-ffa0ed45cbc3 /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
----------
ID: fstab_systemctl_daemon_reload
Function: module.run
Result: True
Comment: service.systemctl_reload: True
Started: 18:41:38.608551
Duration: 648.231 ms
Changes:
----------
service.systemctl_reload:
True
Summary for debian
------------
Succeeded: 3 (changed=2)
Failed: 1
------------
Total states run: 4
Total run time: 704.931 ms
[ERROR ] Command 'mount' failed with return code: 32
[ERROR ] stderr: mount: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
[ERROR ] retcode: 32
[ERROR ] mount: /srv/dev-disk-by-uuid-fb989566-76c1-449d-bd83-ffa0ed45cbc3: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call. in /usr/share/php/openmediavault/system/process.inc:247
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(186): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(146): OMV\Rpc\ServiceAbstract->execBgProc()
#7 /usr/share/openmediavault/engined/rpc/config.inc(207): OMV\Rpc\ServiceAbstract->callMethodBg()
#8 [internal function]: Engined\Rpc\Config->applyChangesBg()
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#11 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#12 {main}
Display More
I see something failed about line 15 but I do not have enough knowledge on how to resolve the issue. Can anyone suggest a possible course of action?
Thanks,