[OpenIndiana-discuss] zpool on the second partition of an external disk

PÁSZTOR György pasztor at linux.gyakg.u-szeged.hu
Sat Sep 9 13:45:13 UTC 2017


Hi,

"Udo Grabowski (IMK)" <udo.grabowski at kit.edu> írta 2017-09-09 13:12-kor:
> No, s2 has been actively configured to be used as a zpool slice,

Yepp. That is the normal behaviour.

> zfs tools don't do that. Therefore, the next one that will touch

I think, You are wrong. ZFS does that. At least according to docs.

> slice s8 will destroy the data on "slice" s2 (the problem is just

Ho doesn't actively use s8. It's default behaviour again.

> the other way round than you think). Therefore, by convention don't
> use s2 actively, any other activity on s<n> (<n>/=2) will destroy
> data.

If you read the docs, his scenario perfectly fits to the layout what the
docs says:
https://wiki.openindiana.org/oi/Advanced+-+Creating+aligned+rpool+partitions

The only difference here, that he uses p1 for the "other" os, and uses p2
for the pool. But besides that, it's a textbook example: s8 is created as
"boot slice". boot slice is one cylinder long. No useful data there, and he
didn't intend to use s8 directly. He just wants to use the zpool.

Cheers,
Gyu



More information about the openindiana-discuss mailing list