Re: ceph-disk command raises partx error

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

 



Hi,

On 13/04/2015 16:15, HEWLETT, Paul (Paul)** CTR ** wrote:
> Hi Everyone
> 
> I am using the ceph-disk command to prepare disks for an OSD.
> The command is:
> 
> *ceph-disk prepare --zap-disk --cluster $CLUSTERNAME --cluster-uuid $CLUSTERUUID --fs-type xfs /dev/${1}*
> 
> and this consistently raises the following error on RHEL7.1 and Ceph Hammer viz:
> 
> partx: specified range <1:0> does not make sense
> partx: /dev/sdb: error adding partition 2
> partx: /dev/sdb: error adding partitions 1-2
> partx: /dev/sdb: error adding partitions 1-2


> 
> I have had similar errors on previous versions of Ceph and RHEL. We have decided to stick with Hammer/7.1 and I
> am interested if anybody has any comment on this.
> 
> The error seems to do no harm so is probably cosmetic but on principle at least I would al least like to know if
> I can safely ignore this.

It is indeed harmless. It was not suppressed to get more information information when and if something goes wrong. I've created http://tracker.ceph.com/issues/11377 to remember that confusion should be fixed.

Cheers

> 
> Many thanks.
> 
> Regards
> 
> Paul Hewlett
> Senior Systems Engineer
> Velocix, Cambridge
> Alcatel-Lucent
> t: +44 1223 435893 m: +44 7985327353
> 
> 
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux