Questions tagged [write]

44 questions
0
votes
2 answers

Should sector-unaligned HDD writes be slower than sector-aligned writes?

Background: I'm planning to use ZFS and I need to find the correct ashift parameter for my harddrive, which should be log2(sector_size), e.g. 9 for 512 byte sectors. My harddrive reports a physical and logical sector size of 512 bytes. I read that…
David Scherfgen
  • 285
  • 2
  • 7
0
votes
1 answer

Postgresql and backups: can't access and manage my folder

I just want to pg_dumpall my postgresql db in /home/ftpuser/backups/ folder i just created. So I created a group (backuppers) with ftpuser and postgres as members. then i chgrp backuppers to /home/ftpuser/backups/, also chown postgres:backuppers…
0
votes
1 answer

Write to file (Nagios3)

I try to make script/command in nagios3 at write in new file some data but nagios will not do that. I try that simple bash command: printf "something" > /path-to-file/new-file But nagios don't open/write file. I try direct i definition of nagios…
Gruja
  • 19
  • 7
0
votes
1 answer

What read/write speed should I expect when writing a file to unix box over cat5e cable?

Right now the read is at 40+ megabytes/second and the write is around 1.5 megabytes/second. Is that to be expected or should I do more diagnosing? It seems awfully slow... My setup: Macbook Pro connected to LAN with cat5e. I'm writing to a dell box…
teewuane
  • 103
  • 3
0
votes
1 answer

Postfix can't write queue file

We had a problem with our mailserver lately: Setup: Server with Raid 1 running XenServer VM with Mailserver What happend? 1 disk failed Raid-Controller locked the disks so nothing could be written to prevent data loss And my question is, how…
0
votes
1 answer

Which user should i give permission to in IIS?

I'm running a windows 2012 server with IIS 8 installed, I have a php script which complains about not having write permission on a specific folder. If I grant permissions to this IUSR user, It works just fine, But I don't know if this is the right…
Sam
  • 209
  • 1
  • 4
  • 9
0
votes
1 answer

How to grant full rights in smb.conf for subnet?

I have following smb.conf: http://pastebin.com/gCchZQvC Situation is that when I'm mapping my shares I need to login using my credentials to have ability to create directories and files. When I'm using applications ment to use the share as a write…
Darj
  • 55
  • 8
0
votes
1 answer

PHP script gives "failed to open stream: Permission denied" unless permissions allow public write

I have a php script in a directory called /manager. In it, I open and write to a file in the directory above /manager. However, if the permissions are set to allow owner write, I get "failed to open stream: Permission denied" It only works when I…
cstack
  • 163
  • 1
  • 2
  • 7
0
votes
4 answers

is there some sort of catchable trigger when one writes/deletes a new file in linux?

I would like a simple tool for syncing two folders on remote servers... Utopically, I only need an OS catchable trigger (or something like that) that could be used to fire rsync automatically ? Is there anything of the sort, or a simple tool capable…
arod
  • 582
  • 6
  • 19
0
votes
1 answer

Slow speed for UFS mounted drive in Linux

I have a disk that has Sun OS disk, (ufs filesystem). And I want to mount it in my debain machine with read/write mode. Since by deafult linux doesn't support write to ufs filesystem. I had to recompile the kernel by setting to the flag…
Incredible
  • 151
  • 1
  • 1
  • 5
0
votes
0 answers

MYSQL use too much disk (read / write)

I have big problem with my server. I am using Ubuntu linux version 22.04. The problem is in the write / read disk (light for the disk is all the time ON) when I have turn on apache (PHP) and MYSQL. Here is the picture (CPU…
Jure
  • 1
  • 1
0
votes
0 answers

User is logged in but who command doesn't list that user as logged in, how to resolve this issue?

I'm on centos 7 minimal. I've duplicated a SSH session at 192.168.169.128 in 2 tabs of mobaxterm. In first tab, I've logged in as "server1" user. Whereas in second tab, I've logged in as root. I want to send a message from root to "server1".…
achhainsan
  • 123
  • 7
0
votes
0 answers

RAID patrol write to force sector remap/rewrite?

So I have a HPE S100i SR Gen10 software RAID 1 device that hosts 2 SATA SSD's for a Windows boot partion. The HPE Storage Array management software looks like it found a problem on the SSD's during a patrol read... Warning: This logical drive has…
Asteroza
  • 41
  • 3
0
votes
1 answer

IRP_MJ_WRITE latency up to 15 seconds

We have written an application that performs small (22kB) writes to multiple files at once (one thread performing asynchronous queued writes to multiple locations on behalf of other threads) on the same local volume (RAID1). 99.9% of the writes are…
racitup
  • 132
  • 1
  • 10
1 2
3