-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thin-pool #115
Comments
To use lvm on shared storage, you need to create a shared VG: vgcreate --shared
Even in a shared VG, you can only use a thin pool on one host at a time; what you are attempting is not possible. |
Thin-pool can be only activate only on a single host - there is no support for shared activation on thins on multiple nodes. |
LVM version: 2.03.14(2) (2021-10-20)
Command Lin
1.vgcreate vgtest3 /dev/sdd
2.lvcreate -L 1G -T vgtest3/thin_pool
3.vcreate -V 20M -T vgtest3/thin_pool -n tp_lv_user1
I created thin-pool with shared devices on both hosts and created thin volumes on thin-poo
However, using thin volumes cannot be activated on all hosts.
host A
host B
Activate thin volumes on host B
1.lvchange -ay vgtest3/tp_lv_us1
Thin pool vgtest3-thin_pool2-tpool (253:8) transaction_id is 1, while expected 5.
Failed to activate successfully
Excuse me, so that the thin volume can be used on both hosts.
The thin pool can only be used on a host A, and it fails to create or activate thin volumes on host B. how to solve this problem?
The text was updated successfully, but these errors were encountered: