Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Lookup error=ENOENT #167

Open
alebeta90 opened this issue Feb 11, 2020 · 0 comments
Open

Lookup error=ENOENT #167

alebeta90 opened this issue Feb 11, 2020 · 0 comments

Comments

@alebeta90
Copy link

Context

  • svfs version : 0.9.1
  • storage provider : OVH
  • product : Cloud Object Storage

Steps to reproduce this issue :

  1. mount in /etc/fstab

backup /backup svfs auth_url=https://auth.cloud.ovh.net/v2.0,username=PRIVATE,password=PRIVATE,tenant=PRIVATE,region=BHS,container=backup,_netdev,auto,uid=1000,gid=1000,allow_other,default_perm=false,mode=0644,debug=true,stderr=/var/log/messages,extra_attr 0 0

  1. Write using curl sftp

Results you expected :

Write the file properly

Results you observed :

I see this error in SFTP(OpenSSH) server

sftp-server[1286]: error: process_write: seek failed

Debug log :

Feb 11 07:07:30 backup-gateway systemd-logind: New session 2 of user centos.
Feb 11 07:07:30 backup-gateway systemd: Started Session 2 of user centos.
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="<- Open [ID=0x4 Node=0x1 Uid=1000 Gid=1000 Pid=1273] dir=true fl=OpenReadOnly+OpenDirectory+OpenNonblock" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="-> [ID=0x4] Open 0x1 fl=0" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="<- Read [ID=0x5 Node=0x1 Uid=1000 Gid=1000 Pid=1273] 0x1 4096 @0x0 dir=true fl=0 lock=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="-> [ID=0x5] Read 88" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="<- Lookup [ID=0x6 Node=0x1 Uid=1000 Gid=1000 Pid=1273] \"plesk01.gonkar.com\"" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="-> [ID=0x6] Lookup 0x2 gen=0 valid=1m0s attr={valid=1m0s ino=1822200889090297369 size=4096 mode=drw-r--r--}" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="<- Lookup [ID=0x7 Node=0x1 Uid=1000 Gid=1000 Pid=1273] \"secure-20200119\"" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="-> [ID=0x7] Lookup 0x3 gen=0 valid=1m0s attr={valid=1m0s ino=16608916460319320181 size=295382930 mode=-rw-r--r--}" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="<- Read [ID=0x8 Node=0x1 Uid=1000 Gid=1000 Pid=1273] 0x1 4096 @0x58 dir=true fl=0 lock=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="-> [ID=0x8] Read 0" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="<- Read [ID=0x9 Node=0x1 Uid=1000 Gid=1000 Pid=1273] 0x1 4096 @0x58 dir=true fl=0 lock=0 ffl=OpenReadOnly+OpenDirectory+OpenNonblock" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="-> [ID=0x9] Read 0" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="<- Release [ID=0xa Node=0x1 Uid=0 Gid=0 Pid=0] 0x1 fl=OpenReadOnly+OpenDirectory+OpenNonblock rfl=0 owner=0x0" source=fuse
Feb 11 07:07:30 backup-gateway mount: time="2020-02-11T07:07:30-05:00" level=debug msg="-> [ID=0xa] Release" source=fuse
Feb 11 07:07:30 backup-gateway systemd-logind: Removed session 2.
Feb 11 07:07:31 backup-gateway systemd-logind: New session 3 of user centos.
Feb 11 07:07:31 backup-gateway systemd: Started Session 3 of user centos.
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="<- Lookup [ID=0xb Node=0x2 Uid=1000 Gid=1000 Pid=1286] \"test-7ed97e18dc7498e06a01bf95d0925ab3\"" source=fuse
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="-> [ID=0xb] Lookup error=ENOENT" source=fuse
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="<- Create [ID=0xc Node=0x2 Uid=1000 Gid=1000 Pid=1286] \"test-7ed97e18dc7498e06a01bf95d0925ab3\" fl=OpenWriteOnly+OpenCreate+OpenTruncate mode=-rw-r--r-- umask=--------w-" source=fuse
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="-> [ID=0xc] Create {0x4 gen=0 valid=1m0s attr={valid=1m0s ino=12840365178257753003 size=0 mode=-rw-r--r--}} {0x1 fl=OpenDirectIO+OpenNonSeekable}" source=fuse
Feb 11 07:07:31 backup-gateway sftp-server[1286]: error: process_write: seek failed
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="<- Flush [ID=0xd Node=0x4 Uid=1000 Gid=1000 Pid=1286] 0x1 fl=0x0 lk=0xc46686e82fc5621b" source=fuse
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="-> [ID=0xd] Flush" source=fuse
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="<- Release [ID=0xe Node=0x4 Uid=0 Gid=0 Pid=0] 0x1 fl=OpenWriteOnly rfl=0 owner=0x0" source=fuse
Feb 11 07:07:31 backup-gateway mount: time="2020-02-11T07:07:31-05:00" level=debug msg="-> [ID=0xe] Release" source=fuse

Additional information :

The error is appearing when configuring Plesk (Web Hosting Panel) with SFTP Backup Extension. It uses cURL to perform the tasks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant