u/HAS_ABANDONMENT_ISSU

▲ 5 r/zfs

Send and receive were not destroying datasets on my backup pool even though snapshots contained records of destroying datasets, permissions issue?

I have two computers with two pools, one as a main and one as a backup. Each is running zfs on linux, and the user on the backup is not a root user, so it does not have mount permissions. Also, I set its zfs permissions via zfs allow, and it does not have destroy permissions.

When I send snapshots via send and receive, I noticed that datasets that I destroyed on my main pool still existed on my backup pool, even when snapshots sent correctly. My snapshots are sent with the -R flag and I also add flags to send them unmounted and read only.

I also set up a local AI and I asked it why datasets destroyed on my main pool don't get destroyed once I sent snapshots, and it first said it was likely because the datasets were mounted and in use on the backup. I then thought about it myself, and came to the conclusion that it was probably because my backup user doesn't have destroy permissions, so when it runs the receive command, it can't include destroying datasets. I asked the AI if that was the case, and it said "you have 100% hit the nail on the head, that is exactly correct . . ." etc etc etc.

I wanted to check with real people if I'm actually right about that though. Is it really a permissions issue?

reddit.com
u/HAS_ABANDONMENT_ISSU — 3 days ago
▲ 12 r/wok

Making spicy hotpot broth

First making a hot oil. One step was left out (aromatic spices simmering in the oil before the green aromatics).

u/HAS_ABANDONMENT_ISSU — 29 days ago
▲ 72 r/wok

Chinese style pork and cabbage stir fry

I've been trying to work on my Chinese cooking and heard this was a popular dish. It's so simple and so delicious.

u/HAS_ABANDONMENT_ISSU — 1 month ago