Date: Thu, 08 Mar 2018 13:45:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-geom@FreeBSD.org Subject: [Bug 220391] "gpart resize" = panic Message-ID: <bug-220391-14739-Ou7j2TSCCU@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220391-14739@https.bugs.freebsd.org/bugzilla/> References: <bug-220391-14739@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220391 James Qin <jqin@itti.pw> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jqin@itti.pw --- Comment #4 from James Qin <jqin@itti.pw> --- (In reply to Mariusz Zaborski from comment #3) I hit this bug as well, trying to resize da0p2 of a secondary disk that has= 3 partitions. Maybe I could answer your questions to help reproduce the error. - What is your root? (It was da3p5?) # my root is on another disk - Was da3p5 mounted? # the partition I tried to resize wasn't mounted - da3p5 was clean or there was a UFS there? (Did you do newfs before resize= ?) # newfs was ran on all the partitions on this disk before resize (freebsd-u= fs) - How much data you had on da3p5? # the resize partition is new and empty with 50G of space $ sudo gpart resize -i 2 -a 1M -s 25G da0 After kernel panic and rebooted manually, gpart in my case is showing resize was completed. gpart show da0 =3D> 40 625142368 da0 GPT (298G) 40 2008 - free - (1.0M) 2048 209715200 1 freebsd-ufs (100G) 209717248 52428800 2 freebsd-ufs (25G) 262146048 52428800 - free - (25G) 314574848 310566912 3 freebsd-ufs (148G) 625141760 648 - free - (324K) I hope this helps. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220391-14739-Ou7j2TSCCU>