Re: ceph-deploy zap disk failure

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

 



On Tue, Oct 15, 2013 at 10:52 AM, Guang <yguang11@xxxxxxxxx> wrote:
> Hi ceph-users,
> I am trying with the new ceph-deploy utility on RHEL6.4 and I came across a
> new issue:
>
> -bash-4.1$ ceph-deploy --version
> 1.2.7
> -bash-4.1$ ceph-deploy disk zap server:/dev/sdb
> [ceph_deploy.cli][INFO  ] Invoked (1.2.7): /usr/bin/ceph-deploy disk zap
> server:/dev/sdb
> [ceph_deploy.osd][DEBUG ] zapping /dev/sdb on server
> [osd2.ceph.mobstor.bf1.yahoo.com][DEBUG ] detect platform information from
> remote host
> [ceph_deploy.osd][INFO  ] Distro info: Red Hat Enterprise Linux Server 6.4
> Santiago
> [osd2.ceph.mobstor.bf1.yahoo.com][DEBUG ] zeroing last few blocks of device
> [osd2.ceph.mobstor.bf1.yahoo.com][INFO  ] Running command: sudo sgdisk
> --zap-all --clear --mbrtogpt -- /dev/sdb
> [osd2.ceph.mobstor.bf1.yahoo.com][ERROR ] sudo: sgdisk: command not found
>
> While I run disk zap on the host directly, it can work without issues.
> Anyone meet the same issue?

Can you run `which sgdisk` on that host? I want to make sure this is
not a $PATH problem.

ceph-deploy tries to use the proper path remotely but it could be that
this one is not there.


>
> Thanks,
> Guang
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
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