btrfs with multiple subvolumes in one partition

Christoph Pleger Christoph.Pleger at cs.tu-dortmund.de
Wed Dec 7 14:38:12 CET 2022


Hello,

> I believe that it is a better solution to let setup-storage create
> btrfs subvolumes in the same order as they occur in the config file
> (leaving the responsibility to define a correct order to the user).
> Unfortunately, I do not know how to do that.


It seems to me that the problem already occurs in the parser. At least,
when setup-storage succeeds with my config file, @root is the first
listed btrfs subvolume in the %FAI::configs part of my log file, while
one of the other two is listed first when setup-storage fails.
Surprisingly, the numbering of the subvolumes is correct in every run
of setup-storage; @root has 0, @root/var has 1 und @root/usr has 2. But
somehow the order in which the subvolumes are handled by the parser
does not follow the numbering order. Does anyone know why this is the
case?

Regards
  Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20221207/574e3707/attachment.sig>


More information about the linux-fai mailing list