Questions tagged [raid]

RAID - Redundant Array of Independent Disks. A Storage technology to provide redundancy and performance, to reduce I/O bottlenecks involved in using multiple disks for large storage.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

How to set up Hardware RAID on Linux Server for Access from Windows as a NAS

As I'm fairly new to Linux I wonder how to set up my RAID for network-wide access to use it as a NAS also from Windows. I got a used Server with an Adaptec 6405 Hardware RAID Controller and added 4x ...
user avatar
  • 1
0 votes
0 answers
12 views

Stop Dracut from asking for a password

I have a device I've encrypted with luks1 and I decrypt it with a script in init.d. (Centos 6, no keyscript in crypttab). Its a raid disk, with the encryption under the raid, but I don't think that ...
user avatar
  • 151
0 votes
0 answers
19 views

How does it possible two hardware RAIDs in lsblk but one - in lspci?

lspci output: Slot: 02:00.0 Class: RAID bus controller Vendor: LSI Logic / Symbios Logic Device: MegaRAID SAS 2208 [Thunderbolt] SVendor: Dell SDevice: PERC H710P Mini (for ...
user avatar
1 vote
1 answer
42 views

Fixing missing superblocks on both RAID1 disks using mdadm

My RAID1 array was working fine at /dev/md128 but seems to have completely disappeared after a reboot, with mdadm reporting both disks are missing superblocks. My question is how to fix this? ...
user avatar
  • 223
0 votes
0 answers
19 views

How to get path of hardware RAID array in lsblk?

I detect list of hardware arrays by next command: lspci -vmm | sed -E -n '/RAID bus|SCSI controller/,/^ *$/p' | tr -d '\t' Example: Class:RAID bus controller Vendor:Broadcom / LSI Device:MegaRAID SAS ...
user avatar
0 votes
0 answers
21 views

Our MySQL is read heavy, but iostat reports that almost no reads are taking place. How come?

According to MySQL's STATUS command, we have about 500 reads and ~20 writes to our DB per second. But iostat is reporting that ~70 writes (w/s) and ~0.5 reads (r/s) are taking place on the ...
user avatar
  • 101
1 vote
1 answer
19 views

How to determine if mysql is using directory under mounted directory?

I currently have MySQL using /home/foo/data/database as its datadir. With /home/foo/data/database being a mounted raid 1 array. The problem I am having is that every once in awhile on boot MySQL is ...
user avatar
0 votes
0 answers
85 views

Recovery of Synology drives

Following a power cut last week, my Synology DS712+ (dual drive in Synology Hybrid Raid) no longer fires up and just has a blinking blue light. I have tried everything to get it to boot, but it's just ...
user avatar
  • 1
1 vote
0 answers
27 views

Tool for converting an existing multi-disk LVM to be striped?

I have an existing LVM volume group of 3 disks (same size) with 4 linear LVs. I would like to convert the LVs to be striped across the disks to balance the load on the disks more evenly. Shrinking the ...
user avatar
0 votes
1 answer
28 views

Disks not recognized after mdadm RAID 1

I built a RAID1 (mirror) with two identical disks of 2TB connected by SATA with mdadm tool (boot disk is an m.2 NMVe disk, the RAID is for storing data). The OS is BunsenLabs Lithium (based on Debian ...
user avatar
  • 111
1 vote
1 answer
45 views

md: kicking non-fresh sdg from array! md/raid:md0: and then not enough operational devices (3/7 failed)

today I run in a disaster... I have a RAID 6 with 7 HDDs and yesterday one disk failed. After replacing the disk and did a rebuild over night I found out that a 2nd HDD was out of the RAID... So today ...
user avatar
1 vote
1 answer
26 views

Checking a HDD's health in Raid?

I have a few HDDs in an Ubuntu SW-RAID array, and now I came across to quite a number of questions sticking together: 1.) Is it safe to do smartctl -t (SMART selftest) while the drive is part of an ...
user avatar
  • 207
2 votes
1 answer
17 views

RAID5 stopped randomly stopped working and now 2 drives show as (out of date)

I have been running this raid for a few months with new SSDs and today the raid stops working. After a restart the raid won't assemble again. All drive are fine and show as healty in SMART. I tried ...
user avatar
  • 31
1 vote
1 answer
90 views

MDADM RAID-1 arrays always do automatic check after booting from a several-day long shutdown

I have multiple PCs with Fedora 35 and RAID-1 MDADM arrays. Among them, only one is facing a weird problem: If I leave it shutdown for more than 2~3 days, it will definitely perform an automatic check ...
user avatar
0 votes
1 answer
29 views

Raid 1 Hardware Failure - new hardware MDADM - How to recover

I had a NAS, and the hardware failed. I put it in a totally brand new machine and hardware - this is software raid on a standard sata port with MDADM. Moved both disks - Raid1. There are about a ...
user avatar
  • 103
1 vote
1 answer
48 views

Negative disk used space after shrinking RAID1 in Debian 11

I resized an ext4 software RAID1 consisting of two disks sda3 and sdb3 (in rescue mode, i.e. disks are not mounted): e2fsck -f /dev/md126 resize2fs /dev/md126 39G mdadm --grow /dev/md126 --size 40G ...
user avatar
0 votes
1 answer
58 views

Expand 4TB storage drive that is at max capacity to 4 4TB drive RAID or ZFS, utilizing all 4 drives

I have a 4TB drive that is nearing max capacity and would like to move the data to a RAID or ZFS (the host OS is ProxMox 7.1). I have 3 other identical (WD Blue) 4TB drives (I might be able to get 1 ...
user avatar
1 vote
1 answer
33 views

mdadm DegradedArray, is that sofware a problem or hardware defect?

On a dedicated server at the hoster i received the email message for all raid arrays md0/md1/md2 : This is an automatically generated mail message from mdadm running on cn.com > `This is an ...
user avatar
0 votes
0 answers
56 views

Problem install Arch Linux with RAID

I installed arch linux with RAID But if I detach one of the two disks, the kernel cannot find the root partition, i give you a list of the most relevant files so you can help me find the cause of the ...
user avatar
1 vote
0 answers
25 views

mdadm rotate hot spare

It can be a good idea to have a hot spare in some RAID systems. It can be a bad idea for the hot spare to sit idle for months/years, potentially hiding a defect, until an active drive fails and ...
user avatar
0 votes
1 answer
24 views

OS and addtional software raid is it a good approach?

A friend of mine wants to use a root server for his wordpress pages. His idea is to use one SSD as main drive for the OS and two HDDs for WWW-Root and database data. The idea is to use both HDDs in a ...
user avatar
  • 1
0 votes
0 answers
19 views

Is it possible to have nested striping (besides RAID10) in LVM?

I want to put one RAID on top of other RAIDs. This can easily be done with MDADM by using an existing MD device as one of the members for the new MD device. Similar functionality could probably be ...
user avatar
  • 219
1 vote
2 answers
36 views

Luks volume in new PC destroyed header?

I had my data backed up on a Luks Volume in a raid1 (2 discs in raid 1 first, Luks second) I moved the 2 drives into a new server and they quit working. After a mild panic attack I searched for more ...
user avatar
0 votes
0 answers
25 views

Why does mdadm not mark the parity RAID5 disk as active?

I originally had a RAID5 array with four 2TB disks (6TB usable space). Here it is while it was rebuilding after initial creation: $ sudo mdadm --detail /dev/md/data Raid Level : raid5 ...
user avatar
0 votes
2 answers
35 views

server unresponsive after configuring raid 1

On a brand new server I've got 2 SSD discs that are by default configured to RAID 1 and 2 6TB discs that are not. The 6TB discs are identified as /dev/sdc and /dev/sdd I've run these commands (taken ...
user avatar
  • 325
0 votes
2 answers
230 views

GRUB won't boot from second hard drive in RAID 1 array

I've spent a couple of hours on this (and gone through dozens of StackExchange posts) and am still stuck. I've got a Debian box in a software RAID 1 configuration. The machine currently boots fine. I'...
user avatar
2 votes
0 answers
121 views

Mdadm Raid 5 not starting after reboot (IO Error & Dirty Degraded)

I added a new 3TB Drive to my working Raid5 Array yesterday and left it to rebuild overnight. Today I got the following error in journal: Jan 16 07:49:42 iHugo kernel: INFO: task md0_resync:854 ...
user avatar
0 votes
0 answers
15 views

Difference in mdadm raid10

I was setting up a CentOS Linux server with 8 disks and somehow ended up with two different raid10 devices. This is what I'm accustomed to seeing with the two sets making up each pair for the device......
user avatar
  • 101
1 vote
0 answers
37 views

How to increase size of software RAID0 Arrays?

My Raid0 array consists of two partition components. [root@rhel-85 ~]# mdadm --detail /dev/md0 /dev/md0: Version : 1.2 Creation Time : Sun Jan 9 17:25:26 2022 Raid Level : ...
user avatar
  • 151
1 vote
0 answers
50 views

mdadm - raid6 has 4 devices working, but doesn't start and can't add new drives

My software raid6 fails to mount. It looks like two drives failed at the same time, since /proc/mdstat only lists four: Personalities : [raid6] [raid5] [raid4] md0 : inactive sde1[8] sdc1[7] sdd1[9] ...
user avatar
1 vote
1 answer
41 views

Moving RAID5 to RAID1 -- Out of Disk Slots [duplicate]

Years and years ago, I set up a 4 TB RAID5 array using 3x 2 TB disks. Those are positioned in sda/b/c. I have a very old tiny disk in sdd, and I'm booting from a 1 TB SSD in sde. Yea, it's a mess. ...
user avatar
  • 11
0 votes
0 answers
28 views

LVM on SSD has very high write latency

I'm benchmarking lvm raid10 on ssd and postgresql 13. vgcreate tst3vg /dev/mapper/3600140500000[123456789a]00006a0000000000000 lvcreate --type raid10 -i 5 -m 1 -L 8850G -n lv_tst --raidintegrity y ...
user avatar
5 votes
1 answer
225 views

Can a RAID5 disk be moved to a different slot?

I have a healthy RAID5 array with 5 disks: # cat /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid5 sdb1[6] sdd1[0] sdh1[5] sdf1[2] ...
user avatar
  • 2,948
1 vote
1 answer
57 views

Mismatch in disk size between lsblk and df

I have recently upgraded two soft raid1 2TB disks with a set of two 4TB raid 1 disks. (see Replacing soft RAID1 LUKS disks with larger ones) The guide was amazing, however I find myself with two ...
user avatar
  • 709
0 votes
0 answers
27 views

lost partition table after dist-upgrade (debian)

My setup is as follows: /dev/sda -> /dev/sda/1 = SSD, unecrypted, ext4 filesysstem, all files in single partitions OS install. /dev/sdb -> /dev/sdb1 - HDD, unencrypted, ext4 - linux raid (...
user avatar
0 votes
1 answer
142 views

ZFS - only one single disk/by-id for two nvm devices

I am trying to use best practices to setup a mirrored zfs pool on a ubuntu 20.04 server. My hardware is 2x 1TB nvme in an external USB-C enclosure GEN2 SSD enclosure. My issue is both disks seem to ...
user avatar
  • 3
0 votes
0 answers
52 views

How do I set up a JBOD device on Ubuntu using a SAS card

I am running Ubuntu 20.04 LTS server. I have installed a SAS PCI card I purchased from Amazon. The card is active and detected (lspci shows the device). I have installed the appropriate drivers from ...
user avatar
  • 101
3 votes
0 answers
69 views

why raid0 is slower than single disks

Here is my raid details: % sudo mdadm --detail --scan ARRAY /dev/md/blueray-i5:0 metadata=1.2 name=blueray-i5:0 UUID=93a44fb0:9a66b691:f567475e:4a11d39a % sudo mdadm --detail /dev/md/blueray-i5:0 /dev/...
user avatar
  • 1,201
0 votes
2 answers
35 views

Is there a way to clearly define hardware controller?

Background There's a task to automate info grabbing from servers. However, I am unable to locate any hardware or software RAID controllers. Issue Due to the various ways each vendor describes its ...
user avatar
2 votes
1 answer
217 views

Is it possible to avoid cached data duplication in bcache and Btrfs RAID1?

There is a possibility to attach single bcache cache drive to multiple backing devices. Since bcache is not aware about filesystem which lies on top, this means it is not aware about any software RAID ...
user avatar
0 votes
1 answer
100 views

Replacing soft RAID1 LUKS disks with larger ones

I am planning to replace two soft RAID1 disks (2TB) with two identical (4TB disks). The current disks are configured with soft RAID 1 running debian 11. The disks are not root. My plan is to replace (...
user avatar
  • 709
0 votes
0 answers
28 views

getting command error when setting up RAID5 and cannot recognize 2 HDDs

I am a beginner to programming, but attempting to set up RAID 5. I am following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-ubuntu-16-04 ...
user avatar
0 votes
0 answers
20 views

Ubuntu 20.04 raid 5 server configuration failed

I lost the raid 5 configuration after rebooting the raid 5 server. The error message says "virtual disk not found". I have no system to reconfigure it. The picture is attached below:
user avatar
0 votes
0 answers
15 views

Does mdraid use new disk read/write while sync?

I'm moving my MDRAID1 array from HDD to SSD and added a new SSD disk to array. Does system use it for except for sync? Or new disk becomes useful only after resync completes?
user avatar
1 vote
1 answer
676 views

mkfs error: /dev/nvme0n1 apparently in use by the system; will not make a filesystem here

I added a nvme storage device to a Dell 7820 workstation (alias: new-machine). The storage device was used in another server (alias: old-machine) and it seems like it was configured as RAID. Anyway I ...
user avatar
0 votes
0 answers
169 views

"mdadm: No devices listed in conf file were found" after updating imsm RAID array configuration using Intel Rapid Storage BIOS menu

I have been running Debian 11 on an old Fujitsu Primergy server, with a two-disc RAID0 array created using the Intel Rapid Storage BIOS menu prior to the installation of Debian. Recently I added two ...
user avatar
  • 1
1 vote
0 answers
24 views

Software RAID Issues with Missing Drive from Boot

I have a 3-drive software raid1 (on RHEL 7) that I am trying to test the limits on. This system boots in legacy/mbr mode and does not support uefi. One of the problems I have encountered is; from a ...
user avatar
3 votes
1 answer
131 views

MDADM RAID 10 recovery

Pretty sure I have two nearly failed disks in soft RAID 1+0. The wrong two. There was power loss during a scheduled sunday resync. sdc has some SMART errors. Write Speed was maxed out during recovery ...
user avatar
0 votes
0 answers
47 views

Can't install grub during ubuntu-server 18.04 installation

I'm trying to install ubuntu 18.04 on a supermicro server with software raid1. I configure the raid and start installation all works fine until the part that it installs grub. When i do " alt + ...
user avatar
1 vote
1 answer
210 views

How to read contents of a hard disk image file that seems to be part of a RAID

I received a hard disk image file from a friend. I decompressed it with xz. Afterwards, I ran fdisk -l the-decompressed-hard-disk-image-file. Output: Disk the-decompressed-hard-disk-image-file: 64 MiB,...
user avatar
  • 123

1
2 3 4 5
15