From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Preparing your lab for Samba

Preparing your lab for Samba - Red Hat Enterprise Linux Tutorial

From the course: Linux System Engineer: Network Filesystems Using NFS and Samba

Start my 1-month free trial

Preparing your lab for Samba

- [Narrator] In order to keep troubleshooting simple we're going to disable the nfs specific changes we've done previously in this course. This means disabling one auto fs share and commenting outline in the sfs tab file. Make sure you're logged into arri tro 2 VM and you have a terminal open. First, let's disable the auto fs share by editing the slash etc slash auto dot master file. In a terminal, type in sudo vi /etc/auto.master and hit enter. Type in your password as prompted. Go clear to the bottom. Comment out the line that points to auto.direct. And save and exit by pressing esc + : + ! + enter. Now let's restart the auto fs service. Type in sudo systemctl restart autofs and hit enter. The second thing we'll do is at the sfs tab file and comment out any fs shares there. Type in sudo vi /etc/fstab and hit enter. Peruse this file and if you have any nf shares that are active, then comment them out. In my case, the only one is already commented out, so I'll just exit. Save and exit…

Contents