Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2019 19:37:45 +0100
From:      Egoitz Aurrekoetxea <egoitz@sarenet.es>
To:        freebsd-geom@freebsd.org
Subject:   Geom strange errors when resizing gpt partition
Message-ID:  <743d2b6a3cd56cb5f3e4d91edbea75f4@sarenet.es>

next in thread | raw e-mail | index | archive | help
Good afternoon, 

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?. 

Best regards, 

Best regards, 

-- 

EGOITZ AURREKOETXEA 
Departamento de sistemas 
944 209 470
Parque Tecnológico. Edificio 103
48170 Zamudio (Bizkaia) 
egoitz@sarenet.es 
www.sarenet.es [1] 
Antes de imprimir este correo electrónico piense si es necesario
hacerlo. 

Links:
------
[1] http://www.sarenet.es
From owner-freebsd-geom@freebsd.org  Fri Feb  8 09:01:49 2019
Return-Path: <owner-freebsd-geom@freebsd.org>
Delivered-To: freebsd-geom@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25E8214D910E
 for <freebsd-geom@mailman.ysv.freebsd.org>;
 Fri,  8 Feb 2019 09:01:48 +0000 (UTC)
 (envelope-from egoitz@sarenet.es)
Received: from cu01176b.smtpx.saremail.com (cu01176b.smtpx.saremail.com
 [195.16.151.151])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 84E6170511
 for <freebsd-geom@freebsd.org>; Fri,  8 Feb 2019 09:01:46 +0000 (UTC)
 (envelope-from egoitz@sarenet.es)
Received: from www.saremail.com (unknown [194.30.0.183])
 by proxypop01.sare.net (Postfix) with ESMTPA id 50E1C9DCB80
 for <freebsd-geom@freebsd.org>; Fri,  8 Feb 2019 10:01:43 +0100 (CET)
MIME-Version: 1.0
Date: Fri, 08 Feb 2019 10:01:22 +0100
From: Egoitz Aurrekoetxea <egoitz@sarenet.es>
To: Freebsd geom <freebsd-geom@freebsd.org>
Subject: Fwd: Re: Geom strange errors when resizing gpt partition
Organization: Sarenet S.A.U.
Reply-To: egoitz@sarenet.es
Mail-Reply-To: egoitz@sarenet.es
In-Reply-To: <2c5618d5df2f0a8f947819a50fdca376@sarenet.es>
References: <743d2b6a3cd56cb5f3e4d91edbea75f4@sarenet.es>
 <af825c6fa02a8a7449dfcff9b4ca4fff@sarenet.es>
 <2c5618d5df2f0a8f947819a50fdca376@sarenet.es>
Message-ID: <70445b27e400858a54bb6a7fe7f8b48c@sarenet.es>
X-Sender: egoitz@sarenet.es
User-Agent: Saremail webmail
X-Rspamd-Queue-Id: 84E6170511
X-Spamd-Bar: ------
Authentication-Results: mx1.freebsd.org;
 dmarc=pass (policy=none) header.from=sarenet.es;
 spf=pass (mx1.freebsd.org: domain of egoitz@sarenet.es designates
 195.16.151.151 as permitted sender) smtp.mailfrom=egoitz@sarenet.es
X-Spamd-Result: default: False [-6.63 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
 HAS_REPLYTO(0.00)[egoitz@sarenet.es]; XM_UA_NO_VERSION(0.01)[];
 R_SPF_ALLOW(-0.20)[+ip4:195.16.150.0/23];
 HAS_ATTACHMENT(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[];
 HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[];
 MX_GOOD(-0.01)[cached: smtp.sarenet.es];
 DMARC_POLICY_ALLOW(-0.50)[sarenet.es,none];
 NEURAL_HAM_SHORT(-0.95)[-0.948,0]; FROM_EQ_ENVFROM(0.00)[];
 RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[];
 ASN(0.00)[asn:3262, ipnet:195.16.128.0/19, country:ES];
 MIME_TRACE(0.00)[0:+,1:+,2:+]; MID_RHS_MATCH_FROM(0.00)[];
 ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[multipart/mixed,multipart/alternative,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-geom@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1];
 IP_SCORE(-2.88)[ip: (-8.04), ipnet: 195.16.128.0/19(-3.56), asn: 3262(-2.85),
 country: ES(0.05)]; 
 RCVD_IN_DNSWL_NONE(0.00)[151.151.16.195.list.dnswl.org : 127.0.10.0];
 RCVD_COUNT_TWO(0.00)[2]
X-Mailman-Approved-At: Fri, 08 Feb 2019 11:39:34 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: freebsd-geom@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: GEOM-specific discussions and implementations
 <freebsd-geom.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-geom>,
 <mailto:freebsd-geom-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-geom/>;
List-Post: <mailto:freebsd-geom@freebsd.org>
List-Help: <mailto:freebsd-geom-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-geom>,
 <mailto:freebsd-geom-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Feb 2019 09:01:49 -0000

 

I attach the errors shown... 

Thanks a lot!!

---

EGOITZ AURREKOETXEA 
Departamento de sistemas 
944 209 470
Parque Tecnológico. Edificio 103
48170 Zamudio (Bizkaia) 
egoitz@sarenet.es 
www.sarenet.es [1] 
Antes de imprimir este correo electrónico piense si es necesario
hacerlo. 

El 07-02-2019 19:50, Egoitz Aurrekoetxea escribió:

> Good afternoon, 
> 
> 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?. 
> 
> Best regards, 
> 
> Best regards, 
> 
> -- 
> 
> EGOITZ AURREKOETXEA 
> Departamento de sistemas 
> 944 209 470
> Parque Tecnológico. Edificio 103
> 48170 Zamudio (Bizkaia) 
> egoitz@sarenet.es 
> www.sarenet.es [1] 
> Antes de imprimir este correo electrónico piense si es necesario hacerlo.
 

Links:
------
[1] http://www.sarenet.es
From owner-freebsd-geom@freebsd.org  Fri Feb  8 18:59:10 2019
Return-Path: <owner-freebsd-geom@freebsd.org>
Delivered-To: freebsd-geom@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5359B14BBDD5
 for <freebsd-geom@mailman.ysv.freebsd.org>;
 Fri,  8 Feb 2019 18:59:10 +0000 (UTC)
 (envelope-from harry@yewbarrow.net)
Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com
 [IPv6:2607:f8b0:4864:20::b35])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 0B30B8E6DC
 for <freebsd-geom@freebsd.org>; Fri,  8 Feb 2019 18:59:08 +0000 (UTC)
 (envelope-from harry@yewbarrow.net)
Received: by mail-yb1-xb35.google.com with SMTP id k189so1811540yba.11
 for <freebsd-geom@freebsd.org>; Fri, 08 Feb 2019 10:59:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=yewbarrow-net.20150623.gappssmtp.com; s=20150623;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=UcjL7+GYj5juA6LxniK1wXE+5iZAJe6bo/KYbsCZC7g=;
 b=N6Xv0p4lh6R9gipwbppzOwglZrrrG3lRRULqOuchXvmFN2wCfsUtz0CEKezzMTA2Is
 pFZ8WxpAmwgo03KV8fbX12IV7jUOyogVVK996mMnFO63ANG7/3xchhnpyjd9PKCgXksu
 f8Su6B2tgOEuHE9cgQN2XhEJovEjGwdRApkyyxUOKOPqJ6BeX7VIyvDfjQAy4AN3SMVM
 Jpa73BbB1WymqOB3P1XsGP91w3d9Zg/APMExmZSEeBITg4XjaGKoJpJOkbHv+/oVDgjY
 oLqXhA0UjExwW/LyQ3PDe8H2PRdMCn7iMIupbUqOcNT509l+B3jJQcBPdrtEiH22ihW6
 v0pw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=UcjL7+GYj5juA6LxniK1wXE+5iZAJe6bo/KYbsCZC7g=;
 b=igluoNuWDJqNkqBK5+ROdUu/gHki7OjLuGfqpEDDG1S9++mTi9zc8/kiyBuxolbf3S
 LNPjMqk+/X/0Y+z8HffjT9WvkkKFzntu/RPlXqJm6vp4wBXJJJXDEyPtvJC5TwJwPU9O
 sHI4GQI5qAizRmdyHHtKnMd76su6aD07q8OsY/Ba8ZFTbIj40ykj9Qre5g4ujSGsvNHB
 icKR+K5hZF/pBsDkbLCYwjVCKisGgqSgyj6Qc5298MaAJoPbYhZgSKuIJEpCP8gRF8Jx
 6Qp8Lw/gN49lyf04f5pDv3wyN8zhkOT0fqPQZ3IzcV7Ry1lEDkJzQ8bmPBTriTMK0Dmh
 f2Kw==
X-Gm-Message-State: AHQUAubdDQ8Ue/JDlukAGBR9Fbjye8fMWq7aMrL3e10JhTKub/IG3qP0
 xC8b5ZD4LdpWsKpHMaAtQc9xQwS0vs23OnjUhNt2Ac/nEKQ=
X-Google-Smtp-Source: AHgI3IbDOutB/eXk0XBLnzmzyIUfVSvzUtATSXIMshIsAIeQdeVWRapLPv5GjdQtXAcWB2415//yPwPxGqlSA97pSXw=
X-Received: by 2002:a25:bd54:: with SMTP id p20mr9352296ybm.481.1549652348101; 
 Fri, 08 Feb 2019 10:59:08 -0800 (PST)
MIME-Version: 1.0
References: <CAKAm69H4nEVgCo06BPP8dEDkNQUMJKaYBhYmvMRXNii1NXZmkw@mail.gmail.com>
 <20190207142545.GA44858@in-addr.com>
In-Reply-To: <20190207142545.GA44858@in-addr.com>
From: Harry Newton <harry@yewbarrow.net>
Date: Fri, 8 Feb 2019 18:58:56 +0000
Message-ID: <CAKAm69EusDQzf+VWipfjnPxDHL3-NiRLpTPGjFuCdBMENnkwrg@mail.gmail.com>
Subject: Re: geom_linux_lvm
To: Gary Palmer <gpalmer@freebsd.org>
Cc: freebsd-geom@freebsd.org
X-Rspamd-Queue-Id: 0B30B8E6DC
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=yewbarrow-net.20150623.gappssmtp.com header.s=20150623
 header.b=N6Xv0p4l
X-Spamd-Result: default: False [-6.00 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-0.999,0];
 R_DKIM_ALLOW(-0.20)[yewbarrow-net.20150623.gappssmtp.com:s=20150623];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-geom@freebsd.org];
 DMARC_NA(0.00)[yewbarrow.net]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 MX_GOOD(-0.01)[ASPMX.L.GOOGLE.COM,ALT2.ASPMX.L.GOOGLE.COM,ASPMX5.GOOGLEMAIL.COM,ALT1.ASPMX.L.GOOGLE.COM,ASPMX4.GOOGLEMAIL.COM,ASPMX2.GOOGLEMAIL.COM,ASPMX3.GOOGLEMAIL.COM];
 DKIM_TRACE(0.00)[yewbarrow-net.20150623.gappssmtp.com:+];
 RCPT_COUNT_TWO(0.00)[2];
 RCVD_IN_DNSWL_NONE(0.00)[5.3.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org
 : 127.0.5.0]; R_SPF_NA(0.00)[];
 NEURAL_HAM_SHORT(-0.88)[-0.883,0]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 RCVD_COUNT_TWO(0.00)[2];
 IP_SCORE(-2.80)[ip: (-9.55), ipnet: 2607:f8b0::/32(-2.45), asn: 15169(-1.95),
 country: US(-0.07)]
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: freebsd-geom@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: GEOM-specific discussions and implementations
 <freebsd-geom.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-geom>,
 <mailto:freebsd-geom-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-geom/>;
List-Post: <mailto:freebsd-geom@freebsd.org>
List-Help: <mailto:freebsd-geom-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-geom>,
 <mailto:freebsd-geom-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Feb 2019 18:59:10 -0000

 Name Status Components
da0p1     OK da0

and the same for da1.


On Thu, 7 Feb 2019 at 14:25, Gary Palmer <gpalmer@freebsd.org> wrote:

> On Thu, Feb 07, 2019 at 05:36:03AM +0000, Harry Newton wrote:
> > Trying to read a Linux raid array ( as per
> > https://wiki.archlinux.org/index.php/Software_RAID_and_LVM ) which I can
> > read perfectly well on a couple of Linux boxes.  geom_linux_lvm.ko
> loaded,
> > but:
> >
> >   geom linux_lvm list
> >   geom linux_lvm status
> >
> > return nothing.  kern.geom.debugflags=16 and
> kern.geom.linux_lvm.debug=16,
> > but *nothing* in logs.  No /dev/linux_lvm/ entries appear, though the two
> > component disks appear as /dev/da0 and /dev/da1.
> >
> > Suspect I maybe missing something obvious: any ideas where I can start
> > debugging this ?
>
> Unless I'm missing something (not a big Linux user), LVM is normally
> as a partition on the disks, not the whole disk.  Do the disk
> partitions show up or just the whole disks?  What does
>
> gpart show da0
> gpart show da1
>
> return?
>
> Gary
>
>

-- 
Harry Newton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?743d2b6a3cd56cb5f3e4d91edbea75f4>