From: Aaron Lauterer <a.lauterer@proxmox.com>
To: "Thomas Lamprecht" <t.lamprecht@proxmox.com>,
"Proxmox VE development discussion" <pve-devel@lists.proxmox.com>,
"Fabian Grünbichler" <f.gruenbichler@proxmox.com>
Subject: Re: [pve-devel] [PATCH v2 storage] rbd: alloc image: fix #3970 avoid ambiguous rbd path
Date: Mon, 11 Apr 2022 16:49:09 +0200 [thread overview]
Message-ID: <71b4db3a-0df4-123f-2635-c8706f551210@proxmox.com> (raw)
In-Reply-To: <60e67e63-5229-47ce-1bc2-bca0c87ce3d3@proxmox.com>
On 4/11/22 14:17, Thomas Lamprecht wrote:
[...]
>>
>> Some more (smaller) changes might be necessary, if the implementation we
>> manage to upstream will be a bit different. But that should not be much of an
>> issue AFAICT.
>
> We can always ship our downstream solution to be whatever we want and sync up
> on major release, so not a real problem.
>
> FWIW, with storage getting the following patch the symlinks get created (may need
> an trigger for reloading udev (or manually `udevadm control -R`).
>
> We'd only need to check to prioritize /deb/rbd-pve/$fsid/... paths first;
> do you have time to give that a go?
The final `fi` in the renamer script was missing from the diff. Once I fixed that, it seems to work fine. Situation with a local hyperconverged cluster and an external one:
---------------------------------
root@cephtest1:/dev/rbd-pve# tree
.
├── ce99d398-91ab-4667-b4f2-307ba0bec358
│ └── ecpool-metadata
│ ├── vm-103-disk-0 -> ../../../rbd0
│ ├── vm-103-disk-0-part1 -> ../../../rbd0p1
│ ├── vm-103-disk-0-part2 -> ../../../rbd0p2
│ ├── vm-103-disk-0-part5 -> ../../../rbd0p5
│ ├── vm-103-disk-1 -> ../../../rbd1
│ └── vm-103-disk-2 -> ../../../rbd2
└── e78d9b15-d5a1-4660-a4a5-d2c1208119e9
└── rbd
└── vm-103-disk-0 -> ../../../rbd3
next prev parent reply other threads:[~2022-04-11 14:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 11:46 Aaron Lauterer
2022-04-08 8:04 ` Fabian Grünbichler
2022-04-11 7:39 ` Thomas Lamprecht
2022-04-11 9:08 ` Aaron Lauterer
2022-04-11 12:17 ` Thomas Lamprecht
2022-04-11 14:49 ` Aaron Lauterer [this message]
2022-04-12 8:35 ` Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71b4db3a-0df4-123f-2635-c8706f551210@proxmox.com \
--to=a.lauterer@proxmox.com \
--cc=f.gruenbichler@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
--cc=t.lamprecht@proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.