btrfs says no errors, but booting gives lots of errors

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

 



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: rdsosreport.zip>>

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

         John Covici
         covici@xxxxxxxxxxxxxx

[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