Difference between revisions of "Centos"
Jump to navigation
Jump to search
(Created page with '=bugs= ==NFS mount permission denied== Error: <pre> [root@traderdirect ~]# mount 10.93.138.18:/nfs-shares /mounts/tdstorage/ mount: 10.93.138.18:/nfs-shares failed, reason given …') |
m |
||
| Line 8: | Line 8: | ||
Solution: /bin/mount -t nfsd nfsd /proc/fs/nfsd | Solution: /bin/mount -t nfsd nfsd /proc/fs/nfsd | ||
See: [http://bugs.centos.org/view.php?id=2030 this bug report] | See: [http://bugs.centos.org/view.php?id=2030 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 | ||
Revision as of 05:46, 11 January 2011
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