From nobody Thu Mar 17 00:28:55 2022 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8AD5F1A22452 for ; Thu, 17 Mar 2022 00:29:15 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KJp160B9Wz3CV8 for ; Thu, 17 Mar 2022 00:29:13 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-yb1-xb2f.google.com with SMTP id u3so7447931ybh.5 for ; Wed, 16 Mar 2022 17:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x2lwm1zNWUv8O4+tXT2iae6JlHK0mNTEhXMq1JQnMII=; b=lYhfqQYMPj3b05HWwxAKRsBUKGQ4vhvkqHZxxBv3eS6NaenTaIN4DOY/E46EQ4PBbs OyGZFlBjvrM4RzML6UOJm0+H6TszYVXsXoowubx7QN0xRc4/lopJIrGcnUtwGvZ5Z04R ZjZIN43ZmBTlfBeWeqTnkoshI5pFydGFzKITJU+qhtyQYWtHlXgFLXuByimfBFHGNm86 u9H5OFk0xJ/BdCQO9vvKfX2ITFfj2bMVnAbZLjRqboC1dsPAv7+D4GdYgfrmCkXQknjY tCGRh+Dj/U4xgFau4R5I8wqdbHZ/bc0rzNZV+ycjsSzGTtvt6lyK9LbMo0wx60BZSmDS 6vVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x2lwm1zNWUv8O4+tXT2iae6JlHK0mNTEhXMq1JQnMII=; b=3wbwXhFtz3UOZfW3YJXgwJUdif7lQYDOaGUg7rUEft0tDkMt775uEPSvVWbFglPmj0 NDeXhV7QelAmQOouT2XKxRhSclYPQj+enfsG4NA4a6SlTLAnX09+wL6MOJ6n/kpjKwPc uN/AGl/rQBu9U33nhWma4yjqa2GuA/qmvnkEEJbVgbklNczYfZJyM0XOrOku/CoBEows 7rv1EDBXNV2Wu6TF2JBJaT1CRz4CFcTtUqX8psBdM51FKSeor7tMmGhFoA1DSMTiys99 0g0EnJrkDtxU0mlrcZXAOr/9dc7sjYiqhiMft8xQ8OBAN/4hgpwb3ALrjLYD1PUXsAau WfeQ== X-Gm-Message-State: AOAM530F29H/MLNr+z8A3wPWH0Qnrfz7vsdHkWvicEJ47kejSfrmxsrf uAo5g+01yNYUPxoIojgKEw5VfiQjSAYf9BU4IoiK2j/fxQo= X-Google-Smtp-Source: ABdhPJx/1Hqzb/161bXijbK+RHlfrPyO9180ks7GGxKBbFWUV3RW8oiyo0mss0TYfnTnmH2unVQ1OHGmd4fR+X7E4E4= X-Received: by 2002:a5b:986:0:b0:628:7e0a:c14c with SMTP id c6-20020a5b0986000000b006287e0ac14cmr2736973ybq.240.1647476946424; Wed, 16 Mar 2022 17:29:06 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: <18a545f8-6851-cf15-e2f3-1c2d31437090@xavierhumbert.net> In-Reply-To: <18a545f8-6851-cf15-e2f3-1c2d31437090@xavierhumbert.net> From: Chuck Tuffli Date: Wed, 16 Mar 2022 17:28:55 -0700 Message-ID: Subject: Re: Adding storage to a guest To: Xavier Humbert Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KJp160B9Wz3CV8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tuffli-net.20210112.gappssmtp.com header.s=20210112 header.b=lYhfqQYM; dmarc=none; spf=permerror (mx1.freebsd.org: domain of chuck@tuffli.net uses mechanism not recognized by this client) smtp.mailfrom=chuck@tuffli.net X-Spamd-Result: default: False [-3.30 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tuffli-net.20210112.gappssmtp.com:s=20210112]; FREEFALL_USER(0.00)[chuck]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; DMARC_NA(0.00)[tuffli.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[tuffli-net.20210112.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2f:from]; R_SPF_PERMFAIL(0.00)[empty SPF record]; MLMMJ_DEST(0.00)[freebsd-virtualization]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Mar 13, 2022 at 5:36 AM Xavier Humbert 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