truenas scale 从24.04 beta1开始,/usr/bin下的东西变成了只读的了。不再是 chmod +x /usr/bin/*
来解开apt了。
这里需要手动开启开发者模式:
install-dev-tools
用root用户,在shell下输入上面的命令开启
Encountered Read-only file system problem, unable to create anything
如果你执行什么命令,出现了系统只读问题。执行下面命令:
zfs get readonly
查看哪些路径是只读的。需要把 on改成off
zfs set readonly=off [dataset]
例如 zfs set readonly=off boot-pool/ROOT/24.04-BETA.1
感谢大佬分享,很实用
使用 zfs get readonly
后报故障:Ign:1 https://apt.sys.truenas.net/dragonfish/nightlies/debian bookworm InRelease
Ign:2 https://apt.sys.truenas.net/dragonfish/nightlies/libnvidia bookworm InRelease
Ign:3 https://apt.sys.truenas.net/dragonfish/nightlies/helm all InRelease
Ign:4 https://apt.sys.truenas.net/dragonfish/nightlies/debian-security bookworm-security InRelease
Ign:5 https://apt.sys.truenas.net/dragonfish/nightlies/debian-backports bookworm-backports InRelease
Ign:6 https://apt.sys.truenas.net/dragonfish/nightlies/debian-debug bookworm-debug InRelease
Ign:7 https://apt.sys.truenas.net/dragonfish/nightlies/yarn stable InRelease
Ign:8 https://apt.sys.truenas.net/dragonfish/nightlies/nvidia bookworm InRelease
Ign:9 https://apt.sys.truenas.net/dragonfish/nightlies/pcm bookworm InRelease
Err:10 https://apt.sys.truenas.net/dragonfish/nightlies/debian bookworm Release
404 Not Found [IP: 169.150.225.83 443]
Err:11 https://apt.sys.truenas.net/dragonfish/nightlies/libnvidia bookworm Release
404 Not Found [IP: 169.150.225.83 443]
Err:12 https://apt.sys.truenas.net/dragonfish/nightlies/helm all Release
404 Not Found [IP: 169.150.225.83 443]
Err:13 https://apt.sys.truenas.net/dragonfish/nightlies/debian-security bookworm-security Release
404 Not Found [IP: 169.150.225.83 443]
Err:14 https://apt.sys.truenas.net/dragonfish/nightlies/debian-backports bookworm-backports Release
404 Not Found [IP: 169.150.225.83 443]
Err:15 https://apt.sys.truenas.net/dragonfish/nightlies/debian-debug bookworm-debug Release
但实际ping的通
更新系统。404说明官方没有维护这个源了