LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2018, 11:54 AM   #1
anon221
LQ Newbie
 
Registered: Jan 2018
Distribution: openSuse Tumbleweed
Posts: 6

Rep: Reputation: 0
btrfs refuses to mount


The pc boots into emergency mode after systemd reports a time out on the btrfs disk ("timed out waiting for device dev-disk-...").

Dmesg doesnt Report any errors (I would post a picture but I cant).

Thanks for any help

I can post more information if needed.
 
Old 01-10-2018, 05:32 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by 315Lukas View Post
The pc boots into emergency mode after systemd reports a time out on the btrfs disk ("timed out waiting for device dev-disk-...").

Dmesg doesnt Report any errors (I would post a picture but I cant).

Thanks for any help

I can post more information if needed.
My first thought was maybe an incorrect UUID in your fstab? Is this the disk your OS is installed on? Which Linux distribution are you using?

Can you post the results of the following commands:

Code:
lsblk
Code:
cat /etc/fstab
If so, please use CODE tags.
 
Old 01-10-2018, 07:06 AM   #3
anon221
LQ Newbie
 
Registered: Jan 2018
Distribution: openSuse Tumbleweed
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jsbjsb001 View Post
My first thought was maybe an incorrect UUID in your fstab? Is this the disk your OS is installed on? Which Linux distribution are you using?

Can you post the results of the following commands:

Code:
lsblk
Code:
cat /etc/fstab
If so, please use CODE tags.
I dont think the UUID is incorrect because it worked a few days ago.

Im using opensuse.

lsblk: DwD..jpg
/etc/fstab: 5E..jpg
Attached Thumbnails
Click image for larger version

Name:	5EPiEUx.jpg
Views:	31
Size:	236.3 KB
ID:	26719   Click image for larger version

Name:	DwDUeVo.jpg
Views:	28
Size:	99.7 KB
ID:	26720  

Last edited by anon221; 01-10-2018 at 07:12 AM. Reason: add distro
 
Old 01-10-2018, 07:21 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Just first of all, it would be easier if you posted the output in plain text rather than screenshots.

Can you confirm (or deny) a few things for me:

You have 3 hard drives in your machine and sdb is the one with Debian Linux installed on it?

Is openSUSE installed on the first hard drive, being sda?

Also, the output you have provided for your fstab looks like your Debian fstab and not the one for openSUSE. Is this correct?

If I'm correct, we really need to see your fstab for openSUSE, not Debian.
 
Old 01-10-2018, 07:24 AM   #5
anon221
LQ Newbie
 
Registered: Jan 2018
Distribution: openSuse Tumbleweed
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jsbjsb001 View Post
Just first of all, it would be easier if you posted the output in plain text rather than screenshots.

Can you confirm (or deny) a few things for me:

You have 3 hard drives in your machine and sdb is the one with Debian Linux installed on it?

Is openSUSE installed on the first hard drive, being sda?

Also, the output you have provided for your fstab looks like your Debian fstab and not the one for openSUSE. Is this correct?

If I'm correct, we really need to see your fstab for openSUSE, not Debian.
I cant post it in plain text because I cant mount USB sticks or access the internet in emergency mode. The hostname of my opensuse install is actually "debian-b" (I know it doesnt make much sense). Windows 7 is installed on sda.

Last edited by anon221; 01-10-2018 at 08:13 AM. Reason: clarify
 
Old 01-10-2018, 07:33 AM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by 315Lukas View Post
I cant post it in plain text because I cant mount USB sticks or access the internet on the machine. The hostname of my opensuse install is actually "debian-b" (I know it doesnt make much sense). Windows 7 is installed on sda.
Thanks for clarifying for us. Do you know if anything has changed since the last time it DID work? Have you done any updates for example, since the last time it DID work?

As nothing is jumping out at me, in terms of problems with your fstab file.

Also, what is the full output of "timed out waiting for device dev-disk-..." ?
 
Old 01-10-2018, 07:44 AM   #7
anon221
LQ Newbie
 
Registered: Jan 2018
Distribution: openSuse Tumbleweed
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jsbjsb001 View Post
Thanks for clarifying for us. Do you know if anything has changed since the last time it DID work? Have you done any updates for example, since the last time it DID work?

As nothing is jumping out at me, in terms of problems with your fstab file.

Also, what is the full output of "timed out waiting for device dev-disk-..." ?
I update the system almost every day. But I also tried booting from a read-only snapshot from when it used to work and it no longer works there either.
Attached Thumbnails
Click image for larger version

Name:	XZamkng.jpg
Views:	15
Size:	207.0 KB
ID:	26721  

Last edited by anon221; 01-10-2018 at 07:46 AM. Reason: clarification
 
Old 01-10-2018, 07:53 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by 315Lukas View Post
I update the system almost every day. But I also tried booting from a read-only snapshot from when it used to work and it didnt work there either.
It's possible that there maybe a hardware issue of some kind with your disk (I can't say for sure this is the case), could you use something like the System Rescue Live CD to run the command below:

Code:
smartctl -a /dev/sdX
Replace "sdX" with the actual device node for the disk in question.

You will need to either burn the System Rescue CD ISO image to a CD/DVD or install it to a USB drive (if you have one free). Then start your PC from that and run the command above.

This should give us an idea of weather it's a hardware issue or not.
 
Old 01-10-2018, 08:02 AM   #9
anon221
LQ Newbie
 
Registered: Jan 2018
Distribution: openSuse Tumbleweed
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jsbjsb001 View Post
It's possible that there maybe a hardware issue of some kind with your disk (I can't say for sure this is the case), could you use something like the System Rescue Live CD to run the command below:

Code:
smartctl -a /dev/sdX
Replace "sdX" with the actual device node for the disk in question.

You will need to either burn the System Rescue CD ISO image to a CD/DVD or install it to a USB drive (if you have one free). Then start your PC from that and run the command above.

This should give us an idea of weather it's a hardware issue or not.
A CrystalDiskInfo screenshot and smartctl output is attached. Do I have to run smartctl from a rescue CD?
Attached Thumbnails
Click image for larger version

Name:	uDdvSze.jpg
Views:	16
Size:	146.3 KB
ID:	26722   Click image for larger version

Name:	smart1.jpg
Views:	14
Size:	222.5 KB
ID:	26723   Click image for larger version

Name:	smart2.jpg
Views:	15
Size:	216.7 KB
ID:	26724  

Last edited by anon221; 01-10-2018 at 08:13 AM.
 
Old 01-10-2018, 08:20 AM   #10
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by 315Lukas View Post
A CrystalDiskInfo screenshot and smartctl output is attached. Do I have to run smartctl from a rescue CD?
No, that's ok. But can you run the same command on your other drives as well and post the output? (make a new post instead of just editing your last one)

As, the only other thing I can think of, is that there's a problem with one of your other disks and that's what it's complaining about - if that makes sense.

The other issue is that the screenshots ain't particularly easy to read.
 
Old 01-10-2018, 08:33 AM   #11
anon221
LQ Newbie
 
Registered: Jan 2018
Distribution: openSuse Tumbleweed
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jsbjsb001 View Post
No, that's ok. But can you run the same command on your other drives as well and post the output? (make a new post instead of just editing your last one)

As, the only other thing I can think of, is that there's a problem with one of your other disks and that's what it's complaining about - if that makes sense.

The other issue is that the screenshots ain't particularly easy to read.
I would post the output as plain text but I cant save or upload it anywhere (without using a resuce CD).

I think I'll just reinstall the system using ext4 or XFS as root fs.
Attached Thumbnails
Click image for larger version

Name:	smartctlsda1.jpg
Views:	10
Size:	245.9 KB
ID:	26725   Click image for larger version

Name:	smartctlsda2.jpg
Views:	8
Size:	246.8 KB
ID:	26726  
 
Old 01-10-2018, 08:52 AM   #12
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by 315Lukas View Post
I would post the output as plain text but I cant save or upload it anywhere (without using a resuce CD).

I think I'll just reinstall the system using ext4 or XFS as root fs.
While I don't think this is exactly the same situation as yours, it may give you some more ideas to try: https://www.linuxquestions.org/quest...on-4175500411/

It doesn't look like a hardware issue from your smartctl outputs, but at this point I'm really not sure what else you can try to fix it.

My best *guess* based on what we currently know would still be an incorrect UUID somewhere along the line, but that is just that, a guess.

You could also try a file system check, but I would not be surprised if that comes back clean. But you can try it anyway.

You can also do a re-install as you suggest, using something like ext4.

Sorry I can't help beyond this point.
 
  


Reply



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
btrfs ssd mount options stozi Linux - Newbie 2 01-21-2016 03:48 PM
Problems with /home mount on a btrfs subvolume - systemd exvor Gentoo 1 06-19-2015 11:19 AM
LXer: Btrfs File-System Mount Option Testing From Linux 3.14 LXer Syndicated Linux News 0 03-04-2014 12:03 AM
LXer: Btrfs Mount Option Performance Tuning On Linux 3.11 LXer Syndicated Linux News 0 07-21-2013 08:32 PM
LXer: Testing Out The Btrfs Mount Options On Linux 3.2 LXer Syndicated Linux News 0 03-26-2012 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:23 PM.

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