Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • emulab-devel emulab-devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 160
    • Issues 160
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • emulab
  • emulab-develemulab-devel
  • Issues
  • #310
Closed
Open
Created Jun 28, 2017 by Mike Hibler@hiblerMaintainer

Fix BSD slicefix on Linux images

If a Linux image root ext filesystem has the dir_index feature set, the FreeBSD based MFS can corrupt that filesystem. At least for the FreeBSD 9.x implementation of ext2fs. They added an experimental "htree" mechanism to implement this optimization and (according to a later commit that removed the feature) it can corrupt the filesystem "in undetermined circumstances."

I am still figuring out how long this has been a problem, and if it would be a problem with FreeBSD 10.x. It appears to have been exacerbated by my recent changes to slicefix to fix up /etc/ssh/sshd_config and the root authorized_keys file...at least that is what I thought. However, I can make it corrupt just by running sed -i on /etc/fstab and not even changing anything! sed creates a temporary file in /etc and that appears to be enough.

Edited Jun 28, 2017 by Mike Hibler
Assignee
Assign to
Time tracking