Any ideas what im doing wrong?

mkdir /mnt/zmg
mount -t cifs -o username=Administrator,password=*****,domain=Provisorio,noserverino // /mnt/zmg
insmod /mnt/zmg/tntfs.ko

Heres a print of the erros on bash:

mkdir: cannot create directory '/mnt/zmg' : File exists
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
insmod: ERROR: could not insert module /mnt/zmg/tntfs.ko: File exists

EDIT: About insmod error, i solve it with add "rmmod /mnt/zmg/tntfs.ko" before insmod call

  • 1
    Run df and lsmod. Perhaps /mnt/zmg is already mounted and the kernel module is already loaded ? – steve Jan 31 '19 at 22:44
  • can you show me changes that ive to do? – firewallcj Jan 31 '19 at 22:54
  • @roaima, text added – firewallcj Feb 1 '19 at 10:06

You are not doing anything wrong. All of those error messages are telling you that the operation has already been performed. Run lsmod | grep ntfs (or maybe just lsmod) to confirm.

Perhaps those commands are in startup script, so get executed automatically on boot? Or perhaps someone else ran them? Or perhaps you ran them yourself, but since none of them have any output on success, they all worked and you didn't realise it?

  • In fact, the code are executed by server. As a client, im only have to type "img" on bash to select a proper (zenworks) image to restore. My main goal is clear or solve those errors. Next step, is automatize "img" command. – firewallcj Jan 31 '19 at 23:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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