Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2010 12:29:41 -0700 (PDT)
From:      Tim Gustafson <tjg@soe.ucsc.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        Volodymyr Kostyrko <c.kworr@gmail.com>
Subject:   Re: Upgrading Boot Loader
Message-ID:  <1484128131.118691280777381885.JavaMail.root@mail-01.cse.ucsc.edu>
In-Reply-To: <118730593.118671280777368624.JavaMail.root@mail-01.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_2038_791259765.1280777381883
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

> PS: I've just recently changed my mind and moved from dedicated
> vdevs to gpart. This gives possibility of:
> 1. Having raw swap partition suitable for swapping/dumping.
> 2. Updating bootcode online without loosing uptime.
> Just in expense of some kilobytes of disk space.

I too am using gpart to partition the drives: ad8 and ad10 are partitioned using gpart.  I'm attaching the output of "gpart list" to this e-mail.  Is there an easier/better way to upgrade the boot loader with gpart partitions?

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
tjg@soe.ucsc.edu
831-459-5354
------=_Part_2038_791259765.1280777381883
Content-Type: text/plain; name=gpart.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=gpart.txt

Geom name: ad8
fwheads: 16
fwsectors: 63
last: 1953525134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ad8p1
   Mediasize: 65536 (64K)
   Sectorsize: 512
   Mode: r0w0e0
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: (null)
   length: 65536
   offset: 17408
   type: freebsd-boot
   index: 1
   end: 161
   start: 34
2. Name: ad8p2
   Mediasize: 17179869184 (16G)
   Sectorsize: 512
   Mode: r1w1e1
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 17179869184
   offset: 82944
   type: freebsd-swap
   index: 2
   end: 33554593
   start: 162
3. Name: ad8p3
   Mediasize: 983024916992 (916G)
   Sectorsize: 512
   Mode: r1w1e1
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 983024916992
   offset: 17179952128
   type: freebsd-zfs
   index: 3
   end: 1953525134
   start: 33554594
Consumers:
1. Name: ad8
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Mode: r2w2e4

Geom name: ad10
fwheads: 16
fwsectors: 63
last: 1953525134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ad10p1
   Mediasize: 65536 (64K)
   Sectorsize: 512
   Mode: r0w0e0
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: (null)
   length: 65536
   offset: 17408
   type: freebsd-boot
   index: 1
   end: 161
   start: 34
2. Name: ad10p2
   Mediasize: 17179869184 (16G)
   Sectorsize: 512
   Mode: r0w0e0
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 17179869184
   offset: 82944
   type: freebsd-swap
   index: 2
   end: 33554593
   start: 162
3. Name: ad10p3
   Mediasize: 983024916992 (916G)
   Sectorsize: 512
   Mode: r1w1e1
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 983024916992
   offset: 17179952128
   type: freebsd-zfs
   index: 3
   end: 1953525134
   start: 33554594
Consumers:
1. Name: ad10
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Mode: r1w1e2


------=_Part_2038_791259765.1280777381883--



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