Server7: mount cephfs at /srv/ceph

This commit is contained in:
Emery Hemingway 2020-01-26 12:26:32 +01:00
parent 27df1c21ba
commit 76145d112d
1 changed files with 14 additions and 0 deletions

View File

@ -25,6 +25,20 @@ in {
};
};
fileSystems."/srv/ceph" = {
device = "172.22.99.13:6789:/";
fsType = "ceph";
options = [
"name=storage2"
"secret=AQAvRhxcaCK0IxAAnoe00oiopcpQeKZgL02RWw=="
"noatime,_netdev"
"noauto"
"x-systemd.automount"
"x-systemd.device-timeout=175"
"users"
];
};
services.nginx = {
enable = true;
recommendedGzipSettings = true;