All of lore.kernel.org
 help / color / mirror / Atom feed
* BTRFS over LVM remounts read-only
@ 2014-01-11 14:32 MegaBrutal
  2014-01-11 15:04 ` Hugo Mills
  0 siblings, 1 reply; 11+ messages in thread
From: MegaBrutal @ 2014-01-11 14:32 UTC (permalink / raw)
  To: linux-btrfs

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

Hello,

I'm using BTRFS over LVM and after some time of usage (days or hours),
it just remounts itself, and I don't see the reason why, while it is
said to be fault-tolerant.

It is possible that I have bad sectors on the disk, though I don't
find it likely. Even then, I don't think bad sectors should cause that
much of a problem that the FS needs to be remounted because of it. Is
there a way to make BTRFS to detect and mark bad sectors like any
other file system does?

Here are the /etc/fstab entries those concern my BTRFS file system:
/dev/mapper/vmhost--vg-vmhost--rootfs /               btrfs
defaults,subvol=@ 0       1
/dev/mapper/vmhost--vg-vmhost--rootfs /home           btrfs
defaults,subvol=@home 0       2
/dev/mapper/vmhost--vg-vmhost--rootfs /media/btrfs    btrfs   noauto
         0       3

I've attached a dmesg output that may help developers to see what's the problem.

Do you have any ideas what causes the problem?

Also, if the disaster happens and the FS gets remounted read-only, is
there a way to force remount it in read-write mode? I've tried "mount
-o remount,rw" and "mount -o force,remount,rw" too, but it doesn't
work. Also I can't mount the BTRFS root or any subvolumes elsewhere
until I restart the system.

Probably my description of the problem wasn't detailed enough, but
since I'm totally clueless about the problem (not counting the
possible bad sectors), I can't tell more right now. But you can ask
more details and I'll try to answer.


MegaBrutal

[-- Attachment #2: btrfs-failure.dmesg.bz2 --]
[-- Type: application/x-bzip2, Size: 18971 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-01-12  4:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-11 14:32 BTRFS over LVM remounts read-only MegaBrutal
2014-01-11 15:04 ` Hugo Mills
2014-01-11 17:10   ` MegaBrutal
2014-01-11 17:28     ` Hugo Mills
2014-01-11 18:03     ` Chris Murphy
2014-01-11 18:48     ` Szalma László
2014-01-11 19:16       ` Roman Mamedov
2014-01-11 19:24         ` Szalma László
2014-01-11 23:08         ` Chris Murphy
2014-01-11 23:03       ` Chris Murphy
2014-01-12  4:44         ` Duncan

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.