Questions tagged [raid]

RAID (Redundant Array of Independent Disks) is a technology that provides increased storage functions and reliability through redundancy.

RAID (Redundant Array of Independent Disks) is a technology that provides increased storage functions and reliability through redundancy.

38 questions
2
votes
2 answers

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 as the AHCI driver and SAS driver. In kernel code…
user149883
2
votes
0 answers

Sending IDENTIFY DEVICE COMMAND - ATA PASS THROUGH on raid - SSD

My aim is to detect Solid State Drives in systems with raid configuration. Using smartmontools' following command I observe bit 434 (217) shows value 1 for SSD: smartctl -i -r ataioctl,2 /dev/csmi0,0 Attempting to read the same 512 bytes of data I…
pp99
  • 23
  • 1
  • 7
1
vote
1 answer

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 application, File size set to 8Gb and block size…
Mathieeo
  • 23
  • 3
1
vote
1 answer

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 | grep 'Working Devices :' | while read OUTPUT; do…
Xbert
  • 91
  • 1
  • 1
  • 5
1
vote
2 answers

What's the most efficient way to process massive amounts of data from a disk using python?

I was writing a simple python script to read from and reconstruct data from a failed RAID5 array that I've been unable to rebuild in any other way. My script is running but slowly. My original script ran at about 80MB/min. I've since improved the…
OmnipotentEntity
  • 16,531
  • 6
  • 62
  • 96
1
vote
1 answer

Why does file operations hangs after deleting folder on large NTFS volume

There is a computer under Windows Server 2012R2 with 54,5 TB NTFS volume. Volume is almost full and highly fragmented (defrag.exe says that it has 98% fragmented space). It is used for storing video archive and have folder structure: d:\Video\.…
MaxP
  • 145
  • 1
  • 7
1
vote
1 answer

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 live in /usr/local/nagios/etc/objects/ folder. I…
1
vote
1 answer

What is the purpose of the structure mddev in md.c?

I am pretty new to Linux kernel programming and I am supposed to create a new RAID level for a course. This is why I am asking myself some questions about the functions and structures contained in the md.c file and especially about the structure…
Zaaro
  • 11
  • 2
1
vote
1 answer

Auto yes to raid5 array script

I am working on a script to install a array raid5. I am having trouble with inserting auto=yes when the script ask: if I want to continue creating array. I tried --auto=yes (http://www.linuxmanpages.com/man8/mdadm.8.php) but very unsure where to…
user3185936
  • 1,567
  • 6
  • 23
  • 44
1
vote
3 answers

Boto - how do I wait for a background process (e.g. mdadm) to finish before running a new command?

I'm scripting up my amazon deployment, and I haven't managed to automate a step in it. The step is between setting up RAID (via mdadm) and then installing my db (mongo) on the new mounted directory. This is because I have to wait for mdadm to finish…
Louis Sayers
  • 2,162
  • 3
  • 30
  • 53
0
votes
1 answer

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 is an array of 134184960 bytes that I must write…
Danilo7
  • 47
  • 9
0
votes
1 answer

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 up a notification about changing the RAID status,…
Petr
  • 75
  • 1
  • 8
0
votes
1 answer

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 information. Any advice, really appreciated! Thank…
Cheries
  • 834
  • 1
  • 13
  • 32
0
votes
1 answer

Kafka on AWS with Raid-0 striping

AWS confluent quickstart configures Kafka log.dirs with 4 512GB EBS block devices with RAID-0 striping for higher throughput and also helps bypass the 1TB limit of block devices without provisioned IOPS. I have just learned that losing a block…
0
votes
1 answer

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.system('sudo losetup -D -v'); os.system('sudo…