Skip to content

Commit 6b78dd1

Browse files
committed
update the indentaiton under step 6 - get the sql server uid and gid
1 parent 9bf516d commit 6b78dd1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/linux/sql-server-linux-configure-shared-disk-cluster.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ To configure shared storage, you need to create a network share and mount it to
117117
1. **On one node only**, save the database files to a temporary location.
118118

119119
> [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.
121121

122122
```bash
123123
# mkdir /var/opt/mssql/tmp
@@ -170,25 +170,25 @@ The following script, creates a new temporary directory, copies the database fil
170170
domain=CORP
171171
```
172172
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.
174174
175175
```bash
176176
# id mssql
177177
```
178178
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:
180180
181181
```bash
182182
//<storage server>/<share> /var/opt/mssql/data cifs credentials=<file>,uid=<mssql uid>,gid=<mssql gid> 0 0
183183
```
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.
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.
186186
187187
```bash
188188
//machine/share /var/opt/mssql/data cifs credentials=/.cifscredfile,uid=995,gid=996 0 0
189189
```
190190
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.
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.
192192
193193
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**.
194194

0 commit comments

Comments
 (0)