ssean Posted February 21, 2014 Share Posted February 21, 2014 I'm running the following command: sudo mount //tower/disk2/ /tower/disk2 I'm receiving the following error: mount: /tower/disk2 is not a block device Quote Link to comment
hgeorges Posted February 21, 2014 Share Posted February 21, 2014 Since no one else answered, I'll give it a try... on one side (unraid) you have to make sure you export the disk on the receiving side, you have to have cifs.utils package to mount (smbmount, or mount -t cifs) also you can use smbclient -L hostname to see what is exported by your unraid srv Quote Link to comment
CrashnBrn Posted February 21, 2014 Share Posted February 21, 2014 I think it would be easier to mount using NFS rather than CIFS. Do you have NFS enabled? Quote Link to comment
ssean Posted February 21, 2014 Author Share Posted February 21, 2014 I was able to get it mounted by creating a .smbcredentials file and running the following command: sudo mount -t cifs //tower/disk2/ /tower/disk2 -o credentials=/home/sean/.smbcredentials My next issue is regarding permissions. I can access the mounted drive, but I can't write to it. Would I be better off using NFS? Quote Link to comment
CrashnBrn Posted February 21, 2014 Share Posted February 21, 2014 I was able to get it mounted by creating a .smbcredentials file and running the following command: sudo mount -t cifs //tower/disk2/ /tower/disk2 -o credentials=/home/sean/.smbcredentials My next issue is regarding permissions. I can access the mounted drive, but I can't write to it. Would I be better off using NFS? While I'm not a linux export I believe CIFS is more for windows than for linux boxes. I think it would be easier on permissions if you used NFS as opposed to CIFS. Quote Link to comment
hgeorges Posted February 21, 2014 Share Posted February 21, 2014 I was able to get it mounted by creating a .smbcredentials file and running the following command: sudo mount -t cifs //tower/disk2/ /tower/disk2 -o credentials=/home/sean/.smbcredentials My next issue is regarding permissions. I can access the mounted drive, but I can't write to it. Would I be better off using NFS? if your uid, gid don't match those on unraid server, try adding noperm flag in the mount command (if you don't want to enforce permissions /credentials) - if this is a relaxed environment -o rw,guest,noperm should do the trick Quote Link to comment
NAS Posted February 21, 2014 Share Posted February 21, 2014 Also use IP not server name to prove the mount. Ubuntu has a long long history of wonky netbios resolution Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.