Page 1 of 1

ZFS: GPT label statt adaX ?

Posted: 08 May 2014 13:03
by crowi
Hallo Leute,

da mir gerade langweilig war und ich die Größe von ZIl / L2ARC anpassen und auf 4k alignen wollte, habe ich jetzt auf einmal ein GPT label statt einer adaX Bezeichnung.
Aber nur für mein log (eigentlich ada0p1) :-/

Code: Select all

  pool: Pool5x3TB
 state: ONLINE
  scan: scrub repaired 0 in 4h23m with 0 errors on Mon Apr 14 13:56:56 2014
config:

	NAME                                          STATE     READ WRITE CKSUM
	Pool5x3TB                                     ONLINE       0     0     0
	  raidz1-0                                    ONLINE       0     0     0
	    ada3                                      ONLINE       0     0     0
	    ada4                                      ONLINE       0     0     0
	    ada1                                      ONLINE       0     0     0
	    ada2                                      ONLINE       0     0     0
	    ada5                                      ONLINE       0     0     0
	logs
	  gptid/b4cbcacc-d695-11e3-8bdb-d050990a6382  ONLINE       0     0     0
	cache
	  ada0p2                                      ONLINE       0     0     0

errors: No known data errors
Was habe ich gemacht:
- zpool remove für log und cache
- gpart detroy -f ada0
- gpart create -s gpt ada0
- gpart add um zwei 4k partition (2GB log und 55GB cache) zu erzeugen
- gnop devices aus den partitionen erzeugt mit 4096er Ausrichtung
- die *.nops als log und cache zum Pool hinzugefügt
- den Pool exportiert
- gnop destroy durchgeführt für ada0p1 und ada0p2
- den Pool importiert...
Es läuft und tut, aber es sieht nicht schön aus. :(
Dafür habe ich jetzt endlich auf der SSD auch ein ashift 12 statt ashift 9 :)

Weiss jemand wie ich den GPT Label wieder weg bekomme?

Danke und Gruß,
Crowi