Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base: Run xfs_growfs after growpart #19

Merged
merged 1 commit into from
Sep 26, 2018
Merged

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Sep 26, 2018

@jlebon jlebon changed the title base: Run xfs_grow after growpart base: Run xfs_growfs after growpart Sep 26, 2018
@jlebon
Copy link
Member Author

jlebon commented Sep 26, 2018

[root@localhost ~]# journalctl -u coreos-growpart.service --no-pager
-- Logs begin at Wed 2018-09-26 20:43:08 UTC, end at Wed 2018-09-26 20:43:50 UTC. --
Sep 26 20:43:20 localhost.localdomain systemd[1]: Started coreos-growpart.service.
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]: CHANGED: partition=2 start=616448 old: size=16160768 end=16777216 new: size=26646495,end=27262943
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]: meta-data=/dev/vda2              isize=512    agcount=4, agsize=505024 blks
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]:          =                       sectsz=512   attr=2, projid32bit=1
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]:          =                       crc=1        finobt=1, sparse=0, rmapbt=0
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]:          =                       reflink=1
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]: data     =                       bsize=4096   blocks=2020096, imaxpct=25
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]:          =                       sunit=0      swidth=0 blks
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]: naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]: log      =internal log           bsize=4096   blocks=2560, version=2
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]:          =                       sectsz=512   sunit=0 blks, lazy-count=1
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]: realtime =none                   extsz=4096   blocks=0, rtextents=0
Sep 26 20:43:21 localhost.localdomain coreos-growpart[884]: data blocks changed from 2020096 to 3330811

@cgwalters
Copy link
Member

Hmm, there's gotta be a tool out there that's like "let me detect the filesystem type and grow it", but AFAICS today cloud-init at least hardcodes a mapping.

I am not sure how I overlooked this.

Anyways, LGTM.

@cgwalters cgwalters merged commit acb8132 into coreos:master Sep 26, 2018
jlebon added a commit to jlebon/os that referenced this pull request Sep 26, 2018
@dustymabe
Copy link
Member

there's gotta be a tool out there that's like "let me detect the filesystem type and grow it"

lvresize --resizefs does this really well, but LVM only of course.

@jlebon jlebon deleted the pr/xfs-grow branch July 4, 2019 21:55
c4rt0 pushed a commit to c4rt0/fedora-coreos-config that referenced this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants