Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2019 09:42:12 -0700
From:      Gary Aitken <ah@dreamchaser.org>
To:        egoitz@sarenet.es, freebsd-questions@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: Geom strange errors when resizing gpt partition
Message-ID:  <e3b37d45-1a2a-b5e5-d15b-c18545b83230@dreamchaser.org>
In-Reply-To: <af825c6fa02a8a7449dfcff9b4ca4fff@sarenet.es>
References:  <743d2b6a3cd56cb5f3e4d91edbea75f4@sarenet.es> <af825c6fa02a8a7449dfcff9b4ca4fff@sarenet.es>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e3b37d45-1a2a-b5e5-d15b-c18545b83230>