Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 02:46:46 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-stable@freebsd.org
Subject:   trying to expand a zvol-backed bhyve guest which is UFS
Message-ID:  <20190520014645.GC6971@rpi3.zyxst.net>

next in thread | raw e-mail | index | archive | help

--CblX+4bnyfN0pR09
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

context is 12-stable, zfs, bhyve

I have a zvol-backed bhyve guest. Its zvol size was initially 512GB
It needed to be expanded to 4TB. That worked fine.

The problem is the freebsd guest is UFS and I can't seem to make it see
the new size. But zfs list -o size on the host shows that as far as zfs is
concerned, it's 4TB

On the guest, I've tried running growfs / but it says requested size is
the same as the size it already is (508GB)

gpart show on the guest has the following

# gpart show
=3D>        63  4294967232  vtbd0  MBR  (4.0T)
          63           1         - free -  (512B)
          64  4294967216      1  freebsd  [active]  (2.0T)
         4294967280          15         - free -  (7.5K)

=3D>         0  4294967216  vtbd0s1  BSD  (2.0T)
           0  1065353216        1  freebsd-ufs (508G)
  1065353216     8388544        2  freebsd-swap  (4.0G)
  1073741760  3221225456               - free -  (1.5T)

I'm not understanding the double output, or why growfs hasn't worked on
the guest ufs. Can anyone help please?

thanks,
--=20
J.

--CblX+4bnyfN0pR09
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAlziBvcACgkQs8o7QhFz
NAU6uBAApPufGj/DyuPRZxs5gnX8AuOBtDGLIzLzq5Vww/8EaGoJTTn+F2wpel5E
+AhiA6+qzbYPlzrMe1bILZr6bVFrGViiWg1eo96GdrPKSQPoasOdRC1eIlfgl3VV
d8kUXB5LE40Vb5j51azj1NKvOVvThdtnlZV39JuObQqcgZIIyJI/Epsu3UgPAGf6
kcJa1nA8DUYh8LeJDhoa4lqHCkppXCxawQxrRmZ22IwMtAH3IvuZfhQqJ7wwMgJu
UFXLQhYN/JTYjNgJW6MswyS4ImLCJ/vFrmaIT1VwRPlxDd503vsmV9p7mDJW2Cyv
woI7vWyXxMh4ecmv4/NK5WdlsJnpYa+pZiQUY4Q0y+jSFZgAhBlnkFgT3wC8btcd
WcDUalHpEwu3GMZLyFeDbayYfqMfA0BRzNQkGhy1uIB7rERIwnNKbUKLJwJTDsd6
8Yc1JtnQMWPAJyR/7BT7lRoPZtX7yD+/YSlua345PUNYUgyXlL+CeIZcZcW+FhX+
RSlFXzfaOWS0iFKhYe7xNvNF/Q/GHCXIYiw3bom7CtBKkjVGbghZRijx0edO5GDy
cWewZNhwbyq/zw2s3GlGhwhcoJWYB23ydjpQ6Zf+GFk8bN6vYNj7PbGERHAAHiEa
46QeZIMumjH1wBEmRG/D7z+LzIh+I/bJQ4M+JO85AFz+6yl5UVo=
=/0UD
-----END PGP SIGNATURE-----

--CblX+4bnyfN0pR09--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190520014645.GC6971>