Server7: mount cephfs at /srv/ceph
This commit is contained in:
parent
27df1c21ba
commit
76145d112d
|
@ -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 = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
|
|
Loading…
Reference in New Issue