Struggling with Raid-5 on Ubuntu Server 18.04? This setup can be tricky.
Struggling with Raid-5 on Ubuntu Server 18.04? This setup can be tricky.
I began working on this project and discovered the key was using a flash drive for the operating system and the remaining three drives for storing media files as documents. To implement this, I followed a tutorial video. My method involves selecting manual mode, creating three partitions on the OS flash drive, setting up RAID, adding it as a partition, and then proceeding with setup. However, I encountered an error when trying to reformat the boot drive. I’m unsure what else to try since I can’t simply connect additional drives without understanding the issue better. Here’s the partition layout I’m using: Manual 64GB Sandisk Drive – First Part (1GB swap), Second Part (54GB ext4 mount: /), Third Part (leave blank for ~1.779GB ext4 mount: /home). Software Raid – RAID level 5 selected, all three drives (~3TB) used as space, mounted at /srv. After setup, I chose my name and password, but faced an error when selecting no additional packages.
The purpose is to organize your files into a single partition for your home folder, ensuring you stay under the 2GB limit without any unnecessary restrictions. The issue might stem from various causes, such as a faulty installation drive or incorrect settings. Consider trying a fresh installation or using Ubuntu without md. Also, ZFS could be a better option than Windows 7, and it makes sense to start a new thread for clarity.
You don’t have to set up RAID5 while installing the operating system, especially because Ubuntu Server 18.04 doesn’t include ZFS by default. Also, you won’t need to perform the OS partition installation manually—just use Quick Install. Your specific needs don’t require manual partitioning.
As I dive deeper, I realize I'm still learning, but both pieces were useful. I plan to begin fresh, install on the flash drive as if there were only one, and then explore ZFS to grasp its features and applications.
You can create the necessary folders by running the appropriate commands in your pool configuration file or terminal. Check the documentation for the specific tool you're using to set up the directories.
My understanding becomes a bit unclear. Creating a ZFS pool on Ubuntu doesn't necessarily mean it automatically partitions the drive. If it doesn't, tools like fdisk can help. You can check if the virtual ZFS device was partitioned using commands such as lsblk. This will list your connected drives and their partitions, including the virtual ZFS disk you set up.
To begin, identify the correct command for creating the directory. You mentioned using `sudo mkdir`, so ensure you're specifying the path accurately. Confirm whether the target is on the OS drive or a different location.
I need to research how to attach a ZFS volume to a folder. In the meantime, I'll examine the contents of the /mnt directory using "ls -l /mnt" to see what's there. This should help confirm where FreeNAS is handling the mounts while I figure out the steps for Ubuntu.
This means there’s nothing in the folder. I thought it through. It was worth trying. The next step is to attach the ZFS partition to a directory. I’ve done this before, but not using ZFS. I’ll need to review my previous method. We still have to locate the ZFS drive or partition and find out where it’s stored. If you run “zpool status,” you should see a simple diagram of the pool along with its current status.