[root@test-1 ~]# fdisk -lu /dev/rbd1 Disk /dev/rbd1: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 4194304 bytes / 4194304 bytes Disk identifier: 0x00000000 [root@test-1 ~]# mkfs.ext4 /dev/rbd1 mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=1024 blocks, Stripe width=1024 blocks 65536 inodes, 262144 blocks 13107 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=268435456 8 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 33 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [root@test-1 ~]# mount /dev/rbd1 /mnt/mycephfs/ [root@test-1 ~]# ll /mnt/mycephfs/ total 16 drwx------ 2 root root 16384 Nov 27 13:40 lost+found [root@test-1 ~]# cd /mnt/mycephfs/ [root@test-1 mycephfs]# ls lost+found [root@test-1 mycephfs]# echo 'hello' > hello.txt [root@test-1 mycephfs]# ls hello.txt lost+found [root@test-1 mycephfs]# df -h /mnt/mycephfs/ Filesystem Size Used Avail Use% Mounted on /dev/rbd1 976M 1.3M 908M 1% /mnt/mycephfs |