This is pretty old thread, I launched a similar discussion a while ago here http://www.spinics.net/lists/ceph-devel/msg08096.html. I got it working but _only_ with btrfs… See the procedure below: # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.0 (wheezy) Release: 7.0 Codename: wheezy # uname -a Linux os-ci-test1 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 GNU/Linux # rbd -p leseb create --size 4096 seb # rbd -p leseb map seb # mkfs.btrfs /dev/rbd0 WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using fs created label (null) on /dev/rbd0 nodesize 4096 leafsize 4096 sectorsize 4096 size 4.00GB Btrfs Btrfs v0.19 # mount /dev/rbd0 /mnt/ # rbd -p leseb resize seb --size 8192 Resizing image: 100% complete…done. # fdisk -l /dev/rbd0 Disk /dev/rbd0: 4294 MB, 4294967296 bytes 255 heads, 63 sectors/track, 522 cylinders, total 8388608 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 Disk /dev/rbd0 doesn't contain a valid partition table # blockdev --rereadpt /dev/rbd0 # fdisk -l /dev/rbd0 Disk /dev/rbd0: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 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 Disk /dev/rbd0 doesn't contain a valid partition table # df -h | grep mnt /dev/rbd0 4.0G 56K 3.6G 1% /mnt # btrfs filesystem resize max /mnt Resize '/mnt' of 'max' # df -h | grep mnt /dev/rbd0 8.0G 120K 7.6G 1% /mnt Unfortunately I just tried with ifs and it doesn't work... Cheers –––– Sébastien Han Cloud Engineer "Always give 100%. Unless you're giving blood." PHONE : +33 (0)1 49 70 99 72 – MOBILE : +33 (0)6 52 84 44 70 EMAIL : sebastien.han@xxxxxxxxxxxx – SKYPE : han.sbastien ADDRESS : 10, rue de la Victoire – 75009 Paris WEB : www.enovance.com – TWITTER : @enovance On Apr 5, 2013, at 3:05 PM, Laurent Barbe <laurent@xxxxxxxxxxx> wrote: Thanks for your answer, |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com