Resizing EBS with ZFS on AWS
- Reply: Shane Ambler : "Re: Resizing EBS with ZFS on AWS"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Dec 2023 00:56:41 UTC
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