thanks Walter.
There's definitely enough space on the volume:
mailboxes 915G 743G 126G 86% /var/lib/gromox/user
FWIW I run Grommunio in a Debian 11 VM. I mount /var/lib/gromox/user as a direct mount from an SSD on the host - it's a bit slower than direct access but it works, there are 3 other accounts on this system that work fine.
Starting from scratch and following this guide
mv midb.sqlite3 midb.sqlite3.bk
gromox-mkmidb -vf user@domain.com
returns
dbop_sqlite: Creating table "configurations"
dbop_sqlite: Creating table "folders"
dbop_sqlite: Creating table "messages"
dbop_sqlite: Creating table "mapping"
root@mail:/var/lib/gromox/user/1/2/exmdb# for i in /var/lib/gromox/user/1/2; do /usr/libexec/gromox/cleaner -d "$i"; done
NOTE: This program has been replaced by gromox-mbop -d /var/lib/gromox/user/1/2 purge-datafiles.
Forwarding execution...
Jun 21 10:46:11 mail.domain.com http[142006]: I-2393: Purged 0 files (0B) from /var/lib/gromox/user/1/2/cid
Jun 21 10:46:11 mail.domain.com http[142006]: I-2393: Purged 0 files (0B) from /var/lib/gromox/user/1/2/eml
Jun 21 10:46:11 mail.domain.com http[142006]: I-2393: Purged 0 files (0B) from /var/lib/gromox/user/1/2/ext
root@mail:/var/lib/gromox/user/1/2/exmdb# telnet ::1 5555
Trying ::1...
Connected to ::1.
Escape character is '^]'.
OK
X-RSYM /var/lib/gromox/user/1/2
TRUE 2
this output occurs:
Jun 21 10:47:51 mail.domain.com midb[148102]: sqlite3_exec(/var/lib/gromox/user/1/2/exmdb/midb.sqlite3) "DELETE FROM mapping": disk I/O error
Jun 21 10:47:51 mail.domain.com midb[148102]: Running sync_mailbox for /var/lib/gromox/user/1/2
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 15 skipped: PR_CONTAINER_CLASS not IPF.Note
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 16 skipped: PR_CONTAINER_CLASS not IPF.Note
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 17 skipped: PR_CONTAINER_CLASS not IPF.Note
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 18 skipped: PR_CONTAINER_CLASS not IPF.Note
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 19 skipped: PR_CONTAINER_CLASS not IPF.Note
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 20 skipped: PR_ATTR_HIDDEN=1
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 21 skipped: PR_ATTR_HIDDEN=1
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 22 skipped: PR_ATTR_HIDDEN=1
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 29 skipped: PR_ATTR_HIDDEN=1
Jun 21 10:47:51 mail.domain.com midb[148102]: sync_mailbox /var/lib/gromox/user/1/2 fld 2130545 skipped: PR_CONTAINER_CLASS not IPF.Note
Jun 21 10:47:51 mail.domain.com midb[148102]: sqlite3_step(/var/lib/gromox/user/1/2/exmdb/midb.sqlite3) "SELECT folder_id, parent_fid, commit_max, name FROM folders WHERE folder_id=10": disk I/O error
Jun 21 10:47:51 mail.domain.com midb[148102]: sqlite3_step(/var/lib/gromox/user/1/2/exmdb/midb.sqlite3) "INSERT INTO folders (folder_id, parent_fid, commit_max, name) VALUES (10, 9, 133316349914391756, 'sent')": disk I/O error
Something interesting is that the sqlite3 file gets created with gromox:gromox ownership, I believe it needs to be grommunio:gromox? Even if I change ownership prior to steps 2 and 3 it still errors. I also note ownership of the folder is gromox:gromox - I manually reset this to grommunio:gromox but issuing a gromox-mkmidb -vf user@domain command resets ownership to gromox:gromox
root@mail:/var/lib/gromox/user/1/2/exmdb# ls -la
total 543708
drwxrwx--- 2 gromox gromox 4096 Jun 21 10:47 .
drwxrwx--- 9 grommunio gromox 4096 Jun 21 10:15 ..
-rwxrwxrwx 1 grommunio gromox 556523520 Jun 21 10:43 exchange.sqlite3
-rw-rw---- 1 gromox gromox 77824 Jun 21 10:47 midb.sqlite3
-rwxrwx--- 1 grommunio gromox 77824 Jun 21 10:42 midb.sqlite3.bk
-rwxrwxrwx 1 grommunio gromox 32768 Jun 21 10:47 midb.sqlite3-shm
-rwxrwxrwx 1 grommunio gromox 0 Jun 20 20:58 midb.sqlite3-wal