mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
parent
e4334f9499
commit
f0d08ef263
@ -15,7 +15,6 @@ services:
|
||||
- 'c *:* rwm'
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- LINUX_IMMUTABLE
|
||||
ports:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
|
@ -36,7 +36,6 @@ services:
|
||||
- /dev/kvm
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- LINUX_IMMUTABLE
|
||||
ports:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
|
@ -295,8 +295,7 @@ checkFS () {
|
||||
|
||||
if [[ "$FA" != *"C"* ]]; then
|
||||
info "Warning: the filesystem of $DIR is ${FS^^}, and COW (copy on write) is not disabled for that folder!"
|
||||
info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag"
|
||||
info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>"
|
||||
info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C <path>)."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -63,8 +63,7 @@ if [[ "$FS" == "xfs" || "$FS" == "zfs" || "$FS" == "btrfs" || "$FS" == "bcachefs
|
||||
fi
|
||||
if [[ "$FA" != *"C"* ]]; then
|
||||
info "Warning: the filesystem of $STORAGE is ${FS^^}, and COW (copy on write) is not disabled for that folder!"
|
||||
info "This will negatively affect performance, please empty the folder and add the LINUX_IMMUTABLE flag"
|
||||
info "to the 'cap_add' section of your compose file, or disable COW manually by executing: chattr +C <path>"
|
||||
info "This will negatively affect performance, please empty the folder and disable COW first (chattr +C <path>)."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user