All of lore.kernel.org
 help / color / mirror / Atom feed
From: covici@ccs.covici.com
To: linux-btrfs@vger.kernel.org
Subject: btrfs says no errors, but booting gives lots of errors
Date: Sat, 10 Oct 2015 08:46:04 -0400	[thread overview]
Message-ID: <8042.1444481164@ccs.covici.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3018 bytes --]

Hi.  I am having lots of btrfs troubles  -- I am using a 4.1.9 kernel
and the btrfs programs are 4.2.  I did get one sort of a kernel oops
which I will attach if the system lets me.

Now, let me tell you how this happened.  I created the file system on
this kernel, created a rootfs subvolume, a usr subvolume and var and
home subvolume all at the top level.

Now, I then took my root file system, the usr file system and the var
and home file systems, took the box offline, booted into a grml cd and
did rsync of all that stuff into the new system, changed the fstab and
rebooted.  The boot partition is an ext4 partition, so that is not
involved.  I am using dracut and systemd and gentoo.

What I got was a mess, a lot of programs returned 203, such as mailman,
postgresql, and others.  I think programs could not find their files,
even though I could do ls and see the names, for instance postgresql
said it could not find its .conf, but it seemed there to me.  After
rebooting back to the old system, I did a scrub and found no errors.

So, what could be happening here, things appeared to mount correctly, I
used the following fstab ----------
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>			<mountpoint>	<type>		<opts>		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT		/boot		ext2		noauto,noatime	1 2
LABEL=main		/		btrfs		defaults,subvol=rootfs 0 1
/dev/sda1 /boot ext4 defaults 0 1
LABEL=swap		none		swap		sw		0 0
#/dev/fd0		/mnt/floppy	auto		noauto		0 0

# NOTE: The next line is critical for boot!
proc			/proc		proc		defaults	0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
LABEL=main /usr btrfs defaults,subvol=/usr 0 2
/dev/mapper/linux--files-usr--src /usr/src ext4  defaults 0 2
LABEL=main /tmp btrfs defaults,subvol=/tmp,nodev,nosuid,noexec 0 2
LABEL=main /var btrfs defaults,subvol=/var 0 3
LABEL=main  /var/tmp/portage btrfs defaults,subvol=/portage 0 3
LABEL=main /home btrfs defaults,subvol=/home 0 3
/dev/mapper/linux--files-audio /audio ext4 defaults 0 3
/dev/mapper/linux--files-usr--bbs /usr/bbs ext4 defaults 0 3
/dev/mapper/linux--files-hard2 /hard2 ext4 defaults 0 3
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
/dev/mapper/linux--files-scratch /mnt/scratch ext4 defaults 0 3

So, any ideas?

Thanks in advance for any suggestions.

[-- Attachment #2: rdsosreport.zip --]
[-- Type: application/zip, Size: 24662 bytes --]

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com

             reply	other threads:[~2015-10-10 13:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10 12:46 covici [this message]
2015-10-10 14:12 ` btrfs says no errors, but booting gives lots of errors Holger Hoffstätte
2015-10-10 14:41   ` covici
2015-10-10 15:46     ` Lionel Bouton
2015-10-10 16:10       ` Holger Hoffstätte
2015-10-10 16:55         ` covici
2015-10-10 22:04           ` Lionel Bouton
2015-10-10 23:02             ` covici
2015-10-10 23:08               ` covici
2015-10-11 12:13                 ` Duncan
2015-10-11 12:29                   ` covici
2015-10-15  2:10                     ` Duncan
2015-10-10 23:21               ` Lionel Bouton
2015-10-10 23:32                 ` covici
2015-10-10 23:58                   ` Lionel Bouton
2015-10-11  0:28                     ` covici
2015-10-10 16:45       ` covici

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8042.1444481164@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.