Hyper-V and SQL Server use domain accounts to create SMB connections to continuously available shares. To successfully create the connection, the computer account must successfully map to a UNIX user. The most convenient way to accomplish this is to map the computer account to the default UNIX user.
Hyper-V and SQL Server use the domain computer accounts to create SMB connections. In addition, SQL Server uses a domain user account as the service account that also makes SMB connections.
Starting with Data ONTAP 8.2 and later releases, when you create a Storage Virtual Machine (SVM), Data ONTAP automatically creates the default user named "pcuser" (with a UID of 65534) and the group named "pcuser" (with a GID of 65534), and adds the default user to the "pcuser" group. If you are configuring a Hyper-V over SMB solution on an SVM that existed prior to upgrading the cluster to Data ONTAP 8.2, the default user and group might not exist. If they do not, you must create them before configuring the CIFS server's default UNIX user.
The following commands determine that the CIFS server's default user is not set, but determines that the "pcuser" user and "pcuser" group exist. The "pcuser" user is assigned as the CIFS server's default user on SVM vs1:
cluster1::> vserver cifs options show
Vserver: vs1
Default UNIX User: -
Read Grants Exec for Mode Bits: disabled
Windows Internet Name Service (WINS) Addresses: -
Default UNIX Group: -
cluster1::> vserver services unix-user show
User User Group Full
Vserver Name ID ID Name
--------- --------------- ------ ------ ----------------
vs1 nobody 65535 65535 -
vs1 pcuser 65534 65534 -
vs1 root 0 1 -
cluster1::> vserver services unix-group show -members
Vserver Name ID
vs1 daemon 1
Users: -
vs1 nobody 65535
Users: -
vs1 pcuser 65534
Users: -
vs1 root 0
Users: -
cluster1::> vserver cifs options modify -default-unix-user pcuser
cluster1::> vserver cifs options show
Vserver: vs1
Default UNIX User: pcuser
Read Grants Exec for Mode Bits: disabled
Windows Internet Name Service (WINS) Addresses: -
Default UNIX Group: -