Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2023 11:26:41 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        FreeBSD Cloud <freebsd-cloud@FreeBSD.org>
Subject:   Resizing EBS with ZFS on AWS
Message-ID:  <9f04355d-4657-7781-0797-3518a164119d@ShaneWare.Biz>

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

I recently started an EC2 with the 14.0 ZFS AMI

After filling the drive, I expanded it, recovered the gpart partition
and expanded the partition and zpool size and kept going.

Then I saw that I would need more space, so I have expanded the EBS vol
again, while the EC2 was shutdown. This time the EC2 will not boot.

Using the EC2 console I get to...


nvme0: SET_FEATURES (09) sqid:0 cid:15 nsid:0 cdw10:0000000b cdw11:0000031f
nvme0: INVALID_FIELD (00/02) crd:0 m:1 dnr:0 p:1 sqid:0 cid:15 cdw0:0
nda0 at nvme0 bus 0 scbus0 target 0 lun 1
nda0: <Amazon Elastic Block Store 2.0 vol0f445f0597836b567>
nda0: Serial Number vol0f445f0597836b567
nda0: nvme version 1.4
nda0: 153600MB (314572800 512 byte sectors)
Trying to mount root from zfs:zroot/ROOT/default []...
Mounting from zfs:zroot/ROOT/default failed with error 2: unknown file
system.
GEOM: nda0: the secondary GPT header is not in the last LBA.


What can I do at mountroot> to recover gpart? or boot from here?

-- 
FreeBSD - the place to B...Serving Data

Shane Ambler




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9f04355d-4657-7781-0797-3518a164119d>