Re: Find out the location of OSD Journal

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

 



I tend to use something along the lines

for osd in $(grep osd /etc/mtab | cut -d ' ' -f 2); do echo "$(echo $osd | cut -d '-' -f 2): $(readlink -f $(readlink $osd/journal))";done | sort -k 2

Cheers,
Josef
 
On 08 May 2015, at 02:47, Robert LeBlanc <robert@xxxxxxxxxxxxx> wrote:

You may also be able to use `ceph-disk list`.

On Thu, May 7, 2015 at 3:56 AM, Francois Lafont <flafdivers@xxxxxxx> wrote:
Hi,

Patrik Plank wrote:

> i cant remember on which drive I install which OSD journal :-||
> Is there any command to show this?

It's probably not the answer you hope, but why don't use a simple:

ls -l /var/lib/ceph/osd/ceph-$id/journal

?

--
François Lafont
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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