HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How often does Samba write to disk?
Operating System - Linux
1826372
Members
3455
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 03:25 AM
10-13-2005 03:25 AM
How often does Samba write to disk?
samba-3.0.7-1.3E.1
Does anyone know how often samba sync's itself with the disk?
Does anyone know how often samba sync's itself with the disk?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 05:52 AM
10-13-2005 05:52 AM
Re: How often does Samba write to disk?
Any time Samba has to write it tries. That means when it has write requests.
There are several factors that can delay writes, which include system wait i/o as in other write requests inline ahead of Samba.
SEP
There are several factors that can delay writes, which include system wait i/o as in other write requests inline ahead of Samba.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 06:43 AM
10-13-2005 06:43 AM
Re: How often does Samba write to disk?
what about the "sync always" command which causes Samba to flush every write to disk? What happens when this isn't on? Is it held in a cache and then wrtiien to disk every so often?
Thanks,
T.J.
Thanks,
T.J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 04:20 PM
10-13-2005 04:20 PM
Re: How often does Samba write to disk?
sync always ensures that samba writes the data to the disk before every write request gets completed.
otherwise in general, any application which wants to write data to hard disk simply gives the data to the kernel and the linux kernel will decide apprpriate time (based on CPU idle time, hard disk I/O performance, cache buffer) to write the data actually in to the disk.
enabling sync always has its own advantage and disadvantage:
adv: your data is always written to the hard disk, incase of powerfailure and machine goes down abruptly also your last second data is written to the hard disk.
dis-adv: server response goes very badly because it has to write the data back to the disk (which is very much slower than the CPU) every time and until the data is written the server will not respond back to the client.
Hope this helps,
Gopi
otherwise in general, any application which wants to write data to hard disk simply gives the data to the kernel and the linux kernel will decide apprpriate time (based on CPU idle time, hard disk I/O performance, cache buffer) to write the data actually in to the disk.
enabling sync always has its own advantage and disadvantage:
adv: your data is always written to the hard disk, incase of powerfailure and machine goes down abruptly also your last second data is written to the hard disk.
dis-adv: server response goes very badly because it has to write the data back to the disk (which is very much slower than the CPU) every time and until the data is written the server will not respond back to the client.
Hope this helps,
Gopi
Never Never Never Giveup
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP