[sheepdog-users] sheepfs: cannot detach / error failed to create sheepfs layout
Liu Yuan
namei.unix at gmail.com
Thu Sep 12 13:16:13 CEST 2013
On Thu, Sep 12, 2013 at 01:07:54PM +0200, Gerald Richter - ECOS wrote:
> > > > >
> > > > > That was what I was expecting, but a simple test shows:
> > > > >
> > > > > #echo vm-1201-disk-1 > /mnt/vdi/mount #echo vm-1201-disk-1 >
> > > > > /mnt/vdi/unmount
> > > > > -bash: echo: write error: Invalid argument
> > > > >
> > >
> > > Syslog:
> > > Sep 12 05:21:33 srvvm4 sheepfs[169962]: volume_sync_and_delete(499)
> > > Sep 12 05:21:33 srvvm4 sheepfs[169962]: failed to flush vdi fb24b0
> > >
> > > I have done a "dog vdi cache flush vm-1201-disk-1" afterwards and all
> > changes I have made in this image seems to be correctly written.
> >
> > We don't need any manual command for sheepfs. It is quit self-contained.
> > echo 'xxx' > sheepfs/vdi/unmount will flush the cache if any (this cache
> > means object cache enabled in the sheep to which sheepfs connect)
> >
>
> That's exactly what is not working:
>
> #echo vm-1201-disk-1 > /mnt/vdi/unmount
> -bash: echo: write error: Invalid argument
>
> And syslog says:
> Sep 12 05:21:33 srvvm4 sheepfs[169962]: volume_sync_and_delete(499)
> Sep 12 05:21:33 srvvm4 sheepfs[169962]: failed to flush vdi fb24b0
Hmm, I should include more information about the failure. How to reproduce
this problem reliably?
Thanks
Yuan
More information about the sheepdog-users
mailing list