45Drives Knowledge Base
KB450412 - Replacing Drives in ZFS Pool on Ubuntu 20.04

KB450412 - Replacing Drives in ZFS Pool on Ubuntu 20.04

Posted on March 24, 2021 by Bailey Allison




Through Houston UI

Through Command Line

root@ubuntu-45drives:~# zpool status

root@ubuntu-45drives:~# zpool offline tank 1-2

root@ubuntu-45drives:~# zpool replace tank 1-2 1-2


root@ubuntu-45drives:~# zpool status


Ubuntu Archives - 45Drives Knowledge Base
Did you know  45Drives offers free  public and private  webinars ? Click here to learn more  & register! Build & Price

KB450412 – Replacing Drives in ZFS Pool on Ubuntu 20.04

Scope/Description This article will walk through the steps to replace a failed drive in a Ubuntu 20.04  installation through either Houston UI, or through the terminal. Prerequisites Access to Houston UI SSH access to Ubuntu 20.04 Replacement Drive Steps Through Houston UI First, we’ll have to enter the ZFS tab in Houston UI. Once here, […]

Read more »

KB450309- Installing MinIO on Ubuntu 20.04

Scope/Description This article details the installation process of MinIO on Ubuntu 20.04. Prerequisites Ubuntu 20.04 Internet Access to System Text Editor Installed on System Steps Download MinIO scripts onto the system. curl -LO http://images.45drives.com/setup/minio-install.sh Edit the MinIO script. Make the changes in the image below with for the customers specific case. vim minio-install.sh   Make […]

Read more »

KB450408 – USB controller passthrough to VM’s in Houston

Scope/Description This guide covers how to passthrough a USB controller from your host machine to a VM on top of Houston. Prerequisites A working Ubuntu install with Houston UI A created VM through Houston UI Access to Houston UI and its CLI A CPU that supports IOMMU groups Steps Edit the host machines boot loader […]

Read more »

KB450087 – Parallel Rsync

Parallel rsync allows you to copy with multiple threads so it can work on different files at the same time. The Parameter “P” sets the number of threads ls -1 $LOCAL_DIR | xargs -I {} -P 5 -n 1 rsync -avh –progress $LOCAL_DIR/{} $RECV_DIR -P sets number of parallel threads Example: ls -1 /mnt/mylocalfiles/ | […]

Read more »

KB450022 – Rebuilding Failed Redundant Boot Drives

How do I know one of my boot drives has failed? Open the Disk Utility and scroll down to your RAID devices. If one of them has failed you will see DEGRADED. Alternately you may open a terminal and enter the command “cat /proc/mdstat” This will list the current status of all RAIDs you have […]

Read more »

KB450033 – How do I replace a failed drive with LSI 9361 cards

The recommended utility to use with the LSI 9361 SAS card is StorCLI. StorCLI allows command line tools to manage and control LSI MegaRAID controllers. It can be downloaded at –> https://docs.broadcom.com/docs/12351376 Once the rpm package is downloaded, extract it to a directory on your Storinator. From there, changing into that director and run the […]

Read more »

KB450289 – Ubuntu 20.04 Redundant OS Installation

Scope/Description This article will walk through the process of installing Ubuntu 20.04 on redundant boot drives. Prerequisites An ubuntu 20.04LTS server iso downloaded Attach iso to server, either remotely with IPMI or physically with USB drive. Use IPMI to remotely mount install iso Write disk to USB drive Steps Starting Installation Verify server BIOS is […]

Read more »

KB450299- Setup iSCSI Storage Server on Ubuntu 20.04 LTS

Scope/Description In this tutorial, we will explain how to setup iSCSI targets on Ubuntu 20.04 server The iSCSI target is LIO and is managed via targetcli (We don’t recommend using bonds with iSCSI, we recommend using Multi-path instead) Prerequisites ZFS Storage pool configured Steps Install needed packages for iSCSI apt install targetcli-fb Create ZFS dataset […]

Read more »

KB450300 – Configure iSCSI multi-path on Ubuntu 20.04 LTS

Scope/Description In this tutorial, we will show how to configure your Ubuntu iSCSI target for multi-path IO for your initiators. Prerequisites This guide assumes you have completed our knowledge base tutorial “Setup iSCSI Storage Server on Ubuntu 20.04 LTS” or already have iSCSI configured. By default when you create an iSCSI target in targetcli, it […]

Read more »

KB450429 – Connecting Rclone to Cloud Services

Scope/Description This article will walk you through the process of installing Rclone and connecting a remote to a cloud service such as Backblaze or Google Drive. This will allow you to move files to these cloud services. Prerequisites CentOS or Ubuntu 20.04LTS Server. (See here for instructions on how to install Ubuntu20.04LTS) Google Drive, Backblaze, […]

Read more »
© 2024 - 45Drives Knowledge Base
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access