Thanks; [root@ceph_client /]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 472658192 20200436 428448080 5% / tmpfs 1984548 0 1984548 0% /dev/shm /dev/loop0 3351190 3351190 0 100% /mnt/cdrom 192.168.0.211:6789:/ 158047232 315392 155611136 1% /1 [root@ceph_client /]# umount /1 [root@ceph_client /]# mount -t ceph 192.168.0.211:6789:/ /1 -vv -o name=admin,secret=AQCfY+ZN+FrTGhAAFBefW2HD598ijL+C3OKhUw== 192.168.0.211:6789:/ on /1 type ceph (rw,name=admin,secret=AQCfY+ZN+FrTGhAAFBefW2HD598ijL+C3OKhUw==) [root@ceph_client /]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 472658192 20200436 428448080 5% / tmpfs 1984548 0 1984548 0% /dev/shm /dev/loop0 3351190 3351190 0 100% /mnt/cdrom 192.168.0.211:6789:/ 158047232 315392 155611136 1% /1 [root@ceph_client /]# cd /1 [root@ceph_client 1]# ls -al total 9 drwxr-xr-x. 1 root root 48 Jun 2 00:08 . dr-xr-xr-x. 28 root root 4096 Jun 1 23:49 .. -rw-r--r--. 1 root root 48 Jun 2 00:09 1.txt [root@ceph_client 1]# echo "1">>1.txt [root@ceph_client 1]# echo "1">>2.txt -bash: 2.txt: Permission denied [root@ceph_client 1]# 1. TXT I cfuse mount up through after created files ! 在 2011年6月2日 上午12:22,Gregory Farnum <gregf@xxxxxxxxxxxxxxx> 写道: > Can you ls -la on the mounted directory and send us the output? FUSE > can be funny with permissions and usually they're set to root on > mount, but yours might be set to a special FUSE user or something... > (in which case you just need to chmod the mountpoint) > -Greg > > 2011/5/31 biyan chen <riby.chen@xxxxxxxxx>: >> I have mount on ceph file system, but, after entering directory cannot >> read documents. >> >> >> [root@ceph_client 1]# 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 1]# echo "1">>1.txt >> -bash: 1.txt: Permission denied >> [root@ceph_client 1]# ll >> total 0 >> [root@ceph_client 1]# cd / >> [root@ceph_client /]# ll >> total 112 >> drwxr-xr-x. 1 root root 0 Jun 1 20:05 1 >> >> >> I to execute the command : >> mount -o remount, rw /1 >> >> Still hint without permission >> >> >> 2011/5/27 Gregory Farnum <gregf@xxxxxxxxxxxxxxx>: >>> I'm not quite sure what you're saying here -- can you give a more >>> precise description of the problem? >>> >>> On Tue, May 24, 2011 at 12:44 AM, biyan chen <riby.chen@xxxxxxxxx> wrote: >>>> mkcephfs -c /usr/local/etc/ceph/ceph.conf --allhosts --mkbtrfs -k >>>> /usr/local/etc/ceph/keyring.bin >>>> /etc/init.d/ceph -a start >>>> >>>> Startup ceph >>>> >>>> >>>> >>>> mount -t ceph 192.168.0.211:6789:/ /1 -vv >>>> >>>> This command File only read, can't write!! >>>> >>>> cfuse -m ceph_mon0:6789 /1 -c /usr/local/etc/ceph/ceph.conf >>>> Can read could write >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >>>> the body of a message to majordomo@xxxxxxxxxxxxxxx >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>>> >>> >> >> >> >> -- >> name:Riby >> mobile:+86 15280267642 >> company: 百大龙一 >> > -- name:Riby mobile:+86 15280267642 company: 百大龙一 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html