Re: Progress indicator when (slowly) mounting a btrfs filesystem?

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

 



On Wed, Jan 27, 2016 at 9:24 AM, Christian Rohmann
<crohmann@xxxxxxxxxxxxx> wrote:
> Hey btrfs-folks,
>
> when one cuts the power to a machine with an 8 device RAID6 btrfs
> mounted, it takes about 15 - 20 minutes to mount the btrfs again
> afterwards. This is with kernel 4.4 and btrfs-progs 4.4 mind you. I
> looked at iotop and it was reading from all disks heavily, so it was
> doing something. The long mount time for such a rather expected case
> might be a problem in itself, but either way, a mount action that takes
> a while needs to present some sort of progress indication, so the user
> knows what btrfs is at work getting things mounted.

Might be a bug, but more likely might be a lack of optimization. If it
eventually mounts without errors that's a pretty good plus. Lots of
file systems can't handle power failures well at all.

Mount is part of util-linux, not btrfs-progs, so any change would
probably need to be there. I'm not sure the kernel even has an idea
during all of this what the end point is, so a progress indication is
probably not reliable. It's in the clouds on a long staircase, or
maybe it's a short one, who can be sure?


-- 
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