Questions tagged [raid]
RAID (Redundant Array of Independent Disks) is a technology that provides increased storage functions and reliability through redundancy. QUESTIONS WITH THIS TAG MUST BE RELATED TO PROGRAMMING. General questions about setup, maintenance, performance, etc. of raid arrays are off-topic on Stackoverflow.
raid
27
questions
-1
votes
3
answers
201
views
Difference between implementing RAID 0 and attaching multiple EBS Volumes on AWS
What is difference between implementing RAID 0 and just attaching multiple EBS Volumes on AWS EC2? Both seem to just sum the performance (?).
Any other operational differences or use case scenarios, ...
0
votes
0
answers
76
views
PowerShell (Device Control)
I have an older Adaptec RAID Controller card (6805/6805Q) that controls a number of RAID1 arrays. This card has no issues with a Windows system running in the older MBR mode, but for the newer UEFI ...
0
votes
0
answers
363
views
How to wait for mdadm RAID array's resync process to fully complete?
I currently have a logic to wait for the resync process to finish by looking at /sys/block/mdXXX/md/raid_state to be clean and assume that the resync has finished. However, I don't think this is ...
0
votes
1
answer
159
views
Write large byte arrays on RAID0 virtual disk
I have a camera that produces 20 frames per second.
I made an app in C# that grabs the frames and put them in a concurrent queue.
I have another thread that writes the frames on filesystem.
Each frame ...
2
votes
1
answer
1k
views
Improving performance of git repo with hundreds of thousands of small files
I'm trying to improve performance of a git repository that is being used almost exclusively by me to version a scientific computing project. The project's simulation software blasts teeny (less than ...
4
votes
1
answer
515
views
SCSI read capacity (10) reports wrong LBA and sector size
I've been trying to test my AHCI driver for my hobby OS on bare metal. Before that, I tested my driver in QEMU with the parameters:
qemu-system-i386 -boot d -cdrom elfboot.iso -machine q35 -m 2G -hda ...
0
votes
1
answer
196
views
mdadm statechanging alertscript
I have a handmade NAS running on "Debian 10 buster" with RAID 5 in it,
root@fox-nas:~# uname -a
Linux fox-nas 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
And I tried to set ...
0
votes
1
answer
453
views
How to identify the disk Optane or Raid type using Powershell?
I would like to identify the disk information whether it contain of RAID or Optane.
Is it possible to get that information with PowerShell?
I try Get-PhysiclDisk and Get-Disk, but not including that ...
1
vote
1
answer
195
views
C++ FileApi.h no caching, how do i get the disk activity to 100%
Hello and thanks for reviewing my problem.
I have a system configured with PCIe RAID0 controller x16 lines connected to 4 NVMe Intel drives 2Tb each through m.2 connector.
Using ATTO Disk Benchmark ...
1
vote
1
answer
707
views
How to run a bash script from crontab and send the output to desktop notifications
I'm trying to get the RAID status every time i boot into my system (Debian) and send the output as notification in the desktop.
This works as expected from terminal:
sudo mdadm --detail /dev/md0 | ...
2
votes
1
answer
1k
views
How to calculate RAID 5 parity for even disc count?
When I come to RAID 5 explanations I very often see pictures showing 4 discs with three data blocks and one parity block. As example calculation (on same sites, sometimes) I always see only 3 discs. ...
0
votes
1
answer
476
views
Checking of dd status in ubuntu using python
I'm creating a python script to automate dd for my raid disk. After dd is complete, i would like to perform other tasks. May i know how can i verify the statues of the dd progress using python?
os....
0
votes
1
answer
2k
views
Editing hex value at a particular position in disk image file using python
How do I edit hex value at a particular Sector of Disk image file (60GB) using Python?
Example:
Given 512,
File name: RAID.img
Typical File size: 60gb+
Sector: 3
Address Offset: 0000060A - 0000060F
...
1
vote
1
answer
1k
views
Custom command in Nagios not showing up in web gui
I have a Nagios install and am trying to add check_raid plug in. I have 3 custom cfg files that I added to nagios.cfg called custom-commands.cfg custom-servicegroups.cfg and custom-services.cfg. They ...
2
votes
2
answers
1k
views
How does Linux md driver write data to SATA disk?
In an Intel white paper, it says:
MD RAID in linux is a block driver that filters data between the Linux
File System driver, such as ext2 file system, and the low level hard
disk drivers, such ...