LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-30-2023, 04:16 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,028

Rep: Reputation: 273Reputation: 273Reputation: 273
SSD drive fails fsck in old computer


My 'new' computer stopped booting. I pulled out my old computer, put the disk from the new computer in the USB-SATA adaptor, and it won't mount, complaining
Quote:
[13267.062900] EXT4-fs (sdb2): bad geometry: block count 109298006 exceeds size of device (109298005 blocks)
dmesg includes this comment
Quote:
[13035.556520] sdb: p2 size 874384048 extends beyond EOD, enabling native capacity
a few lines before. The disk from the new computer is SSD; my old computer has only used HDDs. I don't want to harm the SSD by 'fixing' it unnecessarily. It passed e2fsck Saturday, has every time I have tested it, which is almost daily. Have I missed something?

The new disk is a Samsung PM871A, 512 GB. The main disk on the old computer is a 512 GB HDD.
 
Old 10-31-2023, 06:24 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,200
Blog Entries: 46

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
RandomTroll,

Have a look at this previous LQ thread:
https://www.linuxquestions.org/quest...5/#post4326339

Posts #13 and #14 suggest using:

Code:
resize2fs -f /dev/sdb2
 
Old 10-31-2023, 06:29 AM   #3
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 288

Rep: Reputation: 100Reputation: 100
Don't use any USB adapter for NVMe-/SATA-/IDE-/SCSI-drive diagnostics. USB = "Useless Serial Bus" for drive diagnostics. Many drive diagnostic programs don't work with "USB drives".

Disconnect all SSDs/HDDs from mainboard & add-in-cards in your old computer.
Connect your iffy SSD with mainboard (if possible) or SATA add-in card in your old computer.
Boot a live Linux from USB stick or DVD.
Run diagnostic programms, start with smartctl.

Last edited by Arnulf; 10-31-2023 at 06:50 AM.
 
1 members found this post helpful.
Old 11-01-2023, 09:14 AM   #4
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,028

Original Poster
Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by Arnulf View Post
Don't use any USB adapter for NVMe-/SATA-/IDE-/SCSI-drive diagnostics. USB = "Useless Serial Bus" for drive diagnostics. Many drive diagnostic programs don't work with "USB drives".
This has been my experience often. I also find I can't boot off a drive attached USBly when it will boot when installed. My old computer is a laptop, with only 1 place to install a drive internally, so I have to take the old one out to install the new one. But when I did it works, so it was the USB-ness that made it appear bad. I'm glad I didn't try to 'fix' it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Would it be possible combining 2 old 120G SSD as one 240G SSD satimis Linux - Hardware 2 04-22-2017 11:21 AM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
How long will Fsck take to fix my flash drive? -- vfat drive, Fedora 20 computer. People'spoet Linux - Software 4 05-21-2014 04:54 AM
[SOLVED] Boot fails at fsck but I get no error when I run fsck myself. new install on ssd. rlx Slackware 1 12-02-2012 02:29 PM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration