From: Jeff Wu <cpwu@tnsoft.com.cn>
To: biyan chen <riby.chen@gmail.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: I can't ceph file system in writing on file
Date: Wed, 1 Jun 2011 15:48:27 +0000 [thread overview]
Message-ID: <1306943307.1527.23.camel@localhost> (raw)
In-Reply-To: <BANLkTikho0M2BS3SztA=BN5i3gY=yBq0-A@mail.gmail.com>
Hi,
Are the other write commands also printf "Permission denied" ?
Could you try to run:
dd if=/dev/zero of=/1/512M bs=1M count=512
If you detect a bug ,you can file it at
http://tracker.newdream.net
Jeff ,Wu
On Wed, 2011-06-01 at 15:19 +0800, biyan chen wrote:
> 2011-06-01 15:20:23.258669 7fee67a8c710 -- 192.168.0.211:6789/0 <==
> mds0 192.168.0.207:6800/7272 193 ==== mdsbeacon(4297/alpha up:active
> seq 180 v14) v2 ==== 244+0+0 (3951961624 0 0) 0x8e1a00 con 0x8efb40
> 2011-06-01 15:20:23.258706 7fee67a8c710 mon.0@0(leader) e1 have connection
> 2011-06-01 15:20:23.258720 7fee67a8c710 mon.0@0(leader) e1 ms_dispatch
> existing session MonSession: mds? 192.168.0.207:6800/7272 is openallow
> rwx for mds? 192.168.0.207:6800/7272
> 2011-06-01 15:20:23.258728 7fee67a8c710 mon.0@0(leader) e1 caps allow rwx
> 2011-06-01 15:20:23.258748 7fee67a8c710
> mon.0@0(leader).paxosservice(mdsmap) dispatch mdsbeacon(4297/alpha
> up:active seq 180 v14) v2 from mds0 192.168.0.207:6800/7272
> 2011-06-01 15:20:23.258763 7fee67a8c710 mon.0@0(leader).paxos(mdsmap
> active lc 14) is_readable now=2011-06-01 15:20:23.258758
> lease_expire=0.000000 has v14 lc 14
> 2011-06-01 15:20:23.258777 7fee67a8c710 mon.0@0(leader).mds e14
> preprocess_query mdsbeacon(4297/alpha up:active seq 180 v14) v2 from
> mds0 192.168.0.207:6800/7272
> 2011-06-01 15:20:23.258792 7fee67a8c710 mon.0@0(leader).mds e14
> preprocess_beacon mdsbeacon(4297/alpha up:active seq 180 v14) v2 from
> mds0 192.168.0.207:6800/7272 compat={},rocompat={},incompat={1=base
> v0.20,2=client writeable ranges,3=default file layouts on dirs,4=dir
> inode in separate object}
> 2011-06-01 15:20:23.258806 7fee67a8c710 mon.0@0(leader).mds e14
> _note_beacon mdsbeacon(4297/alpha up:active seq 180 v14) v2 noting
> time
> 2011-06-01 15:20:23.258821 7fee67a8c710 -- 192.168.0.211:6789/0 -->
> 192.168.0.207:6800/7272 -- mdsbeacon(4297/alpha up:active seq 180 v14)
> v1 -- ?+0 0x9b4c80 con 0x8efb40
> ^C
>
> [root@ceph_mon0 ceph]# tail /var/log/ceph/mon.0.log -f
> Display the above information !
>
> Thanks!
>
> 2011/6/1 biyan chen <riby.chen@gmail.com>:
> > When I mount ceph after the file system. I want to go to create a
> > file, but hint permissions problem, cannot write
> >
> > In /var/log/ceph log information inside, didn't see more information
> >
> > [root@ceph_client /]# df
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > /dev/sda1 472658192 20199408 428449108 5% /
> > tmpfs 1984548 0 1984548 0% /dev/shm
> > /dev/loop0 3351190 3351190 0 100% /mnt/cdrom
> > 192.168.0.211:6789:/ 158047232 81920 155843584 1% /1
> > [root@ceph_client /]# cd /1
> > [root@ceph_client 1]# echo "1">>1.txt
> > -bash: 1.txt: Permission denied
> > [root@ceph_client 1]# cd ..
> > [root@ceph_client /]# ll
> > total 112
> > drwxr-xr-x. 1 root root 0 Jun 1 20:05 1
> >
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-06-01 7:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 6:42 I can't ceph file system in writing on file biyan chen
2011-06-01 7:19 ` biyan chen
2011-06-01 15:48 ` Jeff Wu [this message]
2011-06-01 8:13 ` biyan chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1306943307.1527.23.camel@localhost \
--to=cpwu@tnsoft.com.cn \
--cc=ceph-devel@vger.kernel.org \
--cc=riby.chen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.