Cbbackup hangs, nothing written to disk

Environment:
4.1.0-5005 Community Edition (build-5005)
Ubuntu 16.04
Azure

Hi all,

My couchbase backups were working fine until MS Azure decided to redeploy all their machines due to the intel bug. Now, on this server specifically, when I run cbbackup, it’s says skipping the memcache bucket, and no further screen output.

In the file system, you can see where it’s created the folders for the first bucket backup, but nothing is put in, as in zero size.

The process will stay open basically forever unless I kill it.

Any thoughts/fixes/workarounds would be most appreciated.

Hi Bruce,

Will investigate and get back to you soon.

I was working on this issue yesterday with a colleague, and he suggested just running backup on one bucket. So i typed the command and decided to dump to /tmp instead of the normal NFS mounted drive.

Lo and behold it worked. Now, there’s nothing wrong with the NFS drive as I have several other processes that are able to write there no problems. I added 777 permissions as well, still no joy. So, if you have ideas on this, please let me know.

We do not support Ubuntu 16.04 64-bit on Couchbase Server 4.1.0
For Couchbase Server 4.1.0, we support Ubuntu 14.04 and Ubuntu 12.04 64-bit. I will try out Couchbase Server 4.1.0 in Ubuntu 14.04 in Azure

I install Couchbase Server 4.1.0 Community Edition on Ubuntu 14.04
Create 2 buckets, bucket0 and travel-sample.
Load 10K items to bucket0
Run cbbackup to backup those data in 2 buckets. cbbackup runs without any issue.

root@thuan-ubuntu1404:/home/thuan# /opt/couchbase/bin/cbbackup http://172.16.2.5:8091 /tmp/backup/ 
2018-01-25 19:18:28,744: mt skipping bucket that is not a couchbase-bucket: default
  [####################] 100.0% (10000/estimated 10000 msgs)
bucket: bucket0, msgs transferred...
       :                total |       last |    per sec
 byte  :               676888 |     676888 |   147279.3
  [####################] 100.0% (31569/estimated 31569 msgs)
bucket: travel-sample, msgs transferred...
       :                total |       last |    per sec
 byte  :             31727564 |   31727564 |  1624259.2
done
root@thuan-ubuntu1404:/home/thuan# uname -a
Linux thuan-ubuntu1404 4.4.0-111-generic #134~14.04.1-Ubuntu SMP Mon Jan 15 15:39:56 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

root@thuan-ubuntu1404:/home/thuan# cat /etc/issue
Ubuntu 14.04.5 LTS \n \l

root@thuan-ubuntu1404:/home/thuan#

@thuan I guess you missed my reply to @chaitra.ramarao . I later found an article saying that Couchbase has an issue with NFS. This does not explain why the backups work on other servers that also use NFS, however, I just rescripted it to backup to a local folder, /tempbackup, and once done, it’s copied to the remote drive, then deleted locally. Mission accomplished.