zfs experts -
I have a Ubuntu 18.04.1 LTS host with ZFS hosting /var/lib/docker and it generally works fine. I did experience some quirks but that can be another topic.
I'm trying to setup SAP HANA express edition docker and ran into an issue. It's not a supported config by SAP. But someone has posted a work around but that is not quite working for me.
Installing SAP HANA, express edition with Docker - persistence on zfs · Issue #2234 · SAPDocuments/Tutorials
I created a 200G image as described above and mounted but still getting the error.
I have a Ubuntu 18.04.1 LTS host with ZFS hosting /var/lib/docker and it generally works fine. I did experience some quirks but that can be another topic.
I'm trying to setup SAP HANA express edition docker and ran into an issue. It's not a supported config by SAP. But someone has posted a work around but that is not quite working for me.
Installing SAP HANA, express edition with Docker - persistence on zfs · Issue #2234 · SAPDocuments/Tutorials
I created a 200G image as described above and mounted but still getting the error.
Code:
dd if=/dev/zero of=HANA.img bs=128k seek=1638400 count=0
mkfs.ext4 HANA.img
mount HANA.img /mnt/hxe1data
chown hxeadm.sapsys /mnt/hxe1data
chmod 666 /mnt/hxe1data
I'm using the latest release if that makes a difference
store/saplabs/hanaexpressxsa:2.00.033.00.20180925.2
The base OS is Ubuntu 18.04.1 LTS
Docker -
Server Version: 18.06.1-ce
Snippet of error log:
Change hardware key...
nameserver hxehost:39001 not responding.
Opening persistence ...
assign failed with persistence startup error. exception 1: no.2000004 (Basis/IO/FileAccess/impl/FileDescriptors.cpp:334)
Cannot open file ""/datavolume_0000.dat" ((closed, mode= RW, access= rw-rw-r--, flags= DIRECT|MUST_EXIST|LOCK), factory= (root= "/hana/shared/data/HXE/mnt00001/hdb00001/" (access= rw-rw-r--, flags= AUTOCREATE_DIRECTORY, usage= DATA, fs= UNKNOWN (zfs), config= (async_write_submit_active=on,async_write_submit_blocks=all,async_read_submit=on,num_submit_queues=1,num_completion_queues=1,size_kernel_io_queue=512,max_parallel_io_requests=64,min_submit_batch_size=16,max_submit_batch_size=64))", rc=22: Invalid argument
exception throw location:
stopping service...
error: Unknown persistence layer error
failed. trace file nameserver_hxehost.00000.000.trc may contain more error details.
~~~
*****