» »

reševanje zfs pool-a

reševanje zfs pool-a

Smrkc ::

Pred časom sem ponevedoma kreiral nove particijo na disku in s tem povozil obstoječo. To sem storil iz linuxa (čisti začetnik), ko sem želel dobiti dostop do diskov. Gre za dva diska, ki sta bila priključena v direktnem načinu, torej nobene redundance. Če v FreeNASu poiskusim avtomatsko importanje, mi zazna le eno novo ustanovljeno particijo, ki seveda ni prava. Imena prejšnih particij so razvidna v FreeNAS GUI-ju in imajo status "UNKNOWN", error getting available space.

Glede na to da gre samo za prepis meta podatkov, me zanima kako bi najlažje rekreiral pobrisane particije. Ker nisem preveč vešč unix sistema, je moja zadnja rešitev uporaba systemrescue cd-ja in pač prekopirati na nov disk kar se bo dalo rešit.

Vesel bi bil, če me lahko kdo usmeri na relevantno pot oz. mi svetuje kako najlažje odpraviti napako.

diler515 ::

nimam pojma, uporabljam btrfs, ki je kao kup bugov in nisem imel nobenih težav z njim

konspirator ::

testdisk ?

Miha 333 ::

Mislim, da bo težko karkoli rešiti. ZFS je ena taka stvar, kjer moraš pred uporabo narediti domačo nalogo in pri uporabi točno vedeti, kaj delaš in zakaj.

Obvezno branje

Priporočeno branje

To distill down some cold hard facts come to a fairly inescapable conclusion.

1. ZFS doesn't have a "fsck" for many of the same reasons that ZFS has no recovery tools. When properly managed ZFS should be impossible to corrupt without seriously bad hardware and/or extremely poor administration. ZFS's structures, because of how they are engineered, are one of those things that "work or don't work". If you know they "don't work" because the pool is unmountable, how do you handle the recovery?
2. When a pool becomes corrupted you are often left with a situation where you have to trust data on diskA or data on diskB since they don't agree. That's a decision that is really hard (if not impossible) to accurately master in code.
3. ZFS is marketed for enterprises. You know, companies that can add an extra zero to cost of the server and not care. These are also the same places where backups are done religiously and all the time and recovery isn't something that a company is going to need, let alone want. Restoring from backups is going to be faster and better for a whole list of reasons
4. Feature flags. These are a mess to deal with as every OS is implementing them differently. While the actual structures on-disk should be the same be it Illuminos or FreeBSD, how they "get there" is often quite different. Sometimes, these peculiarities are important for recovery.

Put all this together and you have a perfect storm of reasons why ZFS recovery is very difficult to "just do" and isn't particularly profitable. No money and low demand means no product will come to market.


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo

SpaceX reusable rockets (nova tema)

Oddelek: Znanost in tehnologija
294424 (3604) BigWhale
»

Pokvarjeni podatki pri kopiranju čez mrežo

Oddelek: Pomoč in nasveti
474816 (3422) MrStein
»

Nov članek: "All your firmware are belong to us" (strani: 1 2 3 )

Oddelek: Novice / Nova vsebina
13816483 (13323) arrigo
»

Water Block/Heater Core

Oddelek: Hlajenje in modifikacije
332462 (1777) DrSergioDJ
»

Kaj za vraga je to RAID?

Oddelek: Pomoč in nasveti
142221 (1886) krucymucy

Več podobnih tem