diff --git a/functions b/functions index 051c8160f7..187ad2311d 100644 --- a/functions +++ b/functions @@ -739,7 +739,7 @@ function create_disk { # Mount the disk with mount options to make it as efficient as possible if ! egrep -q ${storage_data_dir} /proc/mounts; then - sudo mount -t xfs -o loop,noatime,nodiratime,nobarrier,logbufs=8 \ + sudo mount -t xfs -o loop,noatime,nodiratime,logbufs=8 \ ${disk_image} ${storage_data_dir} fi } diff --git a/lib/swift b/lib/swift index 3b3e608e80..e2ee0cb470 100644 --- a/lib/swift +++ b/lib/swift @@ -607,7 +607,7 @@ function create_swift_disk { # Mount the disk with mount options to make it as efficient as possible mkdir -p ${SWIFT_DATA_DIR}/drives/sdb1 if ! egrep -q ${SWIFT_DATA_DIR}/drives/sdb1 /proc/mounts; then - sudo mount -t xfs -o loop,noatime,nodiratime,nobarrier,logbufs=8 \ + sudo mount -t xfs -o loop,noatime,nodiratime,logbufs=8 \ ${SWIFT_DISK_IMAGE} ${SWIFT_DATA_DIR}/drives/sdb1 fi