Unable to create container

Hello,

i’m unable to create container showing the below error.

root@cpu-xxxx:/var/lib/lxd/containers# lxc launch images:debian/buster test
Creating test
Error: Failed instance creation: Create instance: Create instance: Invalid devices: Failed detecting root disk device: No root device could be found

I googled and could see that adding profile will fix the issue. But it shows already exists. Any help would be much appreciated.

Thanks
Sujai

Please can you show the output of

lxc profile show default

Hello Thomas,

Thank you for the response.

lxc profile show default
config: {}
description: Default LXD profile
devices:
  eth0:
    nictype: bridged
    parent: lxdbr0
    type: nic
  root:
    path: /
    pool: default
    type: disk
name: default
used_by:

Thank you
Sujai

OK so that shows that the root disk device is using the pool ‘default’, which should be fine.

What version of LXD are you running, and can you show me the output of:

lxc storage show default

Hello Thomas,

I’m using lxd version 3.19.

# lxd version
3.19
# lxc version
Client version: 3.19
Server version: 3.19
# lxc storage show default
config:
  source: default
  volatile.initial_source: /dev/md4
  zfs.pool_name: default
description: ""
name: default
driver: zfs

Thank you
Sujai

Are you using projects by the way?

Hello Thomas,

No, this is a production server.

Thank you
Sujai