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

Re: btrfs install over an existing rootfs

On 04/21/2014 03:23 PM, Gene Czarcinski wrote:
Not all directory trees are created equal and anaconda requires that the
directory tree (partition) for the rootfs (that is "/") must be either
new or reformatted.  This works for regular partitions and the LVMLVs.
However, there is no real concept of "reformatting" an existing btrfs

This applies to kickstart only as the regular gui/text installers handle
the situation already.

Proposal: Add code to implement a new feature for btrfs subvolumes which
will implement the equivalent of reformatting.  This equivalent will
consist of deleting the subvolume and then recreating it.

As I originally implemented this I added a new operand to the btrfs
command for a subvolume: --reclaim
[This involves a small patch to pykickstart]

While I considered using and existing operand in some fashion, I believe
that the "safe" approach is to require the user to specify this new
operand is the intent is to reclaim the subvolume's name and then reuse it.


You can already do this by simply creating a new subvolume for the root filesystem. There is no reason to spend more time on this.



Anaconda-devel-list mailing list
Anaconda-devel-list redhat com

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