frank-primary: pre-create the SSD prefix tier path
The engine's create is not recursive: booting with only the state dir
mounted left the SSD prefix tier off ('cannot create
/data/kvcache/frank-primary: No such file or directory'). The serve
script now mkdir -p's the full path before podman run.
This commit is contained in:
@@ -95,7 +95,11 @@ if [ ! -f "$FRANK_PRIMARY_TEMPLATE" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "$FRANK_PRIMARY_STATE_DIR"
|
mkdir -p "$FRANK_PRIMARY_STATE_DIR/kvcache/frank-primary"
|
||||||
|
# The engine's create is NOT recursive: with only the state dir mounted, its
|
||||||
|
# "cannot create /data/kvcache/frank-primary: No such file or directory"
|
||||||
|
# left the SSD prefix tier off (measured 2026-10-06 boot ledger). Pre-create
|
||||||
|
# the full path on the host so the tier opens on first boot.
|
||||||
|
|
||||||
if [ ! -e /dev/kfd ] || [ ! -d /dev/dri ]; then
|
if [ ! -e /dev/kfd ] || [ ! -d /dev/dri ]; then
|
||||||
echo "ERROR: GPU device nodes absent (/dev/kfd, /dev/dri)" >&2
|
echo "ERROR: GPU device nodes absent (/dev/kfd, /dev/dri)" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user