Re: Deploy osd with btrfs not success.

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

 



On Wed, Sep 16, 2015 at 12:57 PM, Vickie ch <mika.leaf666@xxxxxxxxx> wrote:
> Hi cephers,
>     Have anyone ever created osd with btrfs in Hammer 0.94.3 ? I can create
> btrfs partition successfully.  But once use "ceph-deploy" then always get
> error like below. Another question there is no parameter " -f " with mkfs.
> Any suggestion is appreciated.
> ---------------------------------------------------------------------
> [osd3][DEBUG ] The operation has completed successfully.
> [osd3][WARNIN] DEBUG:ceph-disk:Calling partprobe on created device /dev/sda
> [osd3][WARNIN] INFO:ceph-disk:Running command: /sbin/partprobe /dev/sda
> [osd3][WARNIN] INFO:ceph-disk:Running command: /sbin/udevadm settle
> [osd3][WARNIN] DEBUG:ceph-disk:Creating btrfs fs on /dev/sda1
> [osd3][WARNIN] INFO:ceph-disk:Running command: /sbin/mkfs -t btrfs -m single
> -l 32768 -n 32768 -- /dev/sda1
> [osd3][WARNIN] /dev/sda1 appears to contain an existing filesystem (xfs).
> [osd3][WARNIN] Error: Use the -f option to force overwrite.
> [osd3][WARNIN] ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'btrfs',
> '-m', 'single', '-l', '32768', '-n', '32768', '--', '/dev/sda1']' returned
> non-zero exit status 1
> [osd3][ERROR ] RuntimeError: command returned non-zero exit status: 1
> [ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk -v prepare
> --zap-disk --cluster ceph --fs-type btrfs -- /dev/sda
> [ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
> ----------------------------------------------------------------------------

ceph-deploy not using -f is probably a safety measure.  You can nuke
xfs superblock on /dev/sda1 with wipefs(8).

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux