2 Issues: boot FS check fails; Mounted vols cannot be checked

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
markfilipak
Level 5
Level 5
Posts: 936
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by markfilipak »

2 Issues:

1, Boot file system check fails.
As you probably know, Mint occasionally runs full FS checks, and it does so 'silently'. When it does, the FS checks have never completed on my system. A few days ago I let it run for 1-1/2 hours. As in all other cases, I had to force the computer off, then on, then select a normal boot in the resulting Grub selection list. I'm concerned that there may actually be errors that the full FS check encountered, but remained 'silent' about -- the drive light on my laptop flashed at about 2 second intervals, the access light on the drive showed activity, and that continued for 1-1/2 hours.

It happened again tonight.

2, Mounted volumes cannot be checked.
This is really intolerable. How can I check FS manually if mounted volumes cannot be checked?

User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by WharfRat »

Can you paste back

Code: Select all

sudo tune2fs -l /dev/sda?|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
Replace '/dev/sda?' with your linux partition e.g., /dev/sda2
ImageImage

markfilipak
Level 5
Level 5
Posts: 936
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by markfilipak »

WharfRat wrote:Can you paste back

Code: Select all

sudo tune2fs -l /dev/sda?|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
Replace '/dev/sda?' with your linux partition e.g., /dev/sda2
Hi Mr. Wharf!

Code: Select all

mark@mark-Lenovo-V570 ~ $ sudo tune2fs -l /dev/sda1|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
[sudo] password for mark: 
tune2fs: Bad magic number in super-block while trying to open /dev/sda1
Couldn't find valid filesystem superblock.
mark@mark-Lenovo-V570 ~ $ sudo tune2fs -l /dev/sda2|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
Filesystem state:         not clean
Mount count:              1
Maximum mount count:      -1
Last checked:             Sat Nov  5 23:28:01 2016
mark@mark-Lenovo-V570 ~ $ sudo tune2fs -l /dev/sda3|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
tune2fs: Bad magic number in super-block while trying to open /dev/sda3
Couldn't find valid filesystem superblock.
mark@mark-Lenovo-V570 ~ $ 

User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by WharfRat »

You have problems with /dev/sda2.

If you have any important stuff on that partition then I would suggest copying it elsewhere.

Boot the live media and run

Code: Select all

sudo fsck -fyV /dev/sda2
Make sure the partition is NOT mounted and you saved your important stuff before running the above.

Good luck :wink:
ImageImage

markfilipak
Level 5
Level 5
Posts: 936
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by markfilipak »

WharfRat wrote:... Boot the live media and run

Code: Select all

sudo fsck -fyV /dev/sda2
I've tried every way suggested to transfer the Mint 18 ISO to USB stick. Nothing has worked. I don't have a live system that I can boot -- this is the reason why I've been driving everyone nuts with questions about how I can create a USB stick.

User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by WharfRat »

If you create the file /forcefsck then it will run when you boot.

Code: Select all

sudo touch /forcefsck
ImageImage

markfilipak
Level 5
Level 5
Posts: 936
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by markfilipak »

WharfRat wrote:If you create the file /forcefsck then it will run when you boot.

Code: Select all

sudo touch /forcefsck
Okay. ...I just checked with 'nemo', and '/forcefsck' exists. I'm going to reboot now. I'll see you on the other side, maybe (fingers crossed).

markfilipak
Level 5
Level 5
Posts: 936
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio (formerly California), USA

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by markfilipak »

I'm back. The FS check took about 5 seconds. Then I ...well... you know:

Code: Select all

mark@mark-Lenovo-V570 ~ $ sudo tune2fs -l /dev/sda1|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
[sudo] password for mark: 
tune2fs: Bad magic number in super-block while trying to open /dev/sda1
Couldn't find valid filesystem superblock.
mark@mark-Lenovo-V570 ~ $ sudo tune2fs -l /dev/sda2|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
Filesystem state:         not clean
Mount count:              1
Maximum mount count:      -1
Last checked:             Sun Nov  6 01:12:52 2016
mark@mark-Lenovo-V570 ~ $ sudo tune2fs -l /dev/sda3|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
tune2fs: Bad magic number in super-block while trying to open /dev/sda3
Couldn't find valid filesystem superblock.
mark@mark-Lenovo-V570 ~ $ 

Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by Cosmo. »

markfilipak wrote:Mounted volumes cannot be checked.
This is really intolerable. How can I check FS manually if mounted volumes cannot be checked?
You cannot and you must not. Trying to check a mounted flle system would lead to data corruption and would be unreliable.

User avatar
WharfRat
Level 21
Level 21
Posts: 13897
Joined: Thu Apr 07, 2011 8:15 pm

Re: 2 Issues: boot FS check fails; Mounted vols cannot be checked

Post by WharfRat »

Since problem persist with that partition you should not store anything of importance on it.

You might want to install smartmontools and see how it reports on the condition of the disk.
ImageImage

Post Reply

Return to “Newbie Questions”