[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no space left on device



I don't think it's fake but it's the lack of partition being the main issue.

I've just reconnected it to the previous system and found this in history:

sudo mkfs.exfat /dev/nvme0n1
sudo mkdir /mnt/nvme0n1
sudo mount /dev/nvme0n1 /mnt/nvme0n1

I think the fact that it reported as nvme0n1 cofused me and made me think it was a partition.

All of the above worked and I was using the drive for days.
I ran: rsync, ls, df, cd, rm, rmdir and other commands.
Everything felt perfectly normal.

Now I'm unable to remount it the same way:

sudo mount /dev/nvme0n1 /mnt/nvme0n1
mount: /mnt/nvme0n1: wrong fs type, bad option, bad superblock on /dev/nvme0n1, missing codepage or helper program, or other error.

I think it's time to give up on the data and move on...


On 20/01/2025 13:20, Hans wrote:
There are fake 4TB drives in the market. Maybe you got one? There are some
tools available for checking this (I believe, in Debian there is a tool called
"f3" or similar.

If there are no important data on the drive, you might reformat the drive to
ext2/3/4 and then use "resize2fs" to corect the settings of your drive. In the
past I used to grow a partition with gparted, and gparted showed correctly,
but df showed still the old size.

Resize2fs then did the trick and I got the correct size.

If you have Windows on an other computer, there are so,e windows based tools,
which are made for testing the real capacity of your drive.

Additionally I got such a fake 4TB drive. Although the tools al showed "fake",
I could fill it with almost 4TB. Inside was of the case was an USB-stick and I
think, the capacity is made by software (shrinking files, double space
whatver). However, this stick is (USB-3!) raaaaaaather slow!

Just some thoughts, maybe it helps.

Best

Hans




Reply to: