This is a sample setup that duplicates error with mssql-server-linux image.
A. Windows Part
- create windows user testone pass testone
- share a folder as “share” (file system doesn’t matter ntfs,exfat,fat32)
- give full permission to testone (on share and ntfs if applicable)
B. Linux Part
- mount directory
sudo mount -t cifs ///share ~/hostshare -o username=testone,password=testone,file_mode=0777,dir_mode=0777,vers=3.0
- run microsoft/mssql-server-linux
run fails when updating mastlog.ldf (expand file)
2018-02-12 16:38:11.25 spid5s Database ‘master’ running the upgrade step from version 862 to version 863.
2018-02-12 16:38:11.32 spid5s Database ‘master’ running the upgrade step from version 863 to version 864.
2018-02-12 16:38:11.37 spid5s Error: 17053, Severity: 16, State: 1.
2018-02-12 16:38:11.37 spid5s /var/opt/mssql/data/mastlog.ldf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-12 16:38:12.40 spid5s Error: 928, Severity: 20, State: 1.
2018-02-12 16:38:12.40 spid5s During upgrade, database raised exception 9002, severity 17, state 0, address 0000000404DA13DE. Use the exception number to determine the cause.
2018-02-12 16:38:12.41 spid5s Error: 9002, Severity: 17, State: 0.
2018-02-12 16:38:12.41 spid5s The transaction log for database ‘master’ is full due to ‘NOTHING’.
The same thing with Sqlite, Database and journal files created, but when creating db objects
it can’t expand database file and fails. There is some dotnet code needed for that example
which i can provide if anyone is interested.
So it’s not microsoft mssql server exlusive error.
PS: tried also with volumes, but the result is unchanged.