I had added new hdd i am unable to format it and change the file system from the ntfs to the ext4 can i gets help how to do that is there is any way to check the all the drives fromat which is conencted to the device

i am unable to format sdc2 and it is giving the error code 1

I believe error code 1 usually appears when the partition is mounted or currently in use.

I suggest first checking all connected drives and their current filesystem:

lsblk -f

This shows:

  • All disks and partitions
  • Their filesystem type (ntfs, ext4, etc.)
  • Whether they are mounted

Then check specifically if sdc2 is mounted:

mount | grep sdc2

If it is mounted, I suggest unmounting it first:

umount /dev/sdc2

After that, you can format it to ext4:

mkfs.ext4 /dev/sdc2

Please note this will erase all data on that partition.

If formatting still fails, I suggest checking system messages:

dmesg | tail -50

If you share the output of lsblk -f, we can better understand the current state of the drive.

but where to do this by cinnectibng to ssh or direcrttly via web

You’ll need to do this over SSH, not from the web UI.

I believe the ZimaOS web interface does not allow low-level formatting commands like mkfs or wipefs, so this must be done from the terminal.

Steps:

  1. Enable SSH
    Settings → Developer → Enable SSH
  2. Connect from another computer:

ssh root@YOUR_ZIMA_IP

Example:

ssh root@192.168.1.4

  1. Then run the commands:

lsblk -f

umount /dev/sdc2

mkfs.ext4 /dev/sdc2

I suggest posting the output of lsblk -f first before formatting, just to confirm the correct device.

ok thanks i am doing this as it is lets see

all done properly lots of thanks for the in detailed help