Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If I create an encrypted share (internally done via ecryptfs) on a synology disk station DS109 (DSM 4.1), mounting is very slow (approx 40 seconds).

It doesn't matter if I do it via the web-interface or via synoshare --enc_mount myencryptedshare mypassphrase. It also doesn't matter if there is data in the share or not, same 40 seconds for an empty share and for one with 1GB in it.

Mounting with encfs works perfectly, so I guess it might not be an CPU issue, since encfs seems to be a bit slower in general than ecryptfs.

Any idea what may be wrong?

How can I debug this?

share|improve this question
add comment

1 Answer

How can I debug this?

Try to strace the command. That should show the syscalls the program is making, which could help you narrow it down.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.