bluerider / liveroot

Initcpio hooks for overlayfs ontop of root
BSD 3-Clause "New" or "Revised" License
79 stars 13 forks source link

Cannot delete files in oroot=compress,live #10

Closed bluerider closed 9 years ago

bluerider commented 9 years ago

There is an issue deleting files on oroot=compressed,live that already exist on the original file system. I'm not 100% sure, but it may be due to take a read write snapshot of a send read only snapshot with btrfs.

bluerider commented 9 years ago

Note, this only affects when running the btrfs branch of liveroot

bluerider commented 9 years ago

Note, this seems to just affect oroot=compressed

bluerider commented 9 years ago

Fixed in commit dbb25f45f58fe197e5334804582888f808e03589

bluerider commented 9 years ago

This issue still exists in the compiler and the btrfs branch. There seems to be an issue when moving files using a btrfs zram device with a btrfs backing device

bluerider commented 9 years ago

When using break=postmount in the kernel cmdline, folders and files can be created in /new_root. However, folder cannot be moved around. This is probably something wrong with stacking btrfs and overlayfs.

bluerider commented 9 years ago

This is an inherent limitation in overlayfs. Ext{2,4} and tmpfs do not suffer from this issue in overlayfs from my testing.

bluerider commented 9 years ago

Fixed in 623ec9e5c2e1004be6711d7483001673f35b8163