--- title: "Mounting Guide: Remote Log Files Collection on Data Collector" slug: "mounting-guide-remote-log-files-collection-on-data-collector" updated: 2025-12-01T08:09:09Z published: 2025-12-01T08:09:09Z canonical: "docs.databee.buzz/mounting-guide-remote-log-files-collection-on-data-collector" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.databee.buzz/llms.txt > Use this file to discover all available pages before exploring further. # Mounting Guide: Remote Log Files Collection on Data Collector ## Windows To create a VHD, follow these steps: 1. Open Disk Management. In the search box on the taskbar, enter **Computer Management**, and select **Disk Management**. 2. Click on the **Action** menu, and select **Create VHD**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/create_VHD_1.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 3. After the **Create and Attach Virtual Hard Disk** dialog box opens, specify the location on the physical computer where you want the VHD file to be stored. 1. Under Location, select the **Browse** button and locate the folder you want to store the VHD. 2. Enter a name for the drive in the File name field. 3. Select Virtual Disk files (*.vhd) from the Save as Type dropdown menu. 4. Select **Save**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/create_vhd_2.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 4. Enter Virtual hard disk size. 5. Select Dynamically expanding or Fixed size under **Virtual hard disk type** section. 6. Select **OK**. To make a VHD available for use (either one you've created or another existing VHD), follow the below steps: 1. Open **Computer Management** and select **Disk Management**. 2. On the ‘Action’ menu, select **Attach VHD**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/vhd_available_1.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 3. After the “Attach Virtual Hard Disk” dialog box opens, select the **Browse** button, and find your .vhd file. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/vhd_available_2.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 4. Now that you've selected the .vhd file, you return to the “Attach Virtual Hard Disk” dialog box. Select **OK**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/vhd_available_3.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) Follow the instructions below to initialize the disk and configure its volume attachment. 1. Right-click on Disk. Select **Initialize Disk** and click on **Save**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/initialize_1.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) ![initialize_2](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/initialize_2.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 2. Right-click on Disk and select **New Simple Volume**. Click on **Next**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/volume_1.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 3. Specify the size of the volume you want to create. Click **Next**. Assign any letter from the drop-down and click **Next**. Give a volume name, click **Next**, and then click **Finish**. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/volume_2.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/volume_3.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/volume_4.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 4. You can see the Volume 5(F:) disk is visible in File Explorer. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/volume_5.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) ## Ubuntu To create a VHD, follow these steps: 1. Use the command dd to create a file. ```bash sudo dd if=/dev/zero of= bs= count= ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/image(12).png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 2. Format the disk with the desired file system. ```bash sudo mkfs -t ``` To format it with the ext4 file system, execute the following command: ```bash sudo mkfs -t ext4 ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ubuntu_2.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 3. Mount Virtual Hard Disk: To mount it in the directory, first create the directory, and then mount it using the following command. ```bash sudo mount -o loop ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ubuntu_3.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) Check whether the virtual hard disk is mounted or not using the lsblk command. As you can see in the below screenshot, a hard disk of 512 MB is successfully mounted in the specified directory. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ubuntu_4.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) To mount the VHD automatically during the boot, create a fstab entry. For that, open the fstab file using your favorite text editor. Add the following line at the end: ```bash 0 0 ``` > [!NOTE] > Note > > The steps for mounting a hard disk are the same for both Ubuntu and RHEL. ## RHEL To create a VHD, follow these steps: 1. Use the command dd to create a file. ```bash sudo dd if=/dev/zero of= bs= count= ``` ![rhel_1](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/rhel_1.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 2. Format the disk with the desired file system. ```bash sudo mkfs -t ``` To format it with the ext4 file system, execute the following command: ```bash sudo mkfs -t ext4 ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/rhel_2.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 3. Mount Virtual Hard Disk: To mount it in the directory, first create the directory, and then mount it using the following command. ```bash sudo mount -o loop ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/rhel_3.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) Check whether the virtual hard disk is mounted or not using the lsblk command. As you can see in the below screenshot, a hard disk of 512 MB is successfully mounted in the specified directory. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/rhel_4.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) To mount the VHD automatically during the boot, create a fstab entry. For that, open the fstab file using your favorite text editor. Add the following line at the end: ```bash       0   0 ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/rhel_5.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) ## EC2 Linux with EBS Prerequisites: - AWS Account - EC2 Instance To create a Virtual volume on the AWS cloud and mount it to EC2, follow these steps: 1. Open AWS. Navigate to EC2 Service 2. Open Volume from an EC2 > Elastic Block Store > Volumes 3. Create Volume ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ec2_1.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 4. Provide disk size and necessary details, and keep the availability zone the same as the ec2 region. 5. Once EBS Volume is created then select the newly created volume and attach it to the ec2 instance. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/image-1716196928472.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 6. Select the Instance in which you want to mount the volume and also [select the recommended device name based on your OS](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-attaching-volume.html?icmpid=docs_ec2_console#:~:text=For%20Device%20name%2C%20do%20one%20of%20the%20following%3A). ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ec2_3.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 7. Execute the below command to list out all the devices in the Linux machine. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ec2_4.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 8. Check whether the filesystem is involved or not. If not then configure the filesystem. To configure filesystem in new disk execute this command: ```bash mkfs -t xfs /dev/xvdbf ``` ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ec2_5.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 9. Create a directory where you want to mount the disk, and then mount the disk to that directory. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ec2_6.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 10. Now check whether drive is mounted or not using the command below. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ec2_7.png?sv=2026-02-06&spr=https&st=2026-11-12T05%3A04%3A44Z&se=2026-11-12T06%3A04%3A44Z&sr=c&sp=r&sig=ICBEyHCHA4Z409TgAu6TMCkTXCjPC004A0wwVqlU6aI%3D) 11. To configure automount on boot, please do following steps: 1. Open the /etc/fstab file in a text editor and add the following line at the end of the file and save it. ```bash       defaults,nofail   0   2 ``` > [!NOTE] > Note > > To mount volumes on any other Cloud Virtual Machines, please refer to their official documentation.