|
|
Filesystem Timeouts (a mini HOW-TO)
Back in the day, if you used NFS and mounted your volumes off of a file server, you had the choice to use what were called soft mounts and hard mounts. Hard mounts let the kernel and the file system buffer every file operation (reads and writes). If the file server went off line, any file operations would "hang" and wait for it to come back up before the operation was completed. This includes things like listing the directory even. This was good if you wanted to prevent data loss at the cost of waiting for the server to come back online.
Filesystem Timeouts (a mini HOW-TO)
I'll have to keep this tip in mind next time I mount shares remotely as I just happened to run into this exact problem the other day.
Filesystem Timeouts (a mini HOW-TO)
An option to enable these settings on all mounted
shares would be to rename /sbin/mount_smbfs to e.g.
/sbin/mount_smbfs.bin and writing a script
named /sbin/mount_smbfs with the following
contents:
#!/bin/sh /sbin/mount_smbfs.bin -R2 -T5 $@ Don't forget "chmod +x /sbin/mount_smbfs".
Filesystem Timeouts (a mini HOW-TO)
Very intresting ! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.19 seconds |
|