Questions tagged [mdadm]

a utility to administrate Linux Software RAID devices

Filter by
Sorted by
Tagged with
1 vote
1 answer
7k views

Recovering a RAID array

I accidentally corrupted my build of Ubuntu 17.10 through a forced reboot (on a 5th hard drive). In my system I had 4 other hard drives part of a RAID5 array. Now that I've installed Ubuntu 17.10 ...
user448574's user avatar
0 votes
0 answers
280 views

Cache and sync a directory using RAM for faster access

Are there any apps or any ways to cache and sync a hard disk directory with RAM? Currently I'm making a fake disk and RAM RAID. Firstly, I make an .img file on hard disk: qemu-img create -f raw /...
smnlss689's user avatar
4 votes
3 answers
7k views

Raid array missing after reboot

While I see that there are multiple other questions that seem to be about the same (or similar) issue, none of them have a difinitive answer. Hence, I ask it again. I am following the guide here (...
Snappawapa's user avatar
2 votes
2 answers
2k views

How to setup bitrot protection with ext4 on 2 SSD workstation?

I'm surprised at the lack of documentation on this. Most bitrot protection schemes seem to be oriented at NAS. I'm thinking of doing the following: format a raid1 with mdadm install ext4 (64bit?) ...
Ray Foss's user avatar
  • 393
1 vote
0 answers
273 views

Recreate RAID1 after upgrade to 16.04--mdadm help

I recently upgraded my system from 14.04 to 16.04. I stuck the DVD in the drive and chose Upgrade. The upgrade appears to be good. Before upgrading my system I had 4 drives in the computer. /dev/...
Chris Vail's user avatar
0 votes
0 answers
844 views

Will my mdadm reshape operation complete?

I was adding an additional new drive to 4 drive raid 5 mdadm array. During the process that new drive was marked as faulty, along with one of the original 4 working drives. From looking at logs I see ...
user2976138's user avatar
0 votes
0 answers
272 views

Which device name I should use when I want to add one disk into my RAID5 array with mdadm?

I want to add one more hard disk into my RAID5 array. But I found there are many device names in the ubuntu file system which are the MD devices I could config. Now I list them as following: /...
Clock ZHONG's user avatar
0 votes
1 answer
1k views

raid 1 with mdadm on whole disks

I successfully created a raid 1 array on my 3TB hard drives with the following command: $ mdadm --create /dev/md0 -v -l 1 -n 2 /dev/sd[bc] I created a luks crypt on that array and moved all of my ...
Al Hoo's user avatar
  • 121
0 votes
1 answer
2k views

Lost RAID disk 1, unable to recover

So, Raid 1 with two disks, both disks started to give warnings (but we all know this company types, they don't let you do stuff until the horse has run a few miles out of the barn and the whole ...
It support's user avatar
0 votes
1 answer
942 views

External usb3.0 drive stops mdadm recognising internal raid on boot

Not sure if this is hardware or software related but am posting here in the hopes that someone might point me in the right direction. Hardware purpose: Home NAS and KVM host. OS: Ubuntu server 14.04 ...
Ian Roberts's user avatar
1 vote
0 answers
307 views

Multiple 2TB MSDOS partitions or 1 larger GPT partition for volume group

I have just expanded my 1+0 raid from a total of 2TB to 6TB. When adding each of the new drives I partitioned them using parted to create GPT based partitions to cover the entire of each of the ...
Alexis F's user avatar
0 votes
0 answers
719 views

Extending RAID 1 partition

I am trying to extend my current RAID 1 partition in Ubuntu. Although I've found bunch of manuals for it, I am not sure I understand everything. 1) I had HP server with 2 SSD, which were created in ...
Olga's user avatar
  • 53
1 vote
1 answer
895 views

Why is my RAID5 array smaller than expected?

I have a bunch of drives of different sizes. In order to get them relatively aligned from a size perspective, I created a volume group. So the drives I have for the array are: 1400GB (Linux) 1200GB (...
Daniel Minnaar's user avatar
9 votes
1 answer
29k views

Unable to Mount RAID1 md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error

I've created a RAID 1 using mdadm as below however I am having problems mounting it... sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc mdadm: /dev/sdb appears to ...
spcurtis81's user avatar
2 votes
0 answers
3k views

mdadm - how to unmount a kernel-mounted array?

This may sound like a silly question and the solution may be obvious but how do you unmount a kernel-mounted mdadm array? I've grown an array, something I've done many times over the years, and want ...
Rick P.'s user avatar
  • 21
2 votes
0 answers
122 views

Moved raid drives from a NAS enclosure to ubuntu 16.04 - one drive extremely slow

I've moved my two raid1 drives from my TrendNet TN-200 NAS enclosure to a fresh install of Ubuntu 16.04.3 LTS. One of the drives is working fine, however the other is performing excruciatingly slow. ...
hateseven's user avatar
1 vote
1 answer
101 views

Malware Bruteforce Attack on software RAID server [duplicate]

A month ago or so I wanted to make sure I still had access to my Linux box while away from home. I did NOT take the time to properly harden the box and got some malware installed into the init ...
UngaBunga's user avatar
2 votes
1 answer
534 views

Forbid Linux live usb to mount swap and other partitions from broken HDD

I have a server with broken HDD (at least one drive from Mdadm raid). Every HDD drive has a SWAP partition on it. Native system hangs on boot. I have an IPMI access to a server, and trying to identify ...
Dmitriusan's user avatar
0 votes
1 answer
456 views

RAID mode on XPS 9550

Recently I got a Dell XPS 9550 and have gotten Ubuntu to run on on it when I put the ssd in AHCI mode. However, I was wondering if it is possible to get ubuntu to detect the ssd when in raid mode ...
Ethan Philpott's user avatar
3 votes
1 answer
2k views

How to resize a mdadm RAID array

My NAS is booted from a USB key that I have installed Linux Mint 18.2 The NAS contains a RAID 1 array (created using mdadm). I want to move the swap from the USB key to the Raid array (the USB key ...
James B's user avatar
  • 77
4 votes
2 answers
15k views

Moving RAID 5 to another computer

RAID 5 problem The crisp issue is that I am not sure how to active an inactive RAID without my efforts being irreversible. Attempt to reassemble non-destructively. Is that even possible? ...
user68988's user avatar
1 vote
0 answers
202 views

How do I grow RAID 1?

When my current 2TB RAID 1 array(with 2 disks) gets full, how can I add more storage? I'm aware that RAID 1 keeps both disks identical, and that I need to replace both. Basically, how can I change ...
user8292439's user avatar
  • 3,798
0 votes
1 answer
613 views

desktop does not come back after screen turns off

after my screen goes to sleep, I move my mouse and try and wake the screen, I am just met with a black screen and the cursor. I am able to ALT+CTRL+F3 to bash, and when I try and "startx" back into ...
ELI7VH's user avatar
  • 101
1 vote
0 answers
476 views

Raid 1 fails to mount

I'm a new Ubuntu user with little experience in Linux. I setup an Ubuntu 16.04 LTS at home to recover my data from a failed Synology which I have done. I successfully configured 2 raid drives - /...
Ajay Ghariwala's user avatar
0 votes
1 answer
699 views

How to make files download/store to another disk

I currently have a 3 hard drive set up. One disk is 250GB and contains the Ubuntu OS while the other two are each 1TB and intended to store all the actual data (this is a lab server). It's worth ...
Tyler Reagan's user avatar
0 votes
3 answers
997 views

Mdadm blocks apt-get upgrade

So Mdadm seems to cause an error when trying to upgrade packages. apt-get upgrade results in: Reading package lists... Done Building dependency tree Reading state information... Done Calculating ...
Axel Johansson's user avatar
1 vote
1 answer
3k views

gparted error: libparted error --- reached the end of the file during the reading of /dev/sdX

--- introduction --- Hi,I am an Italian native speacker and so is my ubuntu, sorry for my bad English (I've spent a lot of money trying to improve it but :D, as you can see, it has been a bad ...
Falconfab's user avatar
2 votes
0 answers
619 views

When trying to create a raid array with mdadm it says it failed to open the first disk listed

When I try to set up raid in the terminal with mdadm it always comes up with this one problem, "mdadm: failed to open /dev/sdb1 after earlier success - aborting" Anyone know how to fix this?
Google_Vs_Games's user avatar
0 votes
1 answer
623 views

How do I speed up mdadm raid 1 rebuild?

I use an old laptop as a NAS, and for redundancy, I have two 2TB drives in software raid 1. One of them recently failed(I believe because of a blackout at the worst time possible), and now the array ...
user avatar
0 votes
1 answer
916 views

Raid Array Corrupted. Please help me recover my life's worth of files

I have a windows laptop, and I have a Ubuntu 16.04 desktop which has 3 hard drives in it: 500GB Ubuntu 16.04 OS hardrive. 1TB - Raid 1 (Ubuntu Raid) Hard drive A (nfts) 1TB - Raid 1 (Ubuntu Raid) ...
run_the_race's user avatar
1 vote
2 answers
811 views

Ubuntu 16.04 Installed on RAID 0 with mdadm followed by boot repair still fails to boot

My Ubuntu 16.04 was installed successfully with ubiquity --no-bootloader. Then, I ran boot-repair and rebooted. My computer still failed to reboot. My boot-repair paste is this: http://paste2.org/...
Henry Shu's user avatar
0 votes
1 answer
5k views

Update grub on mdadm RAID 1

Short backstory: I have never done anything with mdadm before and am in charge of maintaining an ubuntu 16.04 server with a software RAID 1 based on mdadm. Recently I updated grub and was prompted to ...
Michael G.'s user avatar
1 vote
0 answers
400 views

Using mdadm, is it possible to change copy number in Raid10 array?

I am attempting to finally setup a raid10 array for my media collection to use on a dedicated server box. I had no experience using mdadm, but followed the tutorial at: https://www.digitalocean.com/...
zubbs1's user avatar
  • 11
1 vote
0 answers
352 views

Ubuntu 14.04 - undo mdadm raid1 lvm system, 2nd disk as emergency recover

I have a (remote) Ubuntu 14.04 (XFCE desktop) system which is configured with RAID1 (2 identical disks): # cat /proc/mdstat Personalities : [linear] [multipath] [raid1] [raid0] [raid6] [raid5] [raid4]...
scoobydoo's user avatar
  • 152
2 votes
0 answers
2k views

clean old array disks

I installed a new version of ubuntu using some old disks. In the setup they were configured as a raid so I let them go. I am getting an error when mounting pbrink@groot:/mnt$ sudo mount /dev/md1 /...
BrinkDaDrink's user avatar
7 votes
2 answers
18k views

update-grub install-grub - error: unknown filesystem

My root partition is /dev/md0, I changed the size of the partition and filesystem. Now when I run update-grub and install-grub it fails: # grub-install /dev/sda Installing for i386-pc platform. grub-...
Michael's user avatar
  • 141
0 votes
1 answer
623 views

insanely large GDT blocks with mdadm partitions

I have a 4 drive USB3.0 external ext4 mdadm lvm RAID-5 array connected to my Ubuntu 16.10 box (ripped from a broken Synology). Disk manager shows the array is fine and all the logical partitions are ...
rubberunderpants's user avatar
1 vote
1 answer
1k views

RAID1 array won't start

Despite being able to get this to work before I cannot manage it this time. I have a single disk raid array: $ sudo mdadm --examine --verbose /dev/sdc** /dev/sdc: MBR Magic : aa55 Partition[0] : ...
Mark's user avatar
  • 91
1 vote
0 answers
5k views

Trying to mount an mdadm array.

I am trying to power up an older Linux box of mine to pull some data off. For the life of me, I can't remember why I had it set up this way. The intent was for the home directory to be a raid 1 array. ...
KurtMesh's user avatar
6 votes
1 answer
614 views

Ubuntu Core with Raid 1

I'm trying to set up my Nextcloud on a Raspberry Pi 3 on Ubuntu Core. I want to have a Raid 1 setup, so a disk failure doesn't wipe out all the data (next to weekly backups I'll do with another disk ...
Rino's user avatar
  • 61
0 votes
1 answer
2k views

looking for the intel RAID driver

I currently using CentOS and I would like to move to Ubuntu. I need help finding a Intel driver for the RAID 1 that I am using (motherboard feature). System Information Manufacturer: Gigabyte ...
darking050's user avatar
0 votes
0 answers
1k views

Where is the RAID configuration from WebminGUI?

Hi I've set up a Raid1 on two Harddrives via the Webmin GUI. Everything works fine, I get the raid shown as /dev/md127 Now, I want to make a backup and documentation off all configurations ... but ...
derHugo's user avatar
  • 3,356
0 votes
1 answer
3k views

Installing Grub2 on Linux SW RAID5

I have a brand new installation that I'm trying to install Grub2 onto 6 disks, in a Linux Software Raid 5 array. I am using mdadm to build the array. I would think the correct partition to install ...
talkinggoat's user avatar
1 vote
1 answer
3k views

mdadm system unbootable warming from update-initramfs -u

When I run sudo update-initramfs -u or apt-get upgrade I receive the following warning: W: mdadm: the array /dev/md0 with UUID 5bb9de94:f4c6b44f:2c027820:a8368d69 W: mdadm: is currently active, but ...
Danny Pang V's user avatar
1 vote
1 answer
441 views

Custom Mdadm email msg

Is it possible to customize the email message from the mdadm monitor process to include custom user text such as "if you get this msg call me!"
RookieBeotch's user avatar
3 votes
0 answers
278 views

RAID 10 failed booting when one drive removed

I am running Ubuntu 16.04 Server with Software RAID 10 (4×500GB SSD). I tried to test a disk failure by shutting down the server and removing (physically) one of the HDDs. The problem is when the ...
novianto's user avatar
1 vote
1 answer
1k views

Ubuntu 16.04 installation RAID issue

I want to install Ubuntu 16.04 Desktop on a pc with two 2T HDs (no other OS). My endpoint is to get Ubuntu installed on a partition set as RAID1, the swap set on a partition with RAID0, and a third ...
Simone Coppo's user avatar
4 votes
1 answer
1k views

Working RAID 1 returns “ERROR: pdc: wrong # of devices in RAID set”

I'm using Ubuntu GNOME 16.04.1 LTS 64-bits. I have made with mdadm a RAID 1 with 2 2-TB-disks for normal storage (without any OS nor bootloader), which are /dev/sda1 and /dev/sdb1 (both with exactly ...
David Tabernero M.'s user avatar
1 vote
1 answer
1k views

How to convert Ubuntu Server to Ubuntu Desktop?

I am considering installing Ubuntu Server to get software RAID (mdadm). I understand that doing so will just get me the command line, with no GUI features. I also know that I can install the ubuntu-...
rclocher3's user avatar
  • 779
1 vote
0 answers
54 views

RAID0 Array fails to re-assemble after boot

I have 2x 1TB drives that I'd like to assemble into a RAID0 array. Using mdadm, I can create the array (and have it appear on the Launcher). But, even though I add the output of mdadm --detail --...
rhunt915's user avatar

1
3 4
5
6 7
10