I installed the package nfs-utils and tried it via:
# mount -t nfs server:/mnt /mnt
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
Ok, probably need to start that - via systemd - right?
# systemctl start nfs-lock.service
Job failed.
Hi all,
I'm fighting with NFS4 and can't get it to work properly.
The Server runs Ubuntu 12.04, in /etc/exports I have:
Code:
/media/Pictures 192.168.1.0/255.255.255.0(sync,no_subtree_check,rw,nohide)
With this I can mount it on my laptop (Ubuntu 10.04) with
Code:
sudo mount 192.168.1.200:/media/Pictures /mnt/SharedFiles/Pictures -o nolock
but I have to type that every time I start
These are the settings on my server, which has a static ip:
Code:
[tim@computim ~]$ cat /etc/exports
/media/cavern 192.168.1.*(rw,sync)
Code:
[tim@computim ~]$ cat /etc/hosts.deny
portmap:ALL
mountd:ALL
rquotad:ALL
statd:ALL
Hi. I need to share some folders. Samba is no longer an option. Since months it crashed horrendously. I pretend to access the my laptop'home, using wifi, from my PC which is using a wired connection.
I have a shared directory on another machine but I can't get it to mount as a samba share.
The permission denied doesn't say where/which permission is denied. Is it on the remote on on the local machine?
Yesterday I was able to mount my smb share with the following command
sudo mount -t cifs //XXXX/share /media/share -o user=Ben,password=XXX,workgroup=WORKGROUP,ip=XXX.XX.XX,uid=ben,gid=ben,rw
I don't know why it is not working anymore.
I currently use a script which contains commands along the lines of
sudo /sbin/mount.cifs $SERVER_SHARE $MOUNT -o username=$DOMAIN_$USER,uid=$USER,gid=$USER,file_mode=0664,dir_mode=0775
to mount my cifs shared directories.
After much digging around I've found a way to share my NTFS drives, but I don't know how to do it so it will still remain active after I restart the computer.
This is the method I currently use:
First, I unmount the drive (Since ubuntu mounts it on start-up)
then I open the terminal and use the following command:
sudo /sbin/mount.ntfs /dev/sdc1 /media/Expansion -o rw,auto,user,fmask=0111,dmask=
I tried to mount a samba share from my windows box and it yelled about there not being a mount.cifs. :/ mount: wrong fs type, bad option, bad superblock on //AWESOME/music,
missing codepage or helper program, or other error
(for several filesystems (e.g.