Re: RAID5 doesn't mount on boot, but you can afterwards?

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

 



On Thursday 01 October 2015 02:21:23 Duncan wrote:

> That's very likely because unlike traditional single-device filesystems
> (including single-device btrfs), multi-device btrfs has multiple devices
> it must know about before it can mount the device, while mount only feeds
> it one device.
> 
> There are two ways to tell btrfs (the kernel side) about the other
> devices.
> 
> 1) Do a btrfs device scan before trying to mount.
> 
> 2) Name the component devices in the mount options, using the device=
> option (multiple times as necessary to list all devices).
> 
Option 2 was to simplest to check and that works. Thanks for the tip!
Still weird that my single devide SSD BTRFS bootdisk just worked fine 
(althought it's using the uuid offcourse)...But it would imply to me that 
there's a btrfs device scan run before mounting it.
Before I created the RAID5 I just had the four disks configures as JBOD in 
btrfs (I used partitions that time though) and mounted it just fine with the 
LABEL only, so it might be something with RAID5.

Anyway it's working now with just a much longer fstab line ;)

Cheers,
Sjoerd

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