Centos
Jump to navigation
Jump to search
bugs
NFS mount permission denied
Error:
[root@traderdirect ~]# mount 10.93.138.18:/nfs-shares /mounts/tdstorage/ mount: 10.93.138.18:/nfs-shares failed, reason given by server: Permission denied
Solution: /bin/mount -t nfsd nfsd /proc/fs/nfsd See: this bug report
General
Add Swap
TO add a 4 gig swap:
- dd if=/dev/zero of=/swapfile bs=1M count=4096
- mkswap /swapfile
- swapon /swapfile
Then add the following to /etc/fstab:
- /swapfile swap swap defaults 0 0