Skip to content

Commit 630adfa

Browse files
authored
Merge pull request #632 from github/revert-578-enterprise-3.9-backport-569-check-datadir-is-nfs
Revert "Backport 569 for 3.9: Add NFS check for GHE_DATA_DIR"
2 parents 391820f + be27efa commit 630adfa

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

bin/ghe-host-check

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,6 @@ SKIP_MSG
168168
# shellcheck source=share/github-backup-utils/ghe-rsync-size
169169
. "$(dirname "${BASH_SOURCE[0]}")/../share/github-backup-utils/ghe-rsync-size"
170170

171-
#Check if GHE_DATA_DIR is NFS mounted
172-
fs_info=$(stat -f -c "%T" "$GHE_DATA_DIR") || true
173-
if [ "$fs_info" == "nfs" ]; then
174-
echo "Warning: NFS (Network File System) detected for $GHE_DATA_DIR" 1>&2
175-
echo "Please review https://gh.io/backup-utils-storage-requirements for details." 1>&2
176-
fi
177-
178171
#Display dir requirements for repositories and mysql
179172
echo "Checking host for sufficient space for a backup..." 1>&2
180173
available_space=$(df -B 1k $GHE_DATA_DIR | awk 'END{printf "%.0f", $4 * 1024}')

docs/requirements.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ Using a [case sensitive][7] file system is also required to avoid conflicts.
5959

6060
Performance of backup and restore operations are also dependent on the backup host's storage. We recommend using a high performance storage system with low latency and high IOPS.
6161

62-
Please avoid using an NFS mount for the data directory (where backup data is stored) as this can cause performance issues and timeouts during backups.
63-
6462
## GitHub Enterprise Server version requirements
6563

6664
Starting with Backup Utilities v2.13.0, version support is inline with that of the

0 commit comments

Comments
 (0)