Mount HiDrive using WebDav Protocol

HiDrive secures your data in the cloud so you can easily access it from any device. Check HiDrive. In this Article we will work with HiDrive with WebDav Access, and how to Mount HiDrive under Linux Servers.

Install required software

  1. Install davfs2 package to mount WebDav:

For CentOS / RHEL 7, 8:

yum install -y davfs2

For Debain, Ubuntu

apt-get install -y davfs2

2. Mount WebDav using Command Line Interface

mkdir /mnt/HiDrive
mount -t davfs -o noexec /mnt/HiDrive/
Please enter the username to authenticate with server or hit enter for none.
  Username: test
Please enter the password to authenticate user valhein with server or hit enter for none.

Now our HiDrive has been Successfully mounted under /mnt/HiDrive Directory

[root@localhost ~]# df -h /mnt/HiDrive
Filesystem                         Size  Used Avail Use% Mounted on  1.3T  763G  509G  61% /mnt/HiDrive

Mount HiDrive using fstab file

Edit your /etc/fstab file with any text editor vi, vim, nano, and create an entry to mount the file system: /mnt/HiDrive davfs _netdev,auto 0 0

Instead of providing Username and Password every time, we will save username and password in /etc/davfs2/secrets file, at the end of the file, add the following line:

/mnt/HiDrive <Username> <Password>

Replace <Username> with your Username, and <Password> with your Password, without <> brackets. Finally your WebDav share has been mounted.

For Backing up your Server using HiDrive (FTP Protocol) please check Linux & Windows Articles.

Mohammed has written 29 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>