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
2 votes
1 answer
19 views

hddtemp with raid controller

# hddtemp /dev/sda: DELL PERC H740P Adp: S.M.A.R.T. not available /dev/sdb: DELL PERC H740P Adp: S.M.A.R.T. not available # smartctl --scan smartctl --scan /dev/sda -d scsi # /dev/sda, SCSI device /...
  • 4,643
2 votes
0 answers
18 views

Raid can be assembled but not mounted, issue is with the superblock

I moved tow drives which where mounted in a raid1 to another to a new system to be mounted there. One drive was detected instantly, the other one had issues with the super blocks. After reading Kevin ...
  • 21
1 vote
0 answers
46 views

Running fsck on Raid drive

I recently bought an old ix4-300d NAS be Lenovo (obsolete model). It started after some time showing file system error. I tried to run fsck after connecting to the unit with putty through SSH, which ...
  • 11
1 vote
0 answers
14 views

Does Ubuntu installation keep multiple ESP synced? How to setup /etc/fstab to fallback mount /boot/efi?

Disclaimer: I have no experience installing Ubuntu Server in UEFI boot mode. Context I'm setting up this new servers with RAID 10 via mdadm. AFAIK, ESP can't be RAIDed, so during Ubuntu installation ...
1 vote
1 answer
29 views

LVM2 Integrity feature breaks LV activation?

I've been trying to enable the integrity feature on my new LVM2 volumes. I use a command like this to create the lv: sudo lvcreate --type raid1 --mirrors 1 --size 20g --raidintegrity y --name RAID ...
  • 113
1 vote
0 answers
16 views

udev - nr_requests on block device not applying on boot but all other rules run correctly

My Rules KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="PERC_H755N_Front",\ ATTR{queue/nomerges}="2",\ ATTR{queue/nr_requests}="...
0 votes
1 answer
24 views

Why does udev automatically whitelist my RAID card and what is the function of this whitelisting?

I've been learning to use udev and noticed that when I run udevadm test --action="add" /sys/block/sdc I see the following: GROUP 6 /usr/lib/udev/rules.d/50-udev-default.rules:59 IMPORT '...
0 votes
1 answer
67 views

Non existent RAID causing crash

I have nonexistent RAID according to mdadm md10. It periodically totally crashes my OS with an error: timed out ... accessing md10. Is there another way to delete this - it REALLY does not exist in ...
  • 155
0 votes
1 answer
84 views

How to identify hardware RAID controller on Linux

I'm trying to identify hardware RAID on Linux : $ lspci -nnd ::0104 -k 02:00.0 RAID bus controller [0104]: Broadcom / LSI MegaRAID SAS-3 3108 [Invader] [1000:005d] (rev 02) Subsystem: Dell ...
  • 1,571
0 votes
0 answers
30 views

mdadm shows wrong array size, and can not growing

I used 2 partitions to create a RAID1 array. both of them are 967131168 sectors, 512 bytes per sector. so the raid array size should be 483564544. but it shows: Array Size : 483433472 (461.04 GiB ...
0 votes
0 answers
12 views

Buffalo NAS access FILEIO

Alright my Linux gurus, i have a situation. I am trying to recover data from a Buffalo NAS with 12 4 TB drives in RAID 6 totaling close to 40 TB on one array. It shows that the drive has around 36 TB ...
  • 1
1 vote
1 answer
34 views

mdadm raid6 has all 6 drives working, but was marked as failed after selinux blocked access during a system update

So, during a recent dnf update on my system, apparently according to the system logs at some point selinux suddenly disallowed write access to the kernel and it then marked the raid drive as "...
  • 81
2 votes
2 answers
267 views

Raid 1 on two partitions: is this a good thing to do?

So, I have a 2TB HDD (sda) and a 500GB one (sdb). I created a partition on sdb occupying the entire device (sdb1), noted how large it is, and then I created a partition on sda the same size (sda1). ...
0 votes
0 answers
24 views

file system choice pitfalls on 100TB volume

I have an 84 disk powervault storage array, I have configured as a virtual (as opposed to linear) array, with the RAID method as ADAPT (versus linear array of raid-5 or raid-10. One volume spans the ...
  • 4,643
1 vote
1 answer
47 views

Why is my Intel RAID controller incompatible with Linux dmraid in USB-booted Linux recovery environment?

I have a Windows 10 system running a pair of disks in a mirrored RAID 1 configuration. I am trying to understand why the Linux-based FixMeStick product does not work with my RAID drives and hangs. ...
0 votes
0 answers
48 views

mdadm raid 6 array decrease error Cannot set new_offset for /dev/sda1

I tried to decrease the size of a mdadm raid6 array from 10 to 8. So I followed these steps : pi@raspbian-x64:~ $ sudo mdadm --grow /dev/md0 --raid-devices=8 mdadm: this change will decrease the size ...
  • 101
0 votes
0 answers
303 views

Error mounting: wrong fs type, bad option, bad superblock, missing codepage or helper program, or other error

Several years ago I purchased a Synology NAS. I had it set up like so: (NAS) ==> (1)(2)(3)(4)(empty) After a while, I noticed that any drive I plugged into bay number [3] would fail after a couple ...
0 votes
0 answers
38 views

mdadm rebuild RAID 6

So I have a RAID 6 created with mdadm. I attempted to add 2 disks to the array but it looks like it hit a bad disk and screwed up the array. I think mdadm is trying to assemble it but there appears to ...
1 vote
0 answers
230 views

Fakeraid partition missing (not mapped as a device on boot) after upgrade to Ubuntu 22.04

I have a RAID-0 volume with an NTFS partition that has worked fine for years on my dual-boot system (readable and writable by both Windows and Linux). Today after doing a do-release-upgrade -d to ...
  • 111
8 votes
2 answers
986 views

Using RAID 1 to mirror two external backup drives

I am looking to learn the setup for RAID on my OS (Pop OS Linux) and also backup my laptop. I want a proper backup scheme in place on one external drive (drive A) and I want a RAID 1 setup between ...
  • 183
0 votes
1 answer
21 views

Ubuntu Raid 1 mounting and size are off

Ubuntu 20.04.4, 2 new 10 TB drives, been having issues getting it mounted and using the full size. lsblk sda 8:0 0 9.1T 0 disk └─sda1 8:1 0 9....
  • 1
0 votes
0 answers
17 views

mdadm.conf, `PROGRAM` arguments documentation

I want to write a bash script that i can pass as the "PROGRAM" in the mdadm config file. But i cant find what possible arguments get passed to the program. Where can i find the documentation ...
  • 121
0 votes
1 answer
93 views

Debian: convert from RAID1 to RAID 0

i have a debian11 ssd server which is installed in RAID 1 MIRRORING i use the server as webhost and for better performance (whith high volume of users) i need to use RAID 0 so data wil be split across ...
0 votes
0 answers
41 views

Convert disk to RAID 1? Rescue mode

How can I convert my current setup to a RAID 1 setup root@rescue:~# fdisk -l /dev/sda /dev/sdb Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors Units: sectors of 1 * 512 = 512 bytes ...
  • 2,709
0 votes
1 answer
79 views

does ZFS/BTRFS RAID knows that only data needs to be synced?

AFAIK plain MD software ex.: RAID1 doesn't know that it should only sync real data from one disk to another, so it syncs all the blocks unneededly, even if there is no real data on the given block. ...
  • 31
0 votes
1 answer
226 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 ...
  • 3
0 votes
0 answers
57 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 ...
  • 151
0 votes
0 answers
41 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 ...
2 votes
1 answer
287 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? ...
  • 243
1 vote
0 answers
63 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 ...
0 votes
0 answers
31 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 ...
  • 103
1 vote
1 answer
35 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 ...
0 votes
0 answers
354 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 ...
  • 1
1 vote
0 answers
76 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 ...
0 votes
1 answer
60 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 ...
  • 111
1 vote
1 answer
141 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 ...
1 vote
1 answer
184 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 ...
  • 209
2 votes
1 answer
35 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 ...
  • 31
1 vote
1 answer
429 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 ...
0 votes
1 answer
51 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 ...
  • 103
1 vote
1 answer
74 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 ...
0 votes
1 answer
97 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 ...
1 vote
1 answer
77 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 ...
0 votes
0 answers
107 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 ...
1 vote
0 answers
100 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 ...
0 votes
1 answer
28 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 ...
  • 1
0 votes
0 answers
53 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 ...
  • 230
1 vote
2 answers
43 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 ...
0 votes
0 answers
62 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 ...
0 votes
2 answers
38 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 ...
  • 365

1
2 3 4 5
15