This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

ZFS: GPT label statt adaX ?

German community

Moderators: b0ssman, apollo567, Princo, crowi

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

ZFS: GPT label statt adaX ?

Post 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
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

Post Reply

Return to “Deutsch”