[Bug 260280] growing gpt partion
Date: Wed, 08 Dec 2021 21:46:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260280
Bug ID: 260280
Summary: growing gpt partion
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Documentation
Assignee: doc@FreeBSD.org
Reporter: sharky@schaack.io
Hey,
I tried two expand a gpt partition , but I could not get it working with the
solution from the handbook.
https://people.freebsd.org/~rodrigc/doc/handbook/disks-growing.html
The last step
sharky@freebsd:~ $ sudo growfs /dev/ada0p4
It's strongly recommended to make a backup before growing the file system.
OK to grow filesystem on /dev/ada0p4 from 4.0GB to 47GB? [yes/no] Yes
growfs: /dev/ada0p4: Operation not permitted
What works is this command.
growfs /dev/gpt/rootfs
sharky@freebsd:~ $ sudo growfs /dev/gpt/rootfs
Device is mounted read-write; resizing will result in temporary write
suspension for /.
It's strongly recommended to make a backup before growing the file system.
OK to grow filesystem on /dev/gpt/rootfs, mounted on /, from 4.0GB to 47GB?
[yes/no] yes
super-block backups (for fsck_ffs -b #) at:
8979008, 10261696, 11544384, 12827072, 14109760, 15392448, 16675136, 17957824,
19240512, 20523200, 21805888, 23088576,
24371264, 25653952, 26936640, 28219328, 29502016, 30784704, 32067392,
33350080, 34632768, 35915456, 37198144, 38480832,
39763520, 41046208, 42328896, 43611584, 44894272, 46176960, 47459648,
48742336, 50025024, 51307712, 52590400, 53873088,
55155776, 56438464, 57721152, 59003840, 60286528, 61569216, 62851904,
64134592, 65417280, 66699968, 67982656, 69265344,
70548032, 71830720, 73113408, 74396096, 75678784, 76961472, 78244160,
79526848, 80809536, 82092224, 83374912, 84657600,
85940288, 87222976, 88505664, 89788352, 91071040, 92353728, 93636416,
94919104, 96201792, 97484480
I think this should be changed.
best regards, sebastian
--
You are receiving this mail because:
You are the assignee for the bug.