Re: Adding storage to a guest

From: Chuck Tuffli <chuck_at_tuffli.net>
Date: Thu, 17 Mar 2022 00:28:55 UTC
On Sun, Mar 13, 2022 at 5:36 AM Xavier Humbert <xavier@xavierhumbert.net> wrote:
>
> Hi,
>
> I have a Ubuntu-server as guest on Byhve/FreeBDS 13
>
> I tried to add some extra storage, so added
>
> disk2_dev="custom"
> disk2_opts="sectorsize=512"
> disk2_type="virtio-blk"
> disk2_name="disk2.img"
>
> to the config file. Unfortunately, it doesn't show under /dev/vda* in
> the guest.
>
> Where is my mistake ?

Looking at my configurations, they typically don't set disk*_dev
unless the device is a sparse-zvol. If disk2.img is a regular file,
does removing the disk2_dev line help?

--chuck