The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
23 views

mdadm : difference in metadata versions

Can anyone tell me the difference between the different metadata versions for mdadm? When I try the command mdadm --examine /dev/sda1, I can't seem to find "preferred superblocks" on version 1.2. ...
0
votes
2answers
52 views

Two arrays have slightly different array size with same size disks/partitions, why?

I created a software RAID 5 array one year ago using mdadm v3.2.x which shipped from CentOS 6.3, after few months, I moved/assembled the array to/in Fedora 19 (now Fedora 20). It had three 3TB disks ...
2
votes
1answer
116 views

How to setup a RAID system using USB sticks as storage media

I want to create an inexpensive self-hosted private git server with redundant storage. To that end I have bought a Raspberry Pi and configured both git and ssh on the Pi. I can access the Pi both from ...
2
votes
1answer
22 views

Linux software-RAID and bootloader

How is it ensured that Linux software-RAID superblock(for example version 1.2) can be created at 4KiB from the beginning of the drive? According to manual of mdadm it is. I mean isn't there a hazard ...
3
votes
1answer
30 views

understanding the “chunk size” in context of RAID

Am I correct that chunk size in context of RAID is essentially the same thing as cluster in file-system context? In other words, chunk size is the smallest unit of data which can be written to a ...
1
vote
1answer
22 views

understanding Linux software-RAID superblock

According to mdadm manual, --zero-superblock option will overwrite the superblock with zeros. As I understand, superblock is a 256 byte block on HDD/SSD describing the RAID level used, name of the ...
2
votes
1answer
173 views

Software RAID 10 + LVM on mixed drives, sector alignment?

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
2
votes
1answer
103 views

mdadm - RAID5 array size vs. actual disk size mismatch

I have 4x 3TB WD RED disks that are in mdadm RAID5, which should total an array size of 9TB usable space, however I only have 6TB. I have confirmed all disks are in the array, the only strange thing ...
4
votes
3answers
74 views

Poor IO due to LUKS/Software RAID/LVM ordering?

I'm trying to determine if I should re-setup my RAID array due to poor IO performance. First off, the system: i7 920 4 4TB WD 5400 Green drives CentOS 6.3 host Secondly, the disk setup: ...
1
vote
1answer
82 views

Removing failed disk from raid 1

my server (Debian Wheezy) has a failed disk. I have sda and sdb and according to the support of my hoster, sdb needs a replacement. I send them this information with the mdstat: ...
2
votes
1answer
157 views

Mount an existing RAID 1 Logical Volume after OS upgrade

I just upgraded from Ubuntu 10.04 to Mint 16. The installer did not detect my existing RAID 1 array, and I can't access it anymore. My drives are: SDA - First RAID Disk SDB - Second RAID Disk SDC - ...
2
votes
2answers
314 views

Best way to create RAID on an existing system drive

I want to add another disk as RAID 1 to test my database performance. I am trying to not re-do the whole system, is it possible? Currently I have a single 1TB HDD with one 100GB system partition (and ...
6
votes
1answer
170 views

md raid1 ext3 and 4k sectors slow with directory operations

I recently moved from a hardware RAID1 enclosure to using two eSATA drives with md. Everything seems to be working fine, except for the fact that directory traversals/listings sometimes crawl (on the ...
2
votes
1answer
44 views

Linux installation in RAID

I am a fairly new systems administrator and I have to configure the RAID on a Linux machine. From my understanding so far, RAID is an array of multiple disks. I have some questions though. Question ...
4
votes
2answers
301 views

How does Linux md-RAID handle disk read errors?

There are 2 cases: the read command times out at kernel level (30 seconds by default), the drive reports its unability to read a given sector before the kernel lose patience (the case I'm ...
3
votes
1answer
152 views

mdadm; previously working; after “failure”, cannot join array due to disk size

Abstract I had a functional Raid 5 array, I rebooted the box, and then mdadm couldn't re-assamble one part. Seeing that it was only one part, I thought it would be easy to just re-sync. But that ...
1
vote
1answer
215 views

Kernel failure with software RAID-1 due to single drive read errors

I am running Fedora 19 (kernel 3.11.3-201.fc19.x86_64) with a software RAID-1 (mdadm) setup on two identical Seagate 1GB drives: # cat /proc/mdstat Personalities : [raid1] md1 : active raid1 ...
1
vote
1answer
171 views

Ubuntu Server - OS on single HDD, file server on software RAID 1

I run a Windows Server 2008 machine. It is used as a file server (File Services feature), in addition to local shares I use CrushFTP for SFTP and HTTP access to my files. I would like to convert to ...
4
votes
4answers
759 views

Monitor disk health using smartd (in smartmontools) on a high availability software RAID 1 server

I have a server with three identical SATA/600 3TB drives: /dev/sda, /dev/sdb, /dev/sdc. The drives are partitioned, using GPT with three partitions each: 1 MB: Reserved partition for boot loader 1 ...
3
votes
1answer
150 views

Can zfs resilvering destroy data with misreported device failures?

I have had a situation where I am moving data into a new zfs raidz pool with four devices, some of them virtual to facilitate the migration. The system completely hung in the middle of a device ...
3
votes
2answers
960 views

What does mdadm's “spare” number mean?

I created a mdadm-based RAID 5 from six hard drives using the following command: # mdadm --create /dev/md0 --level=5 --raid-devices=5 \ /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 \ ...
2
votes
2answers
217 views

Can I create a 2 TB RAID-1 array out of one 2 TB disk and two 1 TB disks while preserving 1 TB of data?

I currently have 1 TB of data on a RAID-1 mdadm array. This array consists of one 1 TB disk and a 1 TB partition on a 2 TB disk. I have now bought a second 1 TB disk, and I would like to use this to ...
4
votes
1answer
87 views

Reusing older raid discs

I have a software RAID5 array (Linux md) on 4 disks; the OS is OpenSUSE 12.3. Recently I replaced a disc with a larger one (fail disc, remove it, add new disc). The capacity of the array has not yet ...
3
votes
1answer
170 views

What are potential consequences of going nuts with sparse file based vdevs for a LVM to ZFS migration?

I've been playing around with ZFS having finally accepted that it's mature enough I shouldn't get burned. Now to migrate the home NAS box which is currently an LVM JBOD set up that's quite full, but ...
1
vote
2answers
306 views

erased md0, md1 and can't recreate them

I previously had a working RAID 1 array. I think as a result of running grub-install /dev/sdb and grub-install /dev/sdc I somehow wiped my computer of md0 and md1. I need to set them up again. When ...
1
vote
2answers
110 views

Raid5 Device Has Less Space Than Expected

I have 3 3TB drives, and have raid5ed them together. I would expect to get a resulting device around 6TB. The command I used: mdadm --create md0 --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 ...
2
votes
0answers
148 views

What changed between kernels 3.7 and 3.9 that affects LVM/RAID root file systems?

I'm trying to fix a (very messy) system that the user hosed by running a kernel upgrade from 3.7.10 to 3.9.6. the root file system is on an LVM volume on top of a software RAID array. The boot manager ...
2
votes
1answer
1k views

No /etc/mdadm.conf in centos 6

I have installed centos 6 and setup a new RAID array with two disks. every thing is ok and I have partitioned the array but I don't see any /etc/mdadm.conf or /etc/mdadm/mdadm.conf files. I have ...
3
votes
3answers
271 views

How to safely replace a not-yet-failed disk in a Linux RAID5 array?

I have a software RAID5 array (Linux md) on 4 disks. I would like to replace one of the disks with a new one, without putting the array in a degraded state, and if possible, online. How would that ...
4
votes
3answers
2k views

lost superblock in md raid

Issue on Red Hat Linux 5. Due to some miscommunication two LUNs in our environment were enlarged from 1.2 TB to 1.7 TB. Now, after a reboot, mdadm does not find the superblocks to build the array ...
4
votes
2answers
3k views

How do I recover files from a single degraded mdadm raid1 drive? “not enough to start the array”

Given a single raid1 drive in degraded/rebuilding state, can it be force mounted? I'd like to recover all the files before undertaking the dangerous operation of pairing it and rebuilding. As far as ...
1
vote
0answers
314 views

After ubuntu install + software raid 0 config, we see: rejecting I/O to offline device

I'm trying to pin down what this error rejecting I/O to offline device is, as seen towards the end of this syslog. Ideas: Problem with RAID-0 configuration (we have 2 4TB disks in RAID-0 and I do ...
0
votes
2answers
246 views

Migrate an entire volume group LVM2 to RAID5

I have a Virtual Host server build with Ubuntu and Xen SO Ubuntu 12.04.1 LTS 64Bits xen-hypervisor-4.1 Disk Hitachi SAS 15K 147GB (x2) in a Volume group sda1 1GB /boot sda2 146GB lvm sdb1 ...
1
vote
1answer
115 views

Can I move an existing Debian installation to a RAID5?

I put myself a small NAS together, to experiment a bit with raid. I have a working RAID 5 array using mdadm under Debian 6 ("squeeze"). I installed GRUB and Debian to an USB stick, since I was not ...
0
votes
1answer
166 views

Can I configure software RAID on an existing server without losing the existing partition?

I've got an existing server with 1 disk and Ubuntu 12.10 installed and running. I want to add a 2nd disk and configure RAID 0 across the two disks using Ubuntu's software RAID. Can I do this ...
1
vote
0answers
445 views

Installing 12.04LTS Server on a Fake RAID10

Scenario Install Ubuntu 12.04LTS Server on a RAID10 with boot on a RAID1. 4 - 2Tb SATA Hard Drives 3 Partitions (/boot, /, and swap) boot (256Mb from each disk) setup in RAID1 /dev/md0 partition ...
2
votes
0answers
274 views

Disable RAID auto detect at runtime

In Linux, I'm partitioning two disks for RAID1 with fdisk. The first disk partitioning succedes, but the second fail because the raid starts automatically and occupy also the second disk (why? it ...
2
votes
2answers
338 views

How does mdraid resync work?

I have two drives in a mirror (linux sw raid/mdadm); one drive somehow left the mirror in the past and its content is now several days old. At this moment, I'm using degraded mirror (with one drive ...
2
votes
2answers
752 views

Unable to rename a RAID device: stuck with /dev/md126

I had a fully working server. I booted with SystemRescueCD, without writing anything. I didn't even mounted a partition. Then rebooted the server. The server no longer boot correctly because some ...
5
votes
3answers
11k views

How to mount/recover data on a disk that was part of a mdadm raid 1 on another machine?

Some background The disk itself was "worked on" by a friend and is said to be still intact, undamaged and still mountable/recoverable The disk was part of a software raid 1 on Ubuntu 12.04 The other ...
9
votes
1answer
349 views

How do I recover a broken software RAID5 array?

Ack, I think I screwed up bad. I had a power failure on a RAID5 array which caused the metadata to be inconsistent between drives. I followed the advice here except a case of fat fingers caused me to ...
1
vote
2answers
353 views

Can I mount a microsoft mirrored dynamic disk?

I'm testing out sw raid in windows 7, but I almost always use linux and I would like to know if it's possible to mount such a mirrored dynamic disk. I can already mount each members separatly but ...
4
votes
1answer
1k views

degraded software raid boot

I've installed Ubuntu 12.04.1 in a new server and set up the 4 hard drives with 3 RAID 1 devices, the configuration is such that the first two drives have md0 (swap space) and md1 (/) with the third ...
3
votes
2answers
127 views

RAID Lag-Behind Burst Write

I would like to setup RAID1 so that a ramdisk in the RAID configuration has occasional synchronisation with a physical disk (that is very battery intensive to run, so I hope to let it spinout). Is ...
2
votes
2answers
2k views

Mixing 4k/512 drives with ZFS (FreeNAS)

I have the following drives: Seagate Barracuda ST3200054AS WDC WD20EADS-00S2B0 Samsung HD204UI As far as I understand, the first are ordinary 512 drives while the last is 4096 (Advanced format). ...
1
vote
0answers
135 views

Selective stripping on RAID-0 with mdadm [closed]

With mdadm one can create a raid with a fixed chunk. I am trying to have a line by line stripping of a file. In fact, I'd like my files to have there lines repartitioned across the RAID. I am ...
10
votes
4answers
6k views

Linux - Repairing bad blocks on a RAID1 array with GPT

The tl;dr: how would I go about fixing a bad block on 1 disk in a RAID1 array? But please read this whole thing for what I've tried already and possible errors in my methods. I've tried to be as ...
4
votes
1answer
1k views

RAID 10 can not be started

I have a RAID 10 array managed with mdadm which has failed . The symptom was that X has crashed and I was unable to logon from the terminal. I have restarted the computer and /dev/md1 did not start. ...
9
votes
2answers
2k views

Grow/resize RAID when upgrading visible size of disks

I originally created a software RAID using a controller that could only address 2TB per disk. The disks are 3 TB disks. It worked fine, but only used the first 2TB of each disk. I have now changed ...
2
votes
1answer
342 views

“error: no such device” at boot in Ubuntu Server 11.10 with Raid1

I have a configuration of 4 HDD's as Raid1 2 pairs of 2 HDD's. First Raid1 pair is for system, so I just made an 40GB space for swap, and the rest of it for the root, the second pair of Raid1 is for ...