Skip to contentSkip to conversation

Emergency - Can't Boot

DISCUSSION . 3 participants 5 messages Jul 30, 2011 – Jul 31, 2011 Btrfs file system

lore
Share & tools
lore

.

author
#0 lore raw

Help!

I just did my monthly dist-upgrade and rebooted, only to have it stall at Control D. It tried to automatically run fsck.btrfs and of course it failed, and insists that I run it manually. I can't. I've rebooted several times and can't get past Control D. Don't know where it keeps track of the number of reboots since last fsck.

What do you do in a case like this?

Debian Testing running kernel 2.6.39-2 and KDE. btrfs-tools 0.19 +20100601 - the latest in Debian Testing as of today.

Please reply on list and directly to me, as I'm waiting for listserv approval.

#1 lore raw
Quoted 7 lines · On Sat, Jul 30, 2011 at 12:51:51PM -0700, . wrote:

I just did my monthly dist-upgrade and rebooted, only to have it stall at Control D. It tried to automatically run fsck.btrfs and of course it failed, and insists that I run it manually. I can't. I've rebooted several times and can't get past Control D. Don't know where it keeps track of the number of reboots since last fsck.

What do you do in a case like this?

[Just a note -- this seems to have been fixed in a conversation on
IRC, by linking /bin/true to /bin/fsck.btrfs]

Hugo.

Signature · 3 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
         --- Always be sincere,  whether you mean it or not. ---         
#2 lore raw
Quoted 11 lines · On Saturday 30 July, 2011 13:46:21 Hugo Mills wrote:
Quoted 7 lines · On Sat, Jul 30, 2011 at 12:51:51PM -0700, . wrote:

I just did my monthly dist-upgrade and rebooted, only to have it stall at Control D. It tried to automatically run fsck.btrfs and of course it failed, and insists that I run it manually. I can't. I've rebooted several times and can't get past Control D. Don't know where it keeps track of the number of reboots since last fsck.

What do you do in a case like this?

[Just a note -- this seems to have been fixed in a conversation on
IRC, by linking /bin/true to /bin/fsck.btrfs]

Yes that fixed it.

#3 lore raw
Quoted 3 lines · On Sun, Jul 31, 2011 at 4:12 AM, <[email protected]> wrote:
Quoted 2 lines · On Saturday 30 July, 2011 13:46:21 Hugo Mills wrote:
Quoted 1 line · On Sat, Jul 30, 2011 at 12:51:51PM -0700, . wrote:

I just did my monthly dist-upgrade and rebooted, only to have it s=

tall

Quoted 1 line
Quoted 1 line
Quoted 1 line

at Control D. =A0It tried to automatically run fsck.btrfs and of c=

ourse it

Quoted 1 line
Quoted 1 line
Quoted 1 line

failed, and insists that I run it manually. =A0I can't. =A0I've re=

booted

Quoted 1 line
Quoted 1 line
Quoted 1 line

several times and can't get past Control D. =A0Don't know where it=

keeps

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

track of the number of reboots since last fsck.

What do you do in a case like this?

=A0 =A0[Just a note -- this seems to have been fixed in a conversati=

on on

Quoted 3 lines
Quoted 1 line

IRC, by linking /bin/true to /bin/fsck.btrfs]

Yes that fixed it.

IMHO a better fix is to just disable fsck on fstab for that fs. Somethi= ng like

# <file system> <mount point> <type> <options> <dump> <pass>
LABEL=3DROOT / btrfs
subvolid=3D258,compress-force=3Dlzo,noatime 0 0

--=20
=46ajar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 5 lines · On Saturday 30 July, 2011 19:34:26 Fajar A. Nugraha wrote:

IMHO a better fix is to just disable fsck on fstab for that fs. Something like

# <file system> <mount point> <type> <options> <dump> <pass>
LABEL=ROOT / btrfs
subvolid=258,compress-force=lzo,noatime 0 0

I've done that too.