I have an SSD disk with an ext4
filesystem on it:
$ lsblk -f /dev/sdc
NAME FSTYPE LABEL UUID MOUNTPOINT
sdc ext4 142b28fd-c886-4182-892d-67fdc34b522a
I am attempting to mount it, but it is failing:
$ sudo mkdir /mnt/data
$ sudo mount /dev/sdc /mnt/data
mount: /mnt/data: cannot mount /dev/sdc read-only.
- What does the error message mean?
- How can I diagnose and fix the problem?
To add additional information pertinent to an answer below:
There is only one partition on the disk.
Here is the result of executing lsblk
for the boot disk:
$ lsblk /dev/sda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 10G 0 disk
├─sda1 8:1 0 9.9G 0 part /
├─sda14 8:14 0 4M 0 part
└─sda15 8:15 0 106M 0 part /boot/efi
and here is the result of executing lsblk
for the disk in question:
$ lsblk /dev/sdc
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdc 8:32 0 2G 1 disk
Best Answer
I had a similar problem with a USB thumb drive which was down to the ext4 journal recovery not working.
dmesg
confirmed this:As it suggested, mounting with noload worked:
I was then able to backup the content:
and then use
fdisk
to delete and recreate the partition and then create a new filesystem withmkfs.ext4
.