- Joined
- Apr 16, 2020
- Messages
- 2,947
OK - so this afternoon I broke my server by poking around in a "Here be Dragons" area and got bit.
I have rebuilt the server, recovered three small pools, but that main pool was toast - doesn't matter - its all backed up and apart from a 3 day restore (ish) which is a nusiance - there is no issue - I did a full backup just before kicking the dragon in the unmentionables anyway.
However I have run into an issue (back to the "Here Be Dragons" area)
In FreeBSD I ran the following commands to create 3 SLOG partitions on a pair of Optanes which I then added as mirrored SLOG's to three different pools.
Once I have the partitions I can find the ID and add them to the relevent pools. However this is Debian and so far my google-fu has failed to find a way of doing the equivalent.
I suppose I could Install & boot TN Core and use that to build the partitions - but that seems a very long way around the problem.
I can use parted to create a GPT label - but thats as far as it seems to take me
Anyone care to point in the right direction please?
I have rebuilt the server, recovered three small pools, but that main pool was toast - doesn't matter - its all backed up and apart from a 3 day restore (ish) which is a nusiance - there is no issue - I did a full backup just before kicking the dragon in the unmentionables anyway.
However I have run into an issue (back to the "Here Be Dragons" area)
In FreeBSD I ran the following commands to create 3 SLOG partitions on a pair of Optanes which I then added as mirrored SLOG's to three different pools.
gpart create -s GPT nvd4
gpart create -s GPT nvd5
gpart add -t freebsd-zfs -a 1m -l slog -s 20G nvd4
gpart add -t freebsd-zfs -a 1m -l slog -s 20G nvd4
gpart add -t freebsd-zfs -a 1m -l slog -s 20G nvd4
gpart add -t freebsd-zfs -a 1m -l slog -s 20G nvd5
gpart add -t freebsd-zfs -a 1m -l slog -s 20G nvd5
gpart add -t freebsd-zfs -a 1m -l slog -s 20G nvd5
Once I have the partitions I can find the ID and add them to the relevent pools. However this is Debian and so far my google-fu has failed to find a way of doing the equivalent.
I suppose I could Install & boot TN Core and use that to build the partitions - but that seems a very long way around the problem.
I can use parted to create a GPT label - but thats as far as it seems to take me
Anyone care to point in the right direction please?