[ceph-users] [bug] mount.ceph man description is wrong

xiang.dai at iluvatar.ai xiang.dai at iluvatar.ai
Thu Nov 8 00:28:59 PST 2018


Sure.

Seems that there is a test itself bug:
https://jenkins.ceph.com/job/ceph-pull-requests-arm64/25498/console

Best Wishes

----- Original Message -----
From: "Ilya Dryomov" <idryomov at gmail.com>
To: "xiang.dai" <xiang.dai at iluvatar.ai>
Cc: "ceph-users" <ceph-users at lists.ceph.com>
Sent: Wednesday, November 7, 2018 10:40:13 PM
Subject: Re: [ceph-users] [bug] mount.ceph man description is wrong

On Wed, Nov 7, 2018 at 2:25 PM <xiang.dai at iluvatar.ai> wrote:
>
> Hi!
>
> I use ceph version 13.2.1 (5533ecdc0fda920179d7ad84e0aa65a127b20d77) mimic (stable) and i want to call `ls -ld` to read whole dir size in cephfs:
>
> When i man mount.ceph:
>
> rbytes Report the recursive size of the directory contents for st_size on directories.  Default: on
>
> But without rbytes like below, "ls -ld" do not work:
>
> mount -t ceph 192.168.0.24:/ /mnt -o name=admin,secretfile=/etc/ceph/admin.secret
>
> [root at test mnt]# ls -ld mongo
> drwxr-xr-x 4 polkitd root 29 11月  6 16:33 mongo
>
> Then i umoun and mount use below cmd, it works:
>
> mount -t ceph 192.168.0.24:/ /mnt -o name=admin,secretfile=/etc/ceph/admin.secret,rbytes
>
>
> [root at test mnt]# ls -ld mongo
> drwxr-xr-x 4 polkitd root 392021518 11月  6 16:33 mongo
>
>
> So the description is wrong, right?

Yes, it's wrong.  Thanks for the PR, if you address the feedback we'll
merge it.

                Ilya


More information about the ceph-users mailing list