meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
vm:proxmox:ceph:db:move_db_disks [2024/02/18 16:28] – niziak | vm:proxmox:ceph:db:move_db_disks [2025/03/30 21:39] (current) – niziak | ||
---|---|---|---|
Line 61: | Line 61: | ||
</ | </ | ||
- | Create new PV,VG,LV for DB and attach it: | + | Create |
<code bash> | <code bash> | ||
pvcreate / | pvcreate / | ||
+ | |||
vgcreate ceph-db-8gb / | vgcreate ceph-db-8gb / | ||
+ | OR | ||
+ | vgextend ... | ||
+ | |||
lvcreate -n db-8gb -l 100%FREE ceph-db-8gb | lvcreate -n db-8gb -l 100%FREE ceph-db-8gb | ||
+ | OR | ||
+ | lvextend -l +100%FREE ceph-db/db | ||
ceph-volume lvm new-db --osd-id 0 --osd-fsid 024c05b3-6e22-4df1-b0af-5cb46725c5c8 --target ceph-db-8gb/ | ceph-volume lvm new-db --osd-id 0 --osd-fsid 024c05b3-6e22-4df1-b0af-5cb46725c5c8 --target ceph-db-8gb/ |