Questions tagged [mdadm]

a utility to administrate Linux Software RAID devices

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Help with mounting mdadm array

I recently lost my NAS and am trying to recover the data in my RAID. The disks are fine, its just the NAS hardware that stopped booting and I can't get any support as its discontinued. I attached the ...
user avatar
1 vote
1 answer
23 views

How to determine which physical disk in a RAID needs to be replaced in the event of a failure?

If I have a RAID array configured (using mdadm), what's the best way of making sure I can tell which physical disk to replace in the event that one fails? cat /proc/mdstat will tell me that (say) /dev/...
user avatar
0 votes
0 answers
15 views

Raid Level 1 md1 mounted to root has less memory than md2. I want to give root (md1) more storage(free space). Is this possible or necessary?

Raid Level 1 md1 mounted to root has less memory than md2. I want to give root (md1) more storage(free space). Is this possible or necessary, to expand the size of md1 in order to get more memory ...
user avatar
  • 1
0 votes
0 answers
17 views

Create Cinder Backend with MicroStack

Not sure if this is the correct place to be positing this, but here it goes… I am new to both OpenStack and MicroStack. I have my first MicroStack cluster initialized and running but was a little ...
user avatar
  • 1
1 vote
0 answers
22 views

Problem dealing with corrupt file and mdadm

I'm running ubuntu server 20.04 with 4x 4TB drives in a RAID5 array using mdadm to provide a non-root, ext4 partition. I have a few rsync scripts to backup key folders and one of them generated an ...
user avatar
  • 31
0 votes
1 answer
26 views

How create mdadm RAID1 without lossing data

I have a 4TB hard drive, I mounted that hard drive in /var, to be able to store and make backups of the production server, and I came up with the idea of creating a RAID 1, for that I requested ...
user avatar
0 votes
0 answers
16 views

BIOS raid restoration (after mdadm raid)?

I upgraded Ubuntu and RAID array disappeared. I tried to assemble RAID0 with mdadm in Ubuntu terminal. (Sadly,) I ended up running the below: sudo mdadm --create --verbose /dev/md0 --level=0 --raid-...
user avatar
0 votes
0 answers
138 views

mdadm RAID array stop and restart

I've 24 disks connected from a target to my Ubuntu . I've created a RAID 6 array from above 24 disks. Now to stop the array and restart it , I'm following below steps: mdadm --stop device mdadm --...
user avatar
  • 1
1 vote
0 answers
73 views

mounting EXT4 linux raid1 array with WSL2 on a windows host machine

Two years ago I created a linux/ext4 raid1 array of two 4TB WD Red HDDs to mirror my data. At that time I was using a small ARM64 device, and used mdadm to assemble the array. That small computer was ...
user avatar
0 votes
0 answers
17 views

convert one-drive setup to a mirrored disk

I have a running Ubuntu 18.04 server on IBM Power (ppc64le architecture). I have two disks - sda and sdb. Ubuntu has been installed on sda (partitioned, /dev/sda3 for LVM) - and I'd like to have it ...
user avatar
0 votes
0 answers
28 views

Try to read raid 1 (mirror) disk

I have the raid 1 (mirror) disks coming from an enclosure that stopped working. So I am trying to recover the data putting one disk into a USB adapter. When I connect the adapter /dev adds item sdb, ...
user avatar
  • 1
1 vote
1 answer
40 views

Permission Problem with RAID1 device

I'm experiencing some trouble with an home server (Ubuntu 20.04.3) that I have put on. My configuration: 1 Software RAID1 (mdadm) that is mounted via fstab to /media/altocasa/NetDisk1 I have also ...
user avatar
0 votes
0 answers
38 views

Creating mdadm RAID1 boot/OS and RAID6 storage arrays with shared hot spares in Ubuntu 20.04

I'd like to install ubuntu server 20.04 with a few SSDs in a RAID1 for the boot/OS drive, and a handful more SSDs in RAID6 for storage, then finally have 2 hot spare SSDs which would be able to be ...
user avatar
  • 111
0 votes
0 answers
24 views

Adding Storage space to RAID1 setup

Currently I have an Ubuntu 18.04.6 LTS server with 2 6TB HDs setup in RAID1 like so: ~$ cat /proc/mdstat Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10] md0 : ...
user avatar
0 votes
1 answer
59 views

How to remount a RAID 0 after a fresh install?

My server that holds all my music, tv shows, etc. stopped booting and after failing to get it running myself, I took it to a place and they reinstalled ubuntu on a different drive. I have 2 other ...
user avatar
0 votes
1 answer
153 views

Why mdadm RAID does **NOT** boost reading performance?

I add 2 NVMe SSDs(Samsung 980 Pro) into my PC as tablespace of postgresql, while the OS boots from another SATA SSD(Samsung 860 EVO) as before. These 2 nvme m.2 SSDs have a basic performace about ...
user avatar
  • 107
2 votes
0 answers
355 views

RAID array says "critical medium error" but smartctl says disk is healthy - what to do next?

I have a RAID-1 array of SSDs (Samsung 970 EVO Plus), and errors are showing up in /var/log/syslog, but smartctl reports that the drive is healthy. I've done a bunch of diagnosis (below) and I'm ...
user avatar
  • 824
0 votes
0 answers
21 views

How to drop raid1 and combine two disks to one

Goal In the remote server, it comes with 2 x 2TB disk with RAID-1, however, I have already filled the disk with data and I would like to remove the RAID-1 scheme and make it ~4TB in single mountpoint ...
user avatar
0 votes
0 answers
144 views

How do I properly install GRUB on a RAID 0 created with mdadm?

How do I properly install GRUB on a mdadm RAID 0? I try to install grub and it doesnt properly install, like /etc/default/grub is missing.
user avatar
0 votes
1 answer
149 views

How do I reschedule mdadm resyncs? Where is /etc/cron.d/mdadm?

I've got a software RAID setup using mdadm on a fully updated Ubuntu 20.04. I experience monthly ~31h array resyncs. I suspect this comes from /etc/default/mdadm, which includes: # AUTOCHECK: # ...
user avatar
  • 624
0 votes
1 answer
244 views

Unable to mount Raid 5 array "already mounted or mount point busy"

I've been trying to google and search and can't seem to find an answer to my specific problem even though many people have posted similar issues. Here we go. Trying to mount my raid 5 array to a ...
user avatar
  • 41
0 votes
1 answer
118 views

mdadm raid 1 array can't mount after resync

I have a raid one device that works fine with one drive and during the resync after I add the second, but once I reboot I can no longer mount the filesystem. With only 1 drive in the array (i can ...
user avatar
  • 1
0 votes
1 answer
192 views

How to bring up my mdadm RAID-5 array?

How can I bring up my mdadm RAID-5 array? How can I get these changes to persist? I rebooted our server last night and found the raid array created about 8 months ago didn't come back up and I can't ...
user avatar
  • 201
0 votes
0 answers
126 views

Cannot Mount Synology disk raid 10 on ubuntu 20.04.3

I'm trying to mount my 4x4TB disks with btrfs file system and raid 10 from a Synology NAS that won't start. I've followed this guide from Synology kb: https://kb.synology.com/sv-se/DSM/tutorial/...
user avatar
0 votes
0 answers
31 views

Why is my drive mounting inside itself?

I recently had an issue with my boot drive (which has an lv on it) having space taken up by files on my mounted mdadm RAID0. I used ncdu / to determine this. When I looks at blkid/mnt/md0 I saw that ...
user avatar
0 votes
0 answers
16 views

/mnt/md0 taking more space than expected on boot drive

I have created an mdadm raid on my Ubuntu server 20.04.3. I have it mounted to /mnt/md0, which mounts it to the LVM partition for my boot drive which is 120GB. For some reason, this raid and mount ...
user avatar
0 votes
0 answers
31 views

How to transition software RAID through mdadm from drives to partitions safely

I am new to relatively new to linux and a few months ago I created a software RAID through mdadm following instructions I found online. However, the RAID seemingly randomly drops out leaving the data ...
user avatar
  • 1
0 votes
0 answers
41 views

MDADM raid won't assemble after update from 16.04 LTS (32 bit) to 18.04 LTS

I just upgraded my oldish Thecus 7 bay RAID storage from Ubuntu 16.04 LTS (server) to 18.04. Everything is fine (it boots from a separate DOM) except that the RAID won't assemble and I am a bit at a ...
user avatar
0 votes
1 answer
56 views

RAID10 health deteriorating

Update: I have added output from smartctl short tests for all drives. One seems to be generating errors, but overall tests have passed. A few days ago I set up a fresh software RAID10 (mdadm) using 4 ...
user avatar
0 votes
0 answers
353 views

How to force degraded mdadm raid1 array to start and mount on boot?

How do I force raid1 array(neither root, nor boot) without all components present from failing to start on system boot? I am using Ubuntu 21.10. File system used is ext4. Expected behavior Install a ...
user avatar
0 votes
1 answer
106 views

I can not connect Windows 10 machines to my raid array

Running Ubuntu 21.04. My tech support group told me I needed to get them to reinstall Ubuntu with Samba for file sharing. Getting no support from them now and nothing they have done allows me to ...
user avatar
0 votes
0 answers
115 views

mdadm raid1 won't resize | --grow gives unchanged at

I've been trying to resize (--grow) this RAID array for a week and I know the answer is simple and probably staring me in the face, but I'm not sleep deprived and lost. The array is RAID1 and used to ...
user avatar
1 vote
1 answer
75 views

RAID10: wrong fs type, bad option, bad superblock

I'm trying to set up a RAID10 array by defining a RAID0 across one existing and one new RAID1 array. The output from /proc/mdstat looks OK: Personalities : [raid1] [raid0] [linear] [multipath] [raid6] ...
user avatar
0 votes
0 answers
147 views

Problems to read a Synology raid1 disk in Ubuntu

I'm trying to recover the data from a disk of a Synology NAS. It was stored in a 2 disk RAID1. One of the disk broke and I didn't replace it. After some months, Synology station broke too, and now I ...
user avatar
0 votes
0 answers
59 views

mdraid - changing array name of / array (active)

Is there any way to change mdraid metadata (v1.2) of an active array? I have Ubuntu server installed on RAID1 array (/ is the array itself). At the time of installation I had 4 drives - previous ...
user avatar
  • 123
0 votes
0 answers
27 views

ubuntu RAID is not a block device error

I created RAID1 with 2 disks using a usb hub. RAID is set to /dev/md0. I finished the installation by mounting it to a folder. When I restarted the device, the path changed to /dev/md127, I mounted it ...
user avatar
0 votes
0 answers
59 views

Configure RAID6 to ubuntu 18.04

I want to try make RAID on webmin but I get The kernel RAID status file /proc/mdstat does not exist on your system. Your kernel probably does not support RAID. when I use zcat /proc/config.gz | grep '...
user avatar
0 votes
0 answers
163 views

Ubuntu Installing mdadm

I need to use RAID to my nvidia jetson tx2 server machine. I started from webmin for make RAID configuration I gor this error; The kernel RAID status file /proc/mdstat does not exist on your system. ...
user avatar
0 votes
0 answers
90 views

Recover data from raid 1 disks

I used mdadm to create a raid 1 with 2 disks. After some time I reinstalled the OS (without wiping that 2 disks obviously). What I've done is to assemble that two drives with the following commands: ...
user avatar
  • 101
1 vote
1 answer
188 views

Ubuntu install with mdadm and multiple luks partitions

Given 3 identical drives partitioned for an ubuntu 20.04 install as follows (swap and /home are on separate luks volumes to share with another Linux install on sda3/4) Partition Format Mount Point /...
user avatar
  • 111
0 votes
0 answers
52 views

setting up drives as JBOD on Supermicro 847 server

I have a Supermicro 847 full of 14tb drives. I have Ubuntu desktop 20.04 installed and the server has an LSI 9211-8i HBA UNRAID FREENAS Controller. I have been trying to group the drives to create big ...
user avatar
0 votes
0 answers
63 views

MDADM RAID0 issue

I had previously set up a RAID0 array with 4 drives of 14tb each that was getting full. Yesterday I decided to add one more drive to it and temporarily changed the array to RAID4. I heard it was ...
user avatar
0 votes
1 answer
77 views

Assembling Raid Arrays On New Kubuntu Install with mdadm

I have just re-installed Kubuntu on my machine recently, and have also installed mdadm to reassemble three raid arrays that I had previously. I didn't carry over any configuration files for these ...
user avatar
0 votes
0 answers
35 views

How to recover level 1 RAID volume?

One disk in a two-disks level 1 array failed. I added another disk to the array and resynchronization completed successfully. While the synchronization was running, I removed the failed volume and the ...
user avatar
  • 1
0 votes
0 answers
25 views

Trouble assembling raid1 array after replacing failed disk

I have a weird mdadm situation. I had a drive in a raid1 array go bad. I shut the machine down, and replaced the disk, did ddrescue (which succeeded without error) from the old non-failed drive to ...
user avatar
  • 101
0 votes
0 answers
83 views

Using MergerFS with disks that are already RAID?

Recently I decided to update my home server and to add more storage. Previously I had 2 drives set up with MDADM to be RAID1, and that RAID was mounted to my share folder for samba. Now that I'm ...
user avatar
  • 1
0 votes
0 answers
52 views

What is the proper way to set raid5 stripe_cache_size permanently?

I've seen references to udev, and also rc.local, which both seem a little cludgy to me. Are these really the only recommended ways to set this permanently?
user avatar
  • 71
0 votes
0 answers
56 views

I need help with mdadm drive ownership

I've been here looking through other threads trying to figure this out but, can't figure out how to change my mdadm array ownership. I've tried a bunch of commands and I just can't get it. I am very ...
user avatar
1 vote
0 answers
257 views

How to add a new drive to a RAID (mdadm), when that RAID is encrypted (LUKS), and makes up a physical volume in a volume group (LVM)?

I'm looking to add a new drive to an existing NAS server, and would appreciate a second look at my plan before I pull the trigger. Part of the challenge is the new disk will be added to an existing ...
user avatar
  • 111
0 votes
1 answer
59 views

RAID1 Drives mounted randomly at boot

I have two drives (HDD) in a RAID1 array. The issue here is that after I start the system, one time they are mounted as desired and the other time they are not. As can bee seen in the pictures with ...
user avatar
  • 121

1
2 3 4 5
10