You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the shell script run.sh, I get the following error from the section that is resizing my Cloud9 instance's partition:
CHANGED: partition=1 start=24576 old: size=20946911 end=20971487 new: size=104832991 end=104857567
resize2fs 1.46.5 (30-Dec-2021)
resize2fs: Bad magic number in super-block while trying to open /dev/nvme0n1p1
Couldn't find valid filesystem superblock.
Time taken to resize EBS Volume: 7 seconds
This seems to be related to the command used to grow the filesystem. Its using resize2fs, but it seems to need xfs_growfs
The script then continues on, but fails to deploy the CDK stack due to disk capacity.
Expected Behavior
I'm able to run run.sh to set up Lab 2.
Current Behavior
I get an error from run.sh, which prevents my system's partition from being resized successfully.
Possible Solution
Comparing to the Cloud9 documentation that includes a resize script, it seems like there's an additional check missing when validating the output of cat /etc/os-release, which may need to be adjusted to match the docs.
When running the shell script
run.sh
, I get the following error from the section that is resizing my Cloud9 instance's partition:This seems to be related to the command used to grow the filesystem. Its using
resize2fs
, but it seems to needxfs_growfs
The script then continues on, but fails to deploy the CDK stack due to disk capacity.
Expected Behavior
I'm able to run
run.sh
to set up Lab 2.Current Behavior
I get an error from
run.sh
, which prevents my system's partition from being resized successfully.Possible Solution
Comparing to the Cloud9 documentation that includes a resize script, it seems like there's an additional check missing when validating the output of
cat /etc/os-release
, which may need to be adjusted to match the docs.Docs are here:
https://docs.aws.amazon.com/cloud9/latest/user-guide/move-environment.html#move-environment-resize
Steps to Reproduce
Follow the steps in the workshop that instruct you to run
run.sh
:https://catalog.us-east-1.prod.workshops.aws/event/dashboard/en-US/workshop/pre-requisites/setting-up-cloud9
Context (Environment)
This is blocking me from walking through Lab 2 of the workshop.
The text was updated successfully, but these errors were encountered: