Geom strange errors when resizing gpt partition
Gary Aitken
ah at dreamchaser.org
Sat Feb 9 16:56:18 UTC 2019
On 2/7/19 11:50 AM, Egoitz Aurrekoetxea wrote:
> I recently resized a GEOM partition in FreeBSD 11.1. It was a vm, so I
> increased the disk size at hypervisor level, later did a gpart recover,
> gpart resize -i partition, and growfs -y...
>
> The disk was configured as :
>
> gpart show
> => 40 1048575920 ada0 GPT (500G)
> 40 1024 1 freebsd-boot (512K)
> 1064 8388608 2 freebsd-swap (4.0G)
> 8389672 1040186288 3 freebsd-ufs (496G)
>
> The 496GB partition was the only increased one (from 200 to 500). All it
> was done in a livecd of FreeBSD 11.2. I finally been able to with that
> steps to increase the partition, but I'm worried about some errors
> received :
>
> I think perhaps they could be just some surely to ignore erros as the
> steps given, are the ones described in Handbook (except sysctl
> kern.geom.debugflags=16) which I didn't launch because I was using a
> livecd and by the way a non mounted file system.
>
> Should I worry about them?. The server is working and the filesystems
> mounted...
>
> root at web01c:~ # gpart status
> Name Status Components
> ada0p1 OK ada0
> ada0p2 OK ada0
> ada0p3 OK ada0
>
> What do you think about it?.
On 2/9/19 4:03 AM, Egoitz Aurrekoetxea wrote:
> Hi Gary.
>
>
> I attach you the screenshot
> El 08-02-2019 23:42, Gary Aitken escribió:
>
>> On 2/8/19 1:59 AM, Egoitz Aurrekoetxea wrote:
>>> I attach the errors shown...
>>
>> There were no errors shown or attached on the message I received.
On 2/9/19 4:03 AM, Egoitz Aurrekoetxea wrote:
> I attach you the screenshot
Unfortunately, I don't know enough to be of any help here.
The screenshot shows messages of the form:
g_access(944): provider ufsid/xxxxx has error 6 set
followed by
g_access(944): provider gptid/yyyyy has error 6 set
and then
g_dev_taste: make_dev_p() failed (gp->name=gptid/yyyyy, error=17)
I don't know what this error 6 is and don't know anything about g_access;
but if it is from sys/errno.h that would be ENXIO, Device not configured.
I suspect it has something to do with running under the vm but that is a
wild guess.
I don't monitor the freebsd-geom mailing list but hopefully someone there
can assist.
Gary
More information about the freebsd-questions
mailing list