Re: ubuntu upstart hang due xfs mount hang

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

 



On Thu, 27 Oct 2016, Zhangzengran wrote:
> Hi Sage & all:
>   There is a data disk on ceph host with xfs, it’s EFIs corrupt in an unexpected power outage.when the host power on again, system(ubuntu) hang in upstart’s console,
> we learn that upstart try to do `ceph-disk activate-all` and mount that disk in ceph-osd-all series jobs,but the mount hang indefinite. there is also a S20ceph script called
> by rc series jobs,and the tty1.conf start on `stoped rc`,so we cant login from console.
> 
> I saw there is a Patch for ceph-disk,it provided a timeout to mkfs.So I think,  do we also need to provide a timeout for mount?because if ceph-disk hang in upstart, no osd
>  daemon could start on that host.

What version of ubuntu and Ceph is this? Since jewel we are all systemd, 
and the activate etc jobs are all async systemd tasks, so I don't think 
this should happen.

> I have another question, could we move the S20ceph(init-ceph) script out of rcN.d in Ubuntu ? looks like it did not appear in RHEL’s rcN.d.

Similarly, I think the sysvinit files should all be gone at this point...

sage

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux