drives won't format

Post Reply
Tenaja
Posts: 57
Joined: Mon Jun 24, 2019 2:05 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 5 times
Contact:

drives won't format

Post by Tenaja » Sun Mar 22, 2020 10:09 pm

Please forgive my Linux ignorance...

I am setting up cs2, and my drives will not format. i get the error below.
(thanks in advance.)
root@odroid:/home/odroid# dd if=/dev/zero of=/dev/sda bs=512 count=1
1+0 records in
1+0 records out
512 bytes copied, 0.000192245 s, 2.7 MB/s
root@odroid:/home/odroid# mkfs.ext4 /dev/sda
mke2fs 1.44.1 (24-Mar-2018)
mkfs.ext4: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.

jackinho
Posts: 37
Joined: Mon May 06, 2019 12:09 am
languages_spoken: english, german
ODROIDs: XU4, N2
Has thanked: 10 times
Been thanked: 14 times
Contact:

Re: drives won't format

Post by jackinho » Mon Mar 23, 2020 6:23 am

You only can format a partition (f.e. /dev/sda1), not the disk itself (/dev/sda). fdisk -l /dev/sda will show you a list with the partitions on your disk. If there's no entry, you have to create a partition first. See here how you can do this.
After that you can format the new partition – for example mkfs.ext4 /dev/sda1, where sda1 ist the new (first) partition on your disk.

Tenaja
Posts: 57
Joined: Mon Jun 24, 2019 2:05 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: drives won't format

Post by Tenaja » Mon Mar 23, 2020 10:51 am

Thank you, I will read through that tomorrow. I was trying to follow the step-by-step in the wiki, but must have missed or misunderstood something.

Thanks again.

Tenaja
Posts: 57
Joined: Mon Jun 24, 2019 2:05 am
languages_spoken: english
Has thanked: 1 time
Been thanked: 5 times
Contact:

Cannot find Cloudshell drives

Post by Tenaja » Mon Apr 27, 2020 10:50 pm

jackinho wrote:
Mon Mar 23, 2020 6:23 am
You only can format a partition (f.e. /dev/sda1), not the disk itself (/dev/sda). fdisk -l /dev/sda will show you a list with the partitions on your disk. If there's no entry, you have to create a partition first. See here how you can do this.
After that you can format the new partition – for example mkfs.ext4 /dev/sda1, where sda1 ist the new (first) partition on your disk.
I read through that, and the results from fdisk do not give me anything that looks like the Cloudshell2 hard drives are recognized. (I have a pair of WD 1tb drives, switches set to Raid 1.)

There must be a step missing that connects the XU4 to the Cloudshell drives. I went through the steps listed here:
https://wiki.odroid.com/accessory/add-o ... e_settings
but it seems like there should be a step between 6&7. Any help would be appreciated.

Post Reply

Return to “CloudShell”

Who is online

Users browsing this forum: No registered users and 0 guests