Re: Unclean shutdown, BTRFS will not mount after - what things to try in what order?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 1, 2015 at 10:50 PM, Victor Hooi <victorhooi@xxxxxxxxx> wrote:
> We have a Ubuntu 14.10 server that has a BTRFS root filesystem.

So you're getting dropped to a dracut prompt? i.e. you're in the
initramfs and root fs is not mounted at /sysroot, so if you ls
/sysroot there's nothing there, right? If so you can try:

mount -o recovery /dev/ /sysroot

If you get no major errors then

mount

to see if it's mounted at /sysroot and if so

exit

will resume boot.

If the -o recovery mount fails, then it's a bit trickier. It's
probably easiest to take a cell phone photo of the error message if
it's not super short to copy out. And then

btrfs check <dev>

Again cell phone is easier, it's a lot to write out. But the problems
are important as is the btrfs-progs baked into the initramfs. Someone
might know if that version of btrfs-progs is safe to try a repair
given the problem output from check. If no one replies soon enough for
you, I probably wouldn't use --repair unless I had v.3.18, in which
case you probably need live media and update its btrfs-progs after
booting from it.

-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux