Skip to content

unable to create CT #244

Description

@bryce-hoehn

Another weird path error I encountered. Trying to make a new CT using the NixOS LXC image gave the following error:

Formatting '/var/lib/vz/images/106/vm-106-disk-0.raw', fmt=raw size=8589934592 preallocation=off
TASK ERROR: unable to create CT 106 - command 'mkfs.ext4 -O mmp -E 'root_owner=100000:100000' /var/lib/vz/images/106/vm-106-disk-0.raw' failed: open3: exec of mkfs.ext4 -O mmp -E root_owner=100000:100000 /var/lib/vz/images/106/vm-106-disk-0.raw failed: No such file or directory at /nix/store/z9n8janax3c423gfch25r30823cr2sfg-perl-5.40.0-env/lib/perl5/site_perl/5.40.0/PVE/Tools.pm line 434

I'm wondering if it has anything to do with the fact that the host is running btrfs but the container is trying to use ext4. I didn't see any option to make the CT use btrfs though.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions