Commit ec49333
Case in point: For Ceph file systems, the mount command can look like
this:
mount -t ceph -o mds_namespace=ns1,name=ovirt,secret=xxx monitors.storage.example.com:/ /mnt
but the resulting entry in /proc/mounts will NOT look identical, as
ceph will resolve DNS names into their IP addresses:
192.168.1.5,192.168.1.6,192.168.1.7:/ /mnt ceph rw,seclabel,relatime,name=ovirt,secret=<hidden>,acl,mds_namespace=ovirt 0 0
(in this example "monitors.storage.example.com" was a DNS entry
resolving to 3 IP addresses).
Lesson learned: We cannot rely on mount options being carried
unmolested into /proc/mounts...
1 parent fd1f929 commit ec49333
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
252 | 258 | | |
253 | 259 | | |
254 | 260 | | |
| |||
0 commit comments