The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
19 views

Is it reliable to assemble md from two machines at the same time

Say we have the same disks accessible from two machines. I want to do assembling md from two machines. Is it possible/reliable ? The disks are connected through SAS. All I need to have is reliable ...
0
votes
0answers
22 views

Moved Raid from NAS box to PC running Ubuntu hdparm shows drives frozen

So I had a RAID5 setup in a Partriot S4 Javelin (a NAS box). I'm now migrating it to a proper server running Ubuntu 14.04. NOTE: There are 4 drives. All the drives show up in Ubuntu. Two show ...
2
votes
0answers
12 views

MD soft-raid to replace fake raid: How to get rid of old metadata?

I had a system running with fake RAID (Intel controller, imsm), which had some problems. Now I'm switching to the regular MD soft-RAID - I created a RAID 1 on /dev/sda1 and /dev/sdb1. Seems to work ...
1
vote
0answers
89 views

Help with lost software RAID5 on CentOS 6.5

I've been searching for hours and giving up / too scared to delete all my data. I have a file server running CentOS 6.5 which has 4 WD RED 2TB drives (all > 1 year old) in software raid 5 with mdadm, ...
0
votes
1answer
25 views

mixed raid types

I am about to reinitialise my (SW) raid array. Previously the array was raid5 with 4 disks. I've removed one disk in order to install a new additional (larger) drive. What I'd ideally like to do is ...
0
votes
1answer
33 views

How to get details of RAID devices both soft and hard?

I want to check if my server has RAID configured both soft and hard. I tried some commands on my server (Suse Enterprise Edition 11): **ms:~ # cat /proc/mdstat Personalities : unused devices: ...
2
votes
1answer
36 views

How do I know if software raid is running or setup correctly

This is what I pulled: mdadm --monitor --scan -f --pid-file=/var/run/mdadm/mdadm.pid cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sda1[0] sdb1[1] 262080 blocks super 1.0 [2/2] ...
0
votes
0answers
22 views

Ubuntu raid dirty degraded

I have Linux version 3.5.0-17-generic (buildd@allspice) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 (per /proc/version). There are two raid arrays ...
3
votes
1answer
124 views

Can't mount RAID after upgrade

I just upgraded my box to 14.04 and on bootup I got a message, that my RAID devices can't be mounted automatically so I chose to skip it and work through it after boot time. Now booted up, A mount -a ...
1
vote
1answer
53 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
93 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
741 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
40 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
43 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
54 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
361 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
395 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
205 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
133 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
445 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
889 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
237 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
53 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
448 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
232 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 ...
2
votes
1answer
353 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
227 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
1k 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
224 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
2k 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
263 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
114 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
236 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
518 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
136 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
156 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 ...
3
votes
1answer
2k 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
617 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
4k 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
368 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
293 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
129 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
199 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
485 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
328 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
392 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
963 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 ...
6
votes
3answers
16k 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
407 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 ...