Re: cephadm: Move DB/WAL from HDD to SSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oh, I think I found the error. You seem to provide the cluster FSID, not the OSD FSID. Your OSD FSID is:

fb0e0a45-75a0-4400-9b1f-7568f185544c

Check the lvm list output. Try this:

ceph-volume lvm new-db --osd-id 10 --osd-fsid fb0e0a45-75a0-4400-9b1f-7568f185544c --target cephdb03/ceph-osd-db1

Zitat von Alan Murrell <Alan@xxxxxxxx>:

Alright, and does either cephadm.log (/var/log/ceph/cephadm.log) or ceph-volume.log (/var/log/ceph/{FSID}/ceph-volume.log) provide more details? Which OS is the host running on?

The host OS is Debian 12.

In the cephadm.log file, I don't see anything around the time I did the ceph-volume commands that indicate any errors. Here is a copy-and-paste from the log for that period:

--- START ---
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:07:35,254 7fb630b9e2c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:08:45,086 7f09e25412c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:09:46,607 7f8f6c0f82c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:10:47,912 7fdb3b6412c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:11:49,418 7f5c587942c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:11:50,567 7fbfd40af2c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--image', 'quay.io/ceph/ceph@sha256:f8d467dcf49d13b8ea42229d89be642581
110175d8ce36e216aefc9b32b0854d', '--timeout', '895', 'list-networks']
2025-02-03 10:11:51,125 7f39826592c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--image', 'quay.io/ceph/ceph@sha256:f8d467dcf49d13b8ea42229d89be642581 110175d8ce36e216aefc9b32b0854d', '--timeout', '895', 'ceph-volume', '--fsid', '4 74264fe-b00e-11ee-b586-ac1f6b0ff21a', '--', 'inventory', '--format=json-pretty',
'--filter-for-batch']
2025-02-03 10:11:55,935 7f39826592c0 INFO Inferring config /var/lib/ceph/474264f
e-b00e-11ee-b586-ac1f6b0ff21a/mon.cephnode03/config
2025-02-03 10:11:55,935 7f39826592c0 DEBUG Using specified fsid: 474264fe-b00e-1
1ee-b586-ac1f6b0ff21a
2025-02-03 10:12:02,524 7fd2367902c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--env', 'CEPH_VOLUME_OSDSPEC_AFFINITY=cost_capacity', '--image', 'quay
.io/ceph/ceph@sha256:f8d467dcf49d13b8ea42229d89be642581110175d8ce36e216aefc9b32b
0854d', '--timeout', '895', 'ceph-volume', '--fsid', '474264fe-b00e-11ee-b586-ac 1f6b0ff21a', '--config-json', '-', '--', 'lvm', 'batch', '--no-auto', '/dev/sda'
, '/dev/sdb', '/dev/sdc', '/dev/sdd', '--yes', '--no-systemd']
2025-02-03 10:12:07,346 7fd2367902c0 INFO Inferring config /var/lib/ceph/474264f
e-b00e-11ee-b586-ac1f6b0ff21a/mon.cephnode03/config
2025-02-03 10:12:07,346 7fd2367902c0 DEBUG Using specified fsid: 474264fe-b00e-1
1ee-b586-ac1f6b0ff21a
2025-02-03 10:12:10,321 7f56b8d692c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--image', 'quay.io/ceph/ceph@sha256:f8d467dcf49d13b8ea42229d89be642581 110175d8ce36e216aefc9b32b0854d', '--timeout', '895', 'ceph-volume', '--fsid', '4 74264fe-b00e-11ee-b586-ac1f6b0ff21a', '--', 'lvm', 'list', '--format', 'json'] 2025-02-03 10:12:15,130 7f56b8d692c0 INFO Inferring config /var/lib/ceph/474264f
e-b00e-11ee-b586-ac1f6b0ff21a/mon.cephnode03/config
2025-02-03 10:12:15,130 7f56b8d692c0 DEBUG Using specified fsid: 474264fe-b00e-1
1ee-b586-ac1f6b0ff21a
2025-02-03 10:12:16,773 7fb154ac02c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--image', 'quay.io/ceph/ceph@sha256:f8d467dcf49d13b8ea42229d89be642581 110175d8ce36e216aefc9b32b0854d', '--timeout', '895', 'ceph-volume', '--fsid', '4 74264fe-b00e-11ee-b586-ac1f6b0ff21a', '--', 'raw', 'list', '--format', 'json'] 2025-02-03 10:12:21,609 7fb154ac02c0 INFO Inferring config /var/lib/ceph/474264f
e-b00e-11ee-b586-ac1f6b0ff21a/mon.cephnode03/config
2025-02-03 10:12:21,609 7fb154ac02c0 DEBUG Using specified fsid: 474264fe-b00e-1
1ee-b586-ac1f6b0ff21a
2025-02-03 10:13:24,527 7f62a01072c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:14:26,085 7fd1891bd2c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:15:27,587 7f336fc182c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--timeout', '895', 'gather-facts']
2025-02-03 10:16:29,014 7f8f959312c0 DEBUG -------------------------------------
-------------------------------------------
cephadm ['--image', 'quay.io/ceph/ceph@sha256:f8d467dcf49d13b8ea42229d89be642581
110175d8ce36e216aefc9b32b0854d', '--timeout', '895', 'ls']
2025-02-03 10:16:35,992 7f84132152c0 DEBUG -------------------------------------
-------------------------------------------
--- END ---

The ceph-volume.log file doesn't seem to contain anything either. It skips from 10:01am to 10:32am, whereas I did my first try at about 10:10am.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

--
Eugen Block
NDE Netzdesign und -entwicklung AG       voice: +49 40 5595175
Postfach 61 03 15                       e-mail: eblock@xxxxxx
D-22423 Hamburg

                      Vorstand: Jens-U. Mozdzen
      Aufsichtsratsvorsitzende: Angelika Torlée-Mozdzen
      Sitz und Registergericht: Hamburg, HRB 90934
                      USt-IdNr: DE 814 013 983

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux