AW: AW: AW: AW: AW: ZFS: Corrupted pool metadata after adding vdev to a pool - no opportunity to rescue data from healthy vdevs? Remove a vdev? Rewrite metadata?

Volodymyr Kostyrko c.kworr at gmail.com
Tue Sep 18 06:10:01 UTC 2012


17.09.2012 19:29, Thomas Göllner (Newsletter) write:
>> If you can afford putting your drives aside you can try to wait before some tool occasionally emerges. I will not promise anything
>> but I'm slowly making some progress with my script. I'm motivated about that as I have broken pool with photos. Trying to import
>> that pool is causing a core dump on any system I tested like OpenSolaris, Illumos or SystemRescueCD.
>
> It would be great if you script would be able to deal with pools with broken labels. I will put the three 3TB disks aside and use the old 1.5TB disks instead. So if there is some progress in your script or someone else is gonna write some tool for restoring labels or reading data of broken pools, perhaps I can get some data back. I think it would take some time to get this fresh 3TB pool full ;-)
>
> This would also solve the next problem I discovered...
> These 1.5TB disks have 512byte sectors. I have one spare. If the second disk falls out, first I thought, I will replace it with a 4TB disk and so on until I have replaced all of them. So I can expand the pool. But as I read now, this is not possible, isn't it? Because the 4TB drives would have 4k sectors.

 From my point of view all hype about moving to 4k sectors is highly 
irrelevant to ZFS and current products on the market.

1. ZFS tends to use big recordsize for storing any data. This means most 
files on your drives are already stored in 128k sectors. Storing small 
tails in 512b or 4k sectors shouldn't give big difference.

2. For older drives each drive should be partitioned with respect to 4k 
sectors. This is what -a option of gpart does: it aligns created 
partitions to 4k sector bounds. But half a year ago I already found some 
drives that can auto-shift all disk transactions to optimize read and 
write performance. Courtesy of Microsoft Windows, OS that does not care 
about anything not written in license terms, same as the users do, so 
using this drives would be more straightforward and would not cause 
decent pain to IT stuff about realigning partitions the way it would 
just work.

-- 
Sphinx of black quartz judge my vow.


More information about the freebsd-fs mailing list