Debian on SSD. How to check SSD disk for errors from a Live CD? Additionally, to save results to a txt file. Partitions are
sdb1 /boot ext2 sdb2 root ext4 sdb3 swap Should I unmount partitions when run fsck from Live CD, or its not mounted?
# fsck.ext4 /dev/sdb2 # fsck.ext2 /dev/sdb1 Also, should I first try smartctl -a /dev/sdb command?
EDIT: fsck -n -f results
Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information BOOT: 240/128000 files (1.3% non-contiguous), 32621/256000 blocks Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information ROOT: 101764/2498560 files (0.2% non-contiguous), 894670/9984000 blocks
[12055.788372] ETX4-fs error (device sdb2): ext4_find_entry:932: inode # 1572866: comm lightdm: reading iblock 0"