RedHat, as well as other distributions, contain the AutoFS utility. This will allow you to mount your NAS share automatically in a directory. There are only a couple things that you need to do to have this setup correctly. First, you will need to make sure that autofs is starting on boot. On RedHat, do the following:
chkconfig autofs on
Now you will need to configure your filesystem to mount automatically. This is easily done with the following steps. You will need to first decide on a directory that you will be using for these automatic mounts. For this example, we will use /backup. Edit /etc/auto.master with your favorite text editor, and add this line:
/backup /etc/auto.backup --timeout=30
Once that has been completed, save the file, and open a new file in /etc called “auto.backup”. In this file, the only line you will need is as follows:
smb -fstype=smbfs,username=XXXXXX,password=YYYYYY ://10.10.10.10/XXXXXX
All you need to do is substitue your username for XXXXXX, and your password for YYYYYY. You will also need to use the IP address of your NAS server. Now just start it manually:
[email protected] [/]# /etc/init.d/autofs start
Starting automount: [ OK ]
[email protected] [/]#
If you have followed the steps above, and your username and password is correct, you are done. You can change directories to /backup/smb, and you will see the files located on your NAS share.
- .htaccess
- Acronis
- Active Directory
- Alerts
- Anonymous FTP
- Antivirus
- Apache
- Aptitude
- ASP
- Audio / Video
- Auto Responder
- AWStats
- BFD
- Bind
- CDONTS
- CDOSYS
- CentOS
- CGI Scripts
- Chilisoft
- chkrootkit
- Cloud
- Cloud Storage
- CloudLinux
- CMC
- ColdFusion
- cPanel
- CPU
- Cron Job
- CSF
- CSR
- Cute FTP
- DDoS
- Debian
- DeepMetrix
- DirectAdmin
- DNS
- Docker
- Domain Application Vault
- Domlogs
- Dreamweaver
- DrWEB
- Duplicati
- eAccelerator
- EasyApp
- Ensim
- Eudora
- Exim
- Fantastico
- Fedora
- ffmpeg
- FileZilla
- Firewall
- Flash
- FormMail
- Forwarder
- FreeBSD
- FrontPage
- FTP
- GeoTrust
- GRUB
- Helm
- Hivelocity FAQ
- Horde
- Hosting Controller
- Hotlink Protection
- Hsphere
- HTTP
- IIS
- Imagemagick
- IMP
- Incredimail
- inetd
- Intel
- IP Address
- IPMI
- iptables
- JFS
- Kernel
- KernelCare
- Kubernetes
- Linux
- LiteSpeed
- LiveStats
- LogWatch
- MailEnable
- Maldet
- Managed Services
- MBR
- Metabase
- MetaEdit
- Metered
- Midnight Commander
- Monitoring
- MPC
- MRTG
- MS Access
- MSDE
- MSSQL
- MX Record
- MySQL
- mysql.sock
- mytop
- MyV
- MyVelocity
- Nagios
- NAS
- NAT
- NDR
- Neomail
- Netscape Communicator
- Netstat
- NFS
- NTFS
- NTP
- OpenStack
- osCommerce
- Outlook
- Pegasus
- Percona
- Perl
- PHP
- phpBB
- phpMyAdmin
- PIP
- Plesk
- PostgreSQL
- Process Explorer
- Proxmox
- Python
- Qmail
- RDP
- RedHat
- Redirect
- ReiserFS
- Remote Desktop
- RootCheck
- RPM
- RSYNC
- Runlevel
- RVSiteBuilder
- securephp
- SendMail
- Settings
- Sharepoint
- SIM
- Sitebuilder
- SiteStudio
- Skeleton
- Slackware
- smartcheck
- SmartFTP
- SMTP
- Softaculous
- SpamAssassin
- speedtest
- SPF Record
- SQL
- SquirrelMail
- SSH
- SSL
- Suexec
- Swap Partition
- sysctl
- Tablespaces
- tar
- Task Scheduler
- Telnet
- Terminal Services
- Thunderbird
- tmp
- Tomcat
- Top
- Traceroute
- Troubleshooting
- True Site
- Ubuntu
- UFS partition
- Unix
- Unmetered
- Urchin
- VirtualHost
- Virtuozzo
- vmstat
- VPS
- vsftpd
- Wasabi
- WebAdmin
- Webalizer
- Webmail
- Webmin
- wget
- WHM
- Windows
- WordPress
- WS_FTP
- XFS
- YUM
- Zen Cart
- Zend Optimizer
- Zimbra
Hivelocity
Backup Services
Is Your Data Safe?
If your only copy of critical information lives on your production server, it’s not as safe as you think. Don't leave all your eggs in one basket! Keep your backups on one of Hivelocity's premium backup solutions.
With 2 of the most popular backup solutions available, Hivelocity has the right solution for you. Learn more about our Rapid restore services from R1 soft or our cloud backup and recovery services from Acronis.
Rest easy knowing your data is secure.
- .htaccess
- Acronis
- Active Directory
- Alerts
- Anonymous FTP
- Antivirus
- Apache
- Aptitude
- ASP
- Audio / Video
- Auto Responder
- AWStats
- BFD
- Bind
- CDONTS
- CDOSYS
- CentOS
- CGI Scripts
- Chilisoft
- chkrootkit
- Cloud
- Cloud Storage
- CloudLinux
- CMC
- ColdFusion
- cPanel
- CPU
- Cron Job
- CSF
- CSR
- Cute FTP
- DDoS
- Debian
- DeepMetrix
- DirectAdmin
- DNS
- Docker
- Domain Application Vault
- Domlogs
- Dreamweaver
- DrWEB
- Duplicati
- eAccelerator
- EasyApp
- Ensim
- Eudora
- Exim
- Fantastico
- Fedora
- ffmpeg
- FileZilla
- Firewall
- Flash
- FormMail
- Forwarder
- FreeBSD
- FrontPage
- FTP
- GeoTrust
- GRUB
- Helm
- Hivelocity FAQ
- Horde
- Hosting Controller
- Hotlink Protection
- Hsphere
- HTTP
- IIS
- Imagemagick
- IMP
- Incredimail
- inetd
- Intel
- IP Address
- IPMI
- iptables
- JFS
- Kernel
- KernelCare
- Kubernetes
- Linux
- LiteSpeed
- LiveStats
- LogWatch
- MailEnable
- Maldet
- Managed Services
- MBR
- Metabase
- MetaEdit
- Metered
- Midnight Commander
- Monitoring
- MPC
- MRTG
- MS Access
- MSDE
- MSSQL
- MX Record
- MySQL
- mysql.sock
- mytop
- MyV
- MyVelocity
- Nagios
- NAS
- NAT
- NDR
- Neomail
- Netscape Communicator
- Netstat
- NFS
- NTFS
- NTP
- OpenStack
- osCommerce
- Outlook
- Pegasus
- Percona
- Perl
- PHP
- phpBB
- phpMyAdmin
- PIP
- Plesk
- PostgreSQL
- Process Explorer
- Proxmox
- Python
- Qmail
- RDP
- RedHat
- Redirect
- ReiserFS
- Remote Desktop
- RootCheck
- RPM
- RSYNC
- Runlevel
- RVSiteBuilder
- securephp
- SendMail
- Settings
- Sharepoint
- SIM
- Sitebuilder
- SiteStudio
- Skeleton
- Slackware
- smartcheck
- SmartFTP
- SMTP
- Softaculous
- SpamAssassin
- speedtest
- SPF Record
- SQL
- SquirrelMail
- SSH
- SSL
- Suexec
- Swap Partition
- sysctl
- Tablespaces
- tar
- Task Scheduler
- Telnet
- Terminal Services
- Thunderbird
- tmp
- Tomcat
- Top
- Traceroute
- Troubleshooting
- True Site
- Ubuntu
- UFS partition
- Unix
- Unmetered
- Urchin
- VirtualHost
- Virtuozzo
- vmstat
- VPS
- vsftpd
- Wasabi
- WebAdmin
- Webalizer
- Webmail
- Webmin
- wget
- WHM
- Windows
- WordPress
- WS_FTP
- XFS
- YUM
- Zen Cart
- Zend Optimizer
- Zimbra
- .htaccess
- Acronis
- Active Directory
- Alerts
- Anonymous FTP
- Antivirus
- Apache
- Aptitude
- ASP
- Audio / Video
- Auto Responder
- AWStats
- BFD
- Bind
- CDONTS
- CDOSYS
- CentOS
- CGI Scripts
- Chilisoft
- chkrootkit
- Cloud
- Cloud Storage
- CloudLinux
- CMC
- ColdFusion
- cPanel
- CPU
- Cron Job
- CSF
- CSR
- Cute FTP
- DDoS
- Debian
- DeepMetrix
- DirectAdmin
- DNS
- Docker
- Domain Application Vault
- Domlogs
- Dreamweaver
- DrWEB
- Duplicati
- eAccelerator
- EasyApp
- Ensim
- Eudora
- Exim
- Fantastico
- Fedora
- ffmpeg
- FileZilla
- Firewall
- Flash
- FormMail
- Forwarder
- FreeBSD
- FrontPage
- FTP
- GeoTrust
- GRUB
- Helm
- Hivelocity FAQ
- Horde
- Hosting Controller
- Hotlink Protection
- Hsphere
- HTTP
- IIS
- Imagemagick
- IMP
- Incredimail
- inetd
- Intel
- IP Address
- IPMI
- iptables
- JFS
- Kernel
- KernelCare
- Kubernetes
- Linux
- LiteSpeed
- LiveStats
- LogWatch
- MailEnable
- Maldet
- Managed Services
- MBR
- Metabase
- MetaEdit
- Metered
- Midnight Commander
- Monitoring
- MPC
- MRTG
- MS Access
- MSDE
- MSSQL
- MX Record
- MySQL
- mysql.sock
- mytop
- MyV
- MyVelocity
- Nagios
- NAS
- NAT
- NDR
- Neomail
- Netscape Communicator
- Netstat
- NFS
- NTFS
- NTP
- OpenStack
- osCommerce
- Outlook
- Pegasus
- Percona
- Perl
- PHP
- phpBB
- phpMyAdmin
- PIP
- Plesk
- PostgreSQL
- Process Explorer
- Proxmox
- Python
- Qmail
- RDP
- RedHat
- Redirect
- ReiserFS
- Remote Desktop
- RootCheck
- RPM
- RSYNC
- Runlevel
- RVSiteBuilder
- securephp
- SendMail
- Settings
- Sharepoint
- SIM
- Sitebuilder
- SiteStudio
- Skeleton
- Slackware
- smartcheck
- SmartFTP
- SMTP
- Softaculous
- SpamAssassin
- speedtest
- SPF Record
- SQL
- SquirrelMail
- SSH
- SSL
- Suexec
- Swap Partition
- sysctl
- Tablespaces
- tar
- Task Scheduler
- Telnet
- Terminal Services
- Thunderbird
- tmp
- Tomcat
- Top
- Traceroute
- Troubleshooting
- True Site
- Ubuntu
- UFS partition
- Unix
- Unmetered
- Urchin
- VirtualHost
- Virtuozzo
- vmstat
- VPS
- vsftpd
- Wasabi
- WebAdmin
- Webalizer
- Webmail
- Webmin
- wget
- WHM
- Windows
- WordPress
- WS_FTP
- XFS
- YUM
- Zen Cart
- Zend Optimizer
- Zimbra
Setup automounter to mount NAS backup share
Share
Related articles
Need More Personalized Help?
If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.
If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: [email protected] We are also available to you through our phone and live chat system 24/7/365.
Hivelocity
Backup Services
Is Your Data Safe?
If your only copy of critical information lives on your production server, it’s not as safe as you think. Don't leave all your eggs in one basket! Keep your backups on one of Hivelocity's premium backup solutions.
With 2 of the most popular backup solutions available, Hivelocity has the right solution for you. Learn more about our Rapid restore services from R1 soft or our cloud backup and recovery services from Acronis.
Rest easy knowing your data is secure.