On 2022-04-27 15:57, Masaru Nomiya wrote:
Hello,
PIO> ---- PIO> localhost:/home/siberia # fsck -n /dev/sdb PIO> fsck from util-linux 2.36.2 PIO> e2fsck 1.43.8 (1-Jan-2018) PIO> Warning! /dev/sdb is in use. PIO> ext2fs_open2: Bad magic number in super-block PIO> fsck.ext2: Superblock invalid, trying backup blocks... PIO> fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb
PIO> The superblock could not be read or does not describe a valid ext2/ext3/ext4 PIO> filesystem. If the device is valid and it really contains an ext2/ext3/ext4 PIO> filesystem (and not swap or ufs or something else), then the superblock PIO> is corrupt, and you might try running e2fsck with an alternate superblock: PIO> e2fsck -b 8193 <device> PIO> or PIO> e2fsck -b 32768 <device>
PIO> Found a gpt partition table in /dev/sdb
First.
It is common knowledge that checking HDDs must be done in an unmounted state.
In other words, you should boot your PC with the opensuse installation disc, enter rescue mode, and perform an internal or external HDD check.
I must say that your approach is extremely dangerous!
Second.
Did you try to understand the meaning of the message after the check?
It should be accepted that there are very few people who will continue to use the system after seeing this message.
Usually, they will immediately make a backup and replace the HDD.
Nono, this is normal. he is attempting to fsck the entire disk, not the partition. On the other hand, this should not be done on a mounted filesystem -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)