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