A Microsoft Windows file share is a specific folder in your file system. It includes that folder's subfolders, which you make accessible to your compute instances with the Server Message Block (SMB) protocol. Your file system comes with a default Windows file share, named Show
2. You can create and manage as many other Windows file shares as you want by using the Windows graphical user interface (GUI) tool named Shared Folders.Nội dung chính Show
To access your file shares, you use the Windows Map Network Drive functionality to map a drive letter on your compute instance to your Amazon FSx file share. The process of mapping a file share to a drive on your compute instance is known as mounting a file share in Linux. This process differs depending on the type of compute instance and the operating system. After your file share is mapped, your applications and users can access files and folders on your file share as if they are local files and folders. Following are procedures for mapping a file share on the different supported compute instances. You can map a file share on an EC2 Windows instance by using the Windows File Explorer or the command prompt.
You can mount a file share on an Amazon EC2 Mac instance that is either joined to your Active Directory or not joined. If the instance is not joined to your Active Directory, be sure to update the DHCP options set for the Amazon Virtual Private Cloud (Amazon VPC) in which the instance resides to include the DNS name servers for your Active Directory domain. Then relaunch the instance.
You can mount an FSx for Windows File Server file share on an Amazon EC2 Linux instance that is either joined to your Active Directory or not joined. The following commands specify parameters such as SMB protocol, caching, and read and write buffer size as examples only. Parameter choices for the Linux 1 command, as well as the Linux kernel version used, can impact throughput and latency for network operations between the client and the Amazon FSx file
system. For more information, see 1 documentation for the Linux environment you are using.The following procedure mounts an Amazon FSx file share to an Amazon EC2 Linux instance that is not joined to your Active Directory (AD). For an EC2 Linux instance that is not joined to your Active Directory, you can only mount an FSx for Windows File Server file share by using its private IP address. You can get the file system's private IP address using the Amazon FSx console, on the Network & security tab, in Preferred File Server IP Address. This example uses NTLM authentication. To do this, you mount the file system as a user that is a member of the Microsoft Active Directory domain that the FSx for Windows File Server file system is joined to. The credentials for the user account are provided in a text file that you create on your EC2 instance, 3. This file contains the user name, password, and domain for the user.
To launch and configure the Amazon Linux EC2 instance
To mount the file system
The mount command used in this procedure does the following at the given points:
Automatically mounting file shares on an Amazon Linux EC2 instance not joined to your Active DirectoryYou can automatically mount your FSx for Windows File Server file share whenever the Amazon EC2 Linux instance to which it's mounted reboots. To do so, add an entry to the 4 file on the EC2 instance. The 4 file contains information about file systems. The command mount -a, which runs during instance startup, mounts the file systems listed in the 4 file.For an Amazon Linux EC2 instance that is not joined to your Active Directory, you can only mount an FSx for Windows File Server file share by using its private IP address. You can get the file system's private IP address using the Amazon FSx console, on the Network & security tab, in Preferred File Server IP Address. The following procedure uses Microsoft NTLM authentication. You mount the file system as a user that is a member of the Microsoft Active Directory domain to which the FSx for Windows File Server file system is joined. The credentials for the user account are provided in the text file 3. This file contains the user name, password, and domain for the user.
To launch and configure the Amazon Linux EC2 instance
To automatically mount the file system
What default protocol does Windows use to share folders?The Server Message Block (SMB) Protocol is a network file sharing protocol, and as implemented in Microsoft Windows is known as Microsoft SMB Protocol.
Which protocol does Windows use by default for file sharing quizlet?Server Message Blocks (SMB) is the standard file-sharing protocol used by all versions of Windows. Network File System (NFS) is the standard file-sharing protocol used by most UNIX and Linux distributions.
Which of the following is the native Linux UNIX file sharing protocol?NFS is that native Linux/UNIX file sharing protocol and is supported by Windows and Mac OS X.
What file can you edit on a Linux system to configure shared folder using Samba?To configure shares and users, edit the /etc/samba/smb. conf file. The default file has several good examples of common options, including provisions for shared printers and home directories. There's a global section, which defines a workgroup.
|