Re: grid data placement take 2

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

 



On Tue, Feb 19, 2013 at 2:31 PM, Dimitri Maziuk <dmaziuk@xxxxxxxxxxxxx> wrote:
> PPS:
>
> on the node that has osd.0:
> ---------------------------
>
> # cephfs /ceph/blastdb set_layout -u 2147483648 -s 2147483648 -c 2147483648

Try 2147483647.

>
> (start creating files)
>
> # cephfs /ceph/blastdb/r.00.psq show_location
> location.file_offset:  0
> location.object_offset:0
> location.object_no:    0
> location.object_size:  18446744071562067968

That's a -1 getting cast to a uint64.  Using the 2GB-1 should resolve
that issue for you.
-sam

> location.object_name:  10000000065.00000000
> location.block_offset: 0
> location.block_size:   18446744071562067968
> location.osd:          0
>
> on the node that has osd.1
> --------------------------
>
> # mount -t ceph -o ro,noatime,nodiratime,rsize=2147483648
> 144.92.167.231:/ /ceph
>
> # ls -l /ceph/blastdb/
> total 1151044
> -rw-r--r-- 1 bmrbgrid users       200 Feb 19 14:24 formatdb.log
> -rw-r--r-- 1 bmrbgrid users 389091787 Feb 19 14:29 r.00.phr
> -rw-r--r-- 1 bmrbgrid users         0 Feb 19 14:24 r.00.pin
> -rw-r--r-- 1 bmrbgrid users 789575901 Feb 19 14:29 r.00.psq
>
> # cephfs /ceph/blastdb/r00.psq show_location
> error opening path: Unknown error 18446744073709551615
> usage: cephfs path command [options]*
>
>
>
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>
> _______________________________________________
> 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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux