This may help: 
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2015-September/004295.html

Cheers,

Simon

From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Vickie 
ch
Sent: 16 September 2015 10:58
To: ceph-users
Subject: [ceph-users] Deploy osd with btrfs not success.

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
​----------------------------------------------------------------------------​


Best wishes,
Mika



Please visit our new website at www.pml.ac.uk and follow us on Twitter  
@PlymouthMarine

Winner of the Environment & Conservation category, the Charity Awards 2014.

Plymouth Marine Laboratory (PML) is a company limited by guarantee registered 
in England & Wales, company number 4178503. Registered Charity No. 1091222. 
Registered Office: Prospect Place, The Hoe, Plymouth  PL1 3DH, UK. 

This message is private and confidential. If you have received this message in 
error, please notify the sender and remove it from your system. You are 
reminded that e-mail communications are not secure and may contain viruses; PML 
accepts no liability for any loss or damage which may be caused by viruses.

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

Reply via email to