I am using OMV on a Banana Pi with a port multiplier. When I try to mount a disk I get this error
Failed to mount 'ffd1ad88-3526-4815-ac2e-ff56b783e173': mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
Error #6000:
exception 'OMVException' with message 'Failed to mount 'ffd1ad88-3526-4815-ac2e-ff56b783e173': mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
' in /usr/share/openmediavault/engined/module/fstab.inc:90
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModuleFsTab->startService()
#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#9 {main}
Alles anzeigen
I can mount the drive in SSH just fine and use it though
When I try to set permissions for different users I get this error using ACL
Failed to execute command 'export LANG=C; setfacl --remove-all --recursive -m 'default:user:user1:7,user:user1:7,default:user:user2:7,user:user2:7,default:user::7,user::7,default:group::7,group::7,default:other::5,other::5' -- '/media/ffd1ad88-3526-4815-ac2e-ff56b783e173/160Test//' 2>&1': setfacl: /media/ffd1ad88-3526-4815-ac2e-ff56b783e173/160Test//: Operation not supported
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; setfacl --remove-all --recursive -m 'default:user:user1:7,user:user1:7,default:user:user2:7,user:user2:7,default:user::7,user::7,default:group::7,group::7,default:other::5,other::5' -- '/media/ffd1ad88-3526-4815-ac2e-ff56b783e173/160Test//' 2>&1': setfacl: /media/ffd1ad88-3526-4815-ac2e-ff56b783e173/160Test//: 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}
This happens with USB hard drives as well so I don't think it's the SATA multipliers fault
Output of dmesg | tail
[ 27.715961] scsi 1:0:0:0: Direct-Access FUJITSU MHW2160BJ G1 PQ : 0 ANSI: 2 CCS
[ 27.717649] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 27.720379] sd 1:0:0:0: [sdc] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[ 27.721572] sd 1:0:0:0: [sdc] Write Protect is off
[ 27.721630] sd 1:0:0:0: [sdc] Mode Sense: 28 00 00 00
[ 27.722815] sd 1:0:0:0: [sdc] No Caching mode page found
[ 27.722869] sd 1:0:0:0: [sdc] Assuming drive cache: write through
[ 27.781155] sdc: sdc1 sdc2 < sdc5 >
[ 27.788352] sd 1:0:0:0: [sdc] Attached SCSI disk
[ 1724.555145] device-mapper: ioctl: 4.29.0-ioctl (2014-10-28) initialised: dm-d evel@redhat.com
I am using a minimal debian install from Igor using his build scripts to have port multiplier in the 3.19.3 kernel. Like I said I can mount drives in terminal without an issue and write to the drives. I can also mount the drives via USB on a Raspberry Pi OMV installation so the drives are OK.
I am also able to use OMV on the Bananian distro running kernel 3.4 and able to mount the same drives so I think I am missing something in Igor's distro.
Update: On 3.4 kernel it works fine, so my current conclusion is that OMV is not playing nice with the 3.19 kernel, what can be done?
I really want to release this prepared image so any help would be much appreciated.