All of lore.kernel.org
 help / color / mirror / Atom feed
* Slow mounting raid1
@ 2017-07-31 18:30 Leonidas Spyropoulos
  2017-08-01  1:12 ` Duncan
  0 siblings, 1 reply; 6+ messages in thread
From: Leonidas Spyropoulos @ 2017-07-31 18:30 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I got a raid1 setup of btrfs on a HDD array of 2 disks. The fstab has
the following mount settings:
  # cat /etc/fstab | grep raid1
  UUID=c9db91e6-0ba8-4ae6-b471-8fd4ff7ee72d /media/raid1 btrfs rw,relatime,compress=lzo,space_cache 0 0

When I try to mount the array it's consistent about 5 seconds+
  # time umount /media/raid1
  
  real    0m0.358s
  user    0m0.010s
  sys     0m0.010s
  # time mount /media/raid1
  
  real    0m5.605s
  user    0m0.504s
  sys     0m0.071s

I have this setup for sometime now and from the time I made it the mount
time went up (I notice that on boot). When I first build that was
almost instant. In terms of maintenance I regularly run a scrub and
rebalance every now and then.

Running kernel 4.11.12 (with -ck patchs)

Is there something I can do to speed it up (apart buying 2 SSDs :D ). I
feel like I'm missing something as the usage of the raid is not really
frequent - just backup mainly.

Thanks for your time.

-- 
Leonidas Spyropoulos

A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


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

end of thread, other threads:[~2017-08-01 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-31 18:30 Slow mounting raid1 Leonidas Spyropoulos
2017-08-01  1:12 ` Duncan
2017-08-01  6:43   ` Leonidas Spyropoulos
2017-08-01 12:32     ` E V
2017-08-01 20:21       ` Leonidas Spyropoulos
2017-08-01 20:40         ` Timofey Titovets

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.