Questions tagged [raid1]
The raid1 tag has no summary.
191 questions
0
votes
0
answers
60
views
mdadm: Cannot get array info for /dev/md127
i have one problem.
I created RAID1 with two discs, then i simulated failure of one of the discs. It was sdb1.
I restared the VM with one disc working in RAID array.
Then i added new fresh disc to add ...
1
vote
2
answers
148
views
Is this possible to create raid1 from 8TB and 4TB+4TB disks, eg. stripe 4+4 + mirror 8?
I have one 8TB and two 4TB disks. I am curious if I am able to create 8TB raid from 8+4+4 disks?
I tried this sudo mkfs.btrfs -f -m raid1 -d raid1 /dev/sdc1 /dev/sdd1 /dev/cdb1 but this creates only ...
1
vote
0
answers
75
views
No space left on device but only 50% space and 1% inodes used
This is on a Iomega IX200 NAS which had been expanded to 4TB disks from the original 2TB.
It all looks good.
But when I try to save data to a new file I get the "No space left on device error&...
3
votes
2
answers
211
views
RAID array reverts to the old disk after reboot
I have replaced my RAID array from RAID 1 with 2 x 4TB disks to 2 x 10TB disks using mdadm.
The process can be summarized as follows: add the 2 new disks to the RAID array, wait for sync, remove the 2 ...
1
vote
0
answers
28
views
Not sure if lsblk showing correct partitions after restoring RAID1
One of my disk (nvme0n1) fails, so it was replaced. Now lsblk shows
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:5 0 511M 0 part
├─nvme0n1p2 259:6 0 475.9G 0 part
│ └─md2 9:2 ...
1
vote
2
answers
160
views
Converting sw md device from raid0 to raid1 with only one disk online
Is it possible to convert an existing raid0 md device with only one disk to a raid1 md device with one disk in order to add a second mirror disk later?
It should be possible online.
1
vote
1
answer
155
views
what are the steps to run Grub Hook Script in Debian 12.5
I have installed Software RAID 1 in Debian 12.5. I want if 1st HDD fails the automatically my system should be able to boot from 2nd HDD and visa versa.
What steps I should take for the same?
My ...
2
votes
1
answer
248
views
Accidentally used fdisk on mdadm RAID1 array, can I recover my data?
I installed a new disk today and was prepping it, before realizing that I'd done my "prep" work on an existing RAID1 array!! I'd LOVE to be able to recovered if possible.
My array was ...
0
votes
0
answers
102
views
Recover data from old working RAID 1 disk
I am running a system with Debian 12. /root/ is on a RAID1 array with mdadm with 2 mirrored SSD (let's call them disks A and B). All disks are perfectly functioning.
I wanted to replace the two A and ...
0
votes
2
answers
2k
views
What is the difference between BTRFS RAID1 and BTRFS RAID5 on 3+ devices?
According to "Examining btrfs, Linux’s perpetually half-finished filesystem", BTRFS RAID1 is said to be "guaranteed redundancy—copies of all blocks will be saved on two separate devices&...
1
vote
1
answer
293
views
How to create a data-redundant encrypted filesystem on an external SSD?
What's the easiest way to format an external SSD with encryption and RAID1-style data replication?
As I recently grew suspicious of my SSD+luks+btrfs setup, I've started wondering how to reduce risk ...
1
vote
1
answer
379
views
How to extend madam RAID1 with LUKS and ext4 filesystem on Debian 10
I am trying to expand an existing RAID1 array with an ext4 filesystem on a LUKS volume on Debian GNU/Linux 10 (buster).
This is my disk layout from lsblk:
NAME MAJ:MIN RM SIZE RO TYPE ...
1
vote
2
answers
905
views
Recover mdadm raid1 built with full disks (overwritten partition data)
While setting up my new PC I also setup a new RAID 1 with 2 drives with LUKS on top.
After copying all the data to it I made sure everything was usable and afterwards shredded the old drive.
But now I ...
0
votes
1
answer
132
views
Trim and btrfs with raid1
I know that btrfs support trim/discard, as a mount option or manually (fstrim -A).
I want to made a raid1 of ssd, I will get any problem with trim?
2
votes
0
answers
113
views
Can reads from an MD RAID 1 be inconcsistent?
While a RAID 1 gives the benefit of redundancy I'm trying to understand whether using a RAID can lead to inconsistencies under any circumstances (I/O errors, not disk, ...).
In an effort to understand ...
1
vote
0
answers
206
views
Problems after creating mdadm RAID-1: disk identifier 0x00000000 and same serial number on both disks
I need your help with a problem that I’ve been trying to solve for days now.
I recently purchased a Western Digital (WD) My Book Duo, and after setting it to make it work as two independent disks I ...
0
votes
0
answers
814
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 ...
3
votes
1
answer
4k
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?
...
2
votes
1
answer
7k
views
Mounting LVM partition on a RAID1 disk from a bricked QNAP NAS
I have a QNAP HS-251+ NAS with two 3TB WD Red NAS Hard Drives in RAID1 configuration. I'm quite acquainted with Linux and CLI tools, but never used mdadm or LVM so, despite knowing (now) that QNAP ...
0
votes
1
answer
255
views
Primary GPT table corrupt (RAID-1 and mounted as /home) stopping me reinstalling Linux
Env: Linux TRANQUILITY 5.3.18-150300.59.49-preempt #1 SMP PREEMPT Mon Feb 7 14:40:20 UTC 2022 (77d9d02) x86_64 x86_64 x86_64 GNU/Linux Also OpenSuse Leap 15.3 with KDE Plasma 5
When I run the OS ...
1
vote
1
answer
696
views
Recover data from RAID1 with one disk in rebuilding state
I am attempting to recover data on a MDADM RAID1 array with one HDD that suffered a mechanical failure and another that is stuck in a rebuilding state.
I have two 2TB HDDs that were installed on a ...
2
votes
1
answer
486
views
Can't make an ext4-partition on a specific raid
I have a hardware raid-1 on two WDC-SSDs with 500GB on each SSD. The raid controller is a Marvell-88SE9128 via two GSATA connections (the controller is directly on the motherboard and not an ePCI ...
6
votes
4
answers
38k
views
MDADM - Adding a new hard disk to an existing RAID1 [duplicate]
my dedicated server has a RAID1 array with 2x1TB HDD
It is filling up
i want add new hard disk (It has already been physically added)
I have no idea how to do it.
I'm afraid of losing data
I found ...
1
vote
2
answers
2k
views
JBOD: How to Raid1 drives with different capacities? Btrfs, ZFS?
I have selection of hard drives, with capacities:
1 TB
500 GB
320 GB
250 GB
I'd like to make Raid1 out of them, in the sense, that copy of any data will be always on two drives out of four I have. ...
1
vote
2
answers
410
views
RAID1 as a personal desktop backup system, pros and cons
I'm seriously considering ways to safeguard my data since I'm really tired of loosing files because of bad redundancy.
I was reading about RAID1 and it seems a very practical method of keeping updated ...