Re: File only read, can't write, problem

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

 



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: 百大龙一
>
--
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


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux