meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
vm:proxmox:ceph:db:move_db_disks [2024/02/18 16:28] niziakvm:proxmox:ceph:db:move_db_disks [2025/03/30 21:39] (current) niziak
Line 61: Line 61:
 </code> </code>
  
-Create new PV,VG,LV for DB and attach it:+Create (or resize) new PV,VG,LV for DB and attach it:
  
 <code bash> <code bash>
 pvcreate /dev/nvme0n1p6 pvcreate /dev/nvme0n1p6
 +
 vgcreate ceph-db-8gb /dev/nvme0n1p6 vgcreate ceph-db-8gb /dev/nvme0n1p6
 +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/db-8gb ceph-volume lvm new-db --osd-id 0 --osd-fsid 024c05b3-6e22-4df1-b0af-5cb46725c5c8 --target ceph-db-8gb/db-8gb