F
F
fokin_nikolay19892021-10-06 11:09:10
linux
fokin_nikolay1989, 2021-10-06 11:09:10

How to cure a disk?

If I use e2fsck -cfv /dev/sdb1
error:

The file system size (according to the superblock) is 
the physical size of the device  is
Either the superblock or the partition table is likely to be corrupt
Abort<y> yes


If I use badblocks -s /dev/sdf1 > /root/badblock
a notification comes out
badblocks: Value too large for defined datatype invalid end block : must be 32-bit value
And then nothing happens. How to cure a disk?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2021-10-06
@res2001

If there is important data on the disk, then I would make an image of the disk, and then I would perform potentially destructive operations.
In the first case, you can enter No in the answer, then he will try to do something.
You can try to restore the partition from bootable media using partition recovery software.
To begin with, it is worth conducting a disk test, because. superblocks and partition tables don't usually just fail. Probably the disk began to crumble.

S
SOTVM, 2021-10-06
@sotvm

to boot from a flash drive or another disk,
how can you treat something that is mounted on the top of the head into the system from the system itself?
if fso is bad, turn off the check in fstab (fix one to zero
man fstab))
but rm -rf will cure everything)) under admin = you will be like a virgin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question