Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2022 17:28:55 -0700
From:      Chuck Tuffli <chuck@tuffli.net>
To:        Xavier Humbert <xavier@xavierhumbert.net>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: Adding storage to a guest
Message-ID:  <CAM0tzX0hF%2BxLm7nesubwe80gztHtkk8%2BF2vyFT8EYcTcbMzF3Q@mail.gmail.com>
In-Reply-To: <18a545f8-6851-cf15-e2f3-1c2d31437090@xavierhumbert.net>
References:  <18a545f8-6851-cf15-e2f3-1c2d31437090@xavierhumbert.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0tzX0hF%2BxLm7nesubwe80gztHtkk8%2BF2vyFT8EYcTcbMzF3Q>