I have Zima Board with zimaOS installed. I have connected 2 320GB drives to the SATA and they show up as sda and sdb. Now I have bought 2 4TB HDD’s and built in a D4-320 of Terramaster.
They show up as sdc and sdd when I list them in the terminal with lsblk.
As they are not yet formatted I am searching how I can format them . Is this possible from UI or do I have to go into linux terminal?
I see the HDD’s are found as new drives, but if I go to Manage they are not listed in the Storage tab.
What is the procedure?
I understand you are using a IronWolf D4-320. It is a USB multi-disk storage box.
In ZimaOS, it will be automatically mounted like other USB storage devices when inserted. That is, if the disks are brand new, they need to be formatted before they can be mounted. I will provide some tips on how to format disks in the Linux command line.
- Format it as an ext4 file system, which has good compatibility in ZimaOS, but it is not compatible with Windows/macOS systems.
mkfs.ext4 -L "your-disk-label" -m 0 /dev/sdc
- Format as an exFAT file system, compatible with ZimaOS, but also compatible with Windows/macOS
mkfs.exfat -L "your-disk-label" /dev/sdc
If they do not mount automatically, you can try unplugging and replugging the USB interface of the D4-320.
Thanks for your reply. I need to find “your-disk-label”. How can I find it?
You need to customize it ![]()
Please elaborate
You just give it a name, such as my-data, my-movie, my-music, etc.
I need to partition it first. Can I do it with: [sudo parted /dev/sdc mklabel gpt] to use a modern way of partitioning?
Of course.
Let me list all me actions to start using brand new HDD’s
I googled a bit on had some more help on: How To Partition and Format Storage Devices in Linux | DigitalOcean
sudo parted /dev/sdx mklabel gpt
sudo parted -a opt /dev/sdx mkpart ext4 0% 100%
sudo mkfs.ext4 -L DAS1 /dev/sdx1
So I did it for both disks named DAS1 and DAS2.
The mounting of the new filesystem has been done automatically by ZimaOS as soon as I unplugged/plugged the USB D4-320 box.
So I followed your solution and got it to work but I am trying to have the DAS drives show up as one drive (Raid 0) and can’t seem to get it to work.
Ga eens praten met AI (Gemini).
Dit is de Docker compose file voor MergerFS
name: vibrant_tushar
services:
main_app:
cap_add:
- SYS_ADMIN
cpu_shares: 10
command:
container_name: MergerFS
deploy:
resources:
limits:
memory: 8169041920
reservations:
devices:
devices:
- /dev/fuse:/dev/fuse
environment:
- ARGS=-o
defaults,allow_other,use_ino,cache.files=off,dropcacheonclose=true,category.create=mfs,minfree=20G
/mnt/das1:/mnt/das2 /mountpoint
image: Package mergerfs · GitHub
labels:
icon: https://icon.casaos.io/main/all/mergerfs.png
restart: unless-stopped
volumes:
- type: bind
source: /dev/disk/by-uuid/8315bdd7-21f1-4460-aa6d-8d6e1dcceef6
target: /mnt/das1
- type: bind
source: /dev/disk/by-uuid/2c6da416-060d-42d8-b9fe-564fbd528b62
target: /mnt/das2
- type: bind
source: /DATA/AppData/mergerfs/Terramaster
target: /mountpoint
ports:
network_mode: bridge
privileged: false
x-casaos:
author: self
category: self
hostname: “”
icon: https://icon.casaos.io/main/all/mergerfs.png
index: /
is_uncontrolled: false
port_map: “”
scheme: http
store_app_id: vibrant_tushar
title:
custom: MergerFS
Then there is snapRAID to guard the safety of your data.
I am busy setting up this system met merger FS en Snapraid.