Upgrading Boot Loader
Tim Gustafson
tjg at soe.ucsc.edu
Mon Aug 2 19:29:42 UTC 2010
> 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 at soe.ucsc.edu
831-459-5354
-------------- next part --------------
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
More information about the freebsd-questions
mailing list