Hi,
how do I replace my "raw-labels" with GPT labels?
for ada0p3 I have the label "disk0":
but below /dev I have no "gpt" directory. So when I use this with zfs replace:
how do I replace my "raw-labels" with GPT labels?
Code:
# zpool status
pool: zroot
state: ONLINE
scan: scrub repaired 0 in 0h9m with 0 errors on Thu Jan 31 08:52:09 2013
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
errors: No known data errors
#
for ada0p3 I have the label "disk0":
Code:
3. Name: ada0p3
Mediasize: 995909818880 (927G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 82944
Mode: r1w1e1
rawuuid: 52ab6e74-d988-11e0-b15c-90e6baccba76
rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
label: disk0
length: 995909818880
offset: 4295050240
type: freebsd-zfs
index: 3
end: 1953525134
start: 8388770
but below /dev I have no "gpt" directory. So when I use this with zfs replace:
Code:
# zpool replace zroot ada0p3 gpt/disk0
cannot open 'gpt/disk0': no such GEOM provider
must be a full path or shorthand device name
#