After reading this: http://forums.openmediavault.org/viewtopic.php?f=10&t=1919
I changed my fstab and /etc/openmediavault/config.xml to remove refrences to old share, and that worked, but I cannot create a filesystem for the new raid, and mount it
Code
root@omv:~# cat /etc/fstab.old
# /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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=faa5130c-6167-40dc-91dd-763e8eaeeb76 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=0ec15acf-4503-42b0-8f4b-99be9135ecd5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
UUID=5eb927dd-91b5-4c42-9d37-ac34832a6384 /media/5eb927dd-91b5-4c42-9d37-ac34832a6384 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2
/media/5eb927dd-91b5-4c42-9d37-ac34832a6384/usenet/ /export/usenet none bind 0 0
/media/5eb927dd-91b5-4c42-9d37-ac34832a6384/kids/ /export/kids none bind 0 0
# <<< [openmediavault]
root@omv:~#
Alles anzeigen
Code
root@omv:~# cat /etc/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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=faa5130c-6167-40dc-91dd-763e8eaeeb76 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=0ec15acf-4503-42b0-8f4b-99be9135ecd5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
/media/5eb927dd-91b5-4c42-9d37-ac34832a6384/usenet/ /export/usenet none bind 0 0
/media/5eb927dd-91b5-4c42-9d37-ac34832a6384/kids/ /export/kids none bind 0 0
# <<< [openmediavault]
Alles anzeigen
In shared folders (in omv console) I see 4 shares but cannot remove them:
(the remove button is not enabled, and this is what I see when I do edit)
Code
Error #3003:
exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[uuid='6589cb43-2fca-4b82-849a-e67a44619bd5'])' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:256
Stack trace:
#0 [internal function]: OMVRpcServiceShareMgmt->get(Array, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('get', Array, Array)
#3 /usr/sbin/omv-engined(495): OMVRpc::exec('ShareMgmt', 'get', Array, Array, 1)
#4 {main}
Code
Error #3003:
exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[uuid='6589cb43-2fca-4b82-849a-e67a44619bd5'])' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:256
Stack trace:
#0 [internal function]: OMVRpcServiceShareMgmt->get(Array, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('get', Array, Array)
#3 /usr/sbin/omv-engined(495): OMVRpc::exec('ShareMgmt', 'get', Array, Array, 1)
#4 {main}
Code
Error #3003:
exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[uuid='6589cb43-2fca-4b82-849a-e67a44619bd5'])' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:256
Stack trace:
#0 [internal function]: OMVRpcServiceShareMgmt->get(Array, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('get', Array, Array)
#3 /usr/sbin/omv-engined(495): OMVRpc::exec('ShareMgmt', 'get', Array, Array, 1)
#4 {main}
Code
Error #3003:
exception 'OMVException' with message 'Failed to get configuration (xpath=//system/fstab/mntent[uuid='6589cb43-2fca-4b82-849a-e67a44619bd5'])' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:256
Stack trace:
#0 [internal function]: OMVRpcServiceShareMgmt->get(Array, Array)
#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(62): OMVRpcServiceAbstract->callMethod('get', Array, Array)
#3 /usr/sbin/omv-engined(495): OMVRpc::exec('ShareMgmt', 'get', Array, Array, 1)
#4 {main}