i need to mount 4 hdd from a pegasusR4, im on linux i have the directly mounted to my server
To mount the four HDDs from a Pegasus R4 on a Linux server, you generally need to follow these steps. The process can vary slightly depending on your specific Linux distribution and the file system used. Below are general instructions:
### Prerequisites
1. **Install Required Packages**: Ensure that you have the necessary packages for mounting and handling file systems. You might need `ntfs-3g`, `xfsprogs`, `btrfs-progs`, etc., depending on the file system used on the drives. You can install these using your package manager. For example:
```bash
sudo apt update
sudo apt install ntfs-3g xfsprogs btrfs-progs
```
### Identify the Drives
2. **Identify the Mounted Drives**: Use `lsblk` or `fdisk` to see the drives that are connected to your server.
```bash
lsblk
```
This will list all the block devices, including your four HDDs, likely shown as `/dev/sdx` where `x` is a letter (a, b, c, d, etc.).
3. **Check File System Type**: Note the file system type for each drive, as you'll need this for mounting:
```bash
sudo blkid
```
### Create Mount Points
4. **Create Mount Points**: Create directories for mounting your HDDs. By convention, this usually happens in `/mnt` or `/media`.
```bash
sudo mkdir /mnt/drive1
sudo mkdir /mnt/drive2
sudo mkdir /mnt/drive3
sudo mkdir /mnt/drive4
```
### Mount the Drives
5. **Mount the Drives**: Use the `mount` command to mount each drive to the respective mount point. Make sure to replace `/dev/sdx1` with the actual device identifiers from your earlier identification step and replace `filesystem_type` with the appropriate type (e.g., ext4, ntfs, etc.).
```bash
sudo mount -t filesystem_type /dev/sda1 /mnt/drive1
sudo mount -t filesystem_type /dev/sdb1 /mnt/drive2
sudo mount -t filesystem_type /dev/sdc1 /mnt/drive3
sudo mount -t filesystem_type /dev/sdd1 /mnt/drive4
```
### Automatic Mounting on Boot (Optional)
6. **Editing `/etc/fstab`**: If you want the drives to be automatically mounted at boot, you can add them to the `/etc/fstab` file. Open the file with a text editor:
```bash
sudo nano /etc/fstab
```
Then, add lines for your drives like the following, replacing the UUIDs and mount points accordingly:
```
UUID=xxxxx-xxxxx-xxxxx-xxxxx /mnt/drive1 filesystem_type defaults 0 0
UUID=xxxxx-xxxxx-xxxxx-xxxxx /mnt/drive2 filesystem_type defaults 0 0
UUID=xxxxx-xxxxx-xxxxx-xxxxx /mnt/drive3 filesystem_type defaults 0 0
UUID=xxxxx-xxxxx-xxxxx-xxxxx /mnt/drive4 filesystem_type defaults 0 0
```
You can find the UUIDs by running:
```bash
sudo blkid
```
### Verify Mounts
7. **Verify Mounts**: After mounting, you can check the mounted filesystems using:
```bash
df -h
```
This will list all mounted drives and their usage details.
### Note:
- Replace `filesystem_type` with the actual filesystem type utilized on each drive (ext4, ntfs, xfs, etc.).
- Ensure you have the necessary permissions to mount drives and edit the `/etc/fstab` file.
- If any errors occur during mounting, check the system logs or error messages displayed in the terminal for further troubleshooting.
These steps should help you to successfully mount the HDDs from your Pegasus R4 on your Linux server.


