You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-configure-shared-disk-cluster.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ To configure shared storage, you need to create a network share and mount it to
117
117
1.**On one node only**, save the database files to a temporary location.
118
118
119
119
> [AZURE.NOTE] The database files contain the login information for the “sa” user. We will later copy them to the share so that a SQL server instance running on any node in the cluster can access them.
120
-
The following script, creates a new temporary directory, copies the database files to the new directory, and removes the old database files.
120
+
The following script creates a new temporary directory, copies the database files to the new directory, and removes the old database files.
121
121
122
122
```bash
123
123
# mkdir /var/opt/mssql/tmp
@@ -170,25 +170,25 @@ The following script, creates a new temporary directory, copies the database fil
170
170
domain=CORP
171
171
```
172
172
173
-
6. Get the SQL Server user ID (uid), and group ID (gid). To get the SQL Server uid and gid, run the folliwing command from the primary node.
173
+
6. Get the SQL Server user ID (uid), and group ID (gid). To get the SQL Server uid and gid, run the following command from the primary node.
174
174
175
175
```bash
176
176
# id mssql
177
177
```
178
178
179
-
Update the following line and append it to `/etc/fstab` to instruct the operating system where and how to mount the file for SQL Server:
179
+
Update the following line and append it to `/etc/fstab` to instruct the operating system where and how to mount the file for SQL Server:
For example, the following line adds the `\\StorageServer\SQL` share to the `/var/opt/mssql/data` with credentials for Linux cluster file with the SQL Server UID and gid.
184
+
185
+
For example, the following line adds the `\\StorageServer\SQL` share to the `/var/opt/mssql/data` with credentials for Linux cluster file with the SQL Server UID and gid.
If the `/etc/fstab` file was edited correctly, the share is mounted to`/var/opt/mssql/data` and will be automatically re-mounted when the node restarts.
191
+
If the `/etc/fstab` file was edited correctly, the share is mounted to`/var/opt/mssql/data` and will be automatically re-mounted when the node restarts.
192
192
193
193
7. Copy the database and log files that you saved to `/var/opt/mssql/tmp` to the newly mounted share `/var/opt/mssql/data`. This only needs to be done **on one node**.
0 commit comments