General :: Filesystems - Software RAID 1 Without Metadata On The Drives?

Mar 30, 2011

I know I can simply create a degraded raid array and copy the data to the other drive like this: mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb1

But I want the specific disk to keep the raw ext3 filesystem so I can still use it from FreeBSD. When using the command above the disk will be a raid disk and I can't do a mount /dev/sdb1 anymore. A little background info. The drives in question are used as backup drives for a couple of Linux and FreeBSD servers. I am using the Ext3 filesystem to make sure I can quickly recover the data since both FreeBSD and Linux can read from that without problems. If someone has a different solution for that (2 drives in raid 1 that are readable by FreeBSD and writeable by Linux),

View 1 Replies


ADVERTISEMENT

General :: Filesystems - Mirror A Directory And Back Up All Metadata?

Aug 20, 2011

I need to backup my home folder (and a few other folders) on an organizational Linux NFS system where my account will be expiring soon, onto a personal hard drive (which is not using a Linux filesystem). I access the account through SSH and SFTP. I want to backup all metadata for these files and directories and everything in them, including dates, owners, groups, UID/GID numbers, CHMOD permissions, etc. How can I go about doing this? Do I need to run the LS command recursively on the directory with certain settings of what information to display, and pipe the results to a file so that the information will be in a file regardless of which filesystem I move it to? Or is there a way to save all the metadata using something like TAR/GZ? If it's with TAR/GZ, then how do I view this metadata on other filesystems that I move the archive to, and will the users/groups stored remain intact as long as it's not extracted?

In addition, do you know how to do this for SELinux metadata and AFS (Andrew File System) metadata too? (These will be for another filesystem later on, but if don't know the answer to either of these, please still answer the above.)

View 1 Replies View Related

Hardware :: Mega Raid Showing Warning "0:0:RAID-1:2 Drives:153GB:Optimal Drives:2 (11528 Errors)"

Apr 8, 2010

i have cretaed RAID on one of my server RAID health is ok but its shows warning. so what could be the problem. WARNING: 0:0:RAID-1:2 drives:153GB:Optimal Drives:2 (11528 Errors)

View 1 Replies View Related

Slackware :: Filesystems Missing From Hard Drives

May 15, 2010

This is driving me mad, so bear with me. I'm not sure this is a Slackware issue, in fact I'm sure it's not, but you all have helped me in the past so it seems like a good place to start. Also, I don't really know exactly how much of this information will be completely relevant to my problem, but I really can't pin it down.My server is running 64 bit Slackware 13. It was running fine, mainly just serving files on the LAN, with some occasional SSH activity. I was slowly moving hard drives to it from my desktop system (all 1 or 2 terabyte drives). They were previously formatted with NTFS and were filled with files, so it took me a while to move data around, format a drive, and copy the data back. I decided to use ext4, for no particular reason other than it was the newest, so if I end up having to reformat these again, I'm open to using another filesystem. Right now, I've got two 2TB drives and three 1TB drives, but one of those is still NTFS, so it is of no concern at the moment.

At this point, I had just added the two 2TB drives to the system. These happened to be the new WD Advanced Format drives with 4k sectors. I found a way to manipulate fdisk so it would start the partition on the correct cylinder or whatever to take advantage of the new format. I also ended up using GPT instead of MBR because it had more usable space.

two 2TB drives, GPT, ext4, 4k sectors
two 1TB drives, GPT, ext4
one 1TB drive, MBR, NTFS (not important)

This setup was working fine for a few days until I had to take the server down to move some wires around. When I booted the server back up, I discovered the two 2TB drives were missing. They showed up in /dev but wouldn't mount.

View 6 Replies View Related

Ubuntu Servers :: RAID-1 OS Drives - Setting Up A Backup Procedure For The OS Drives

Jan 18, 2010

I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.

Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.

Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.

View 4 Replies View Related

Server :: Debian RAID 10 Spare Drives Versus Active Drives

Jun 9, 2011

so I setup a raid ten system and I was wondering what that difference between the active and spare drives is ? if I have 4 active drives then 2 the two stripes are then mirrored right?

root@wolfden:~# cat /proc/mdstat
Personalities : [raid0] [raid10]
md1 : active raid10 sda2[0] sdd2[3] sdc2[2] sdb2[1]

[code]....

View 2 Replies View Related

Server :: Raid Array Metadata Info (mdadm)?

Feb 3, 2011

When we assemble a raid array, from where does it load configuration information for that array? I thought it refers to /etc/mdadm.conf file, but in my system, mdadm.conf file doesn't even contain all information. Still it is able to successfully assemble previously created device.

# cat /etc/mdadm.conf
DEVICE /dev/sd[bcdjkl]1
DEVICE /dev/loop[012345]

[code]...

View 2 Replies View Related

Ubuntu Installation :: How I Removed RAID Metadata From Hard Disks

Oct 18, 2010

I had a couple of IDE hard disks that had previously been set up as a RAID1 array.I wanted to re-format and use them as separate independent hard disks but Ubuntu reported that they were part of a RAID array.This is how I removed that RAID metadata from the drives.With both drives connected I booted up Ubuntu 10.10 Live CD.

I checked the device names via System, Administration, Disk Utility - they were listed as /dev/sda and /dev/sdbI also noted that there was an extra device with name of /dev/md-0 which was the RAID array.Then I rebooted the PC, and checked the device names via System, Administration, Disk Utility - no more /dev/md-0 and the two drives no longer showed as part of a RAID array.

View 2 Replies View Related

General :: Check On Hard Drives In RAID 1 Array?

Feb 23, 2010

I'm renting a dedicated server with a company that claims that the server has 2 hard drives in a software RAID 1 array, but I need to make sure that the server really has the 2 HDD, and the size of the 2nd drive... how to do that ?? system is Centos 5.3

View 1 Replies View Related

General :: Hard Drives Information / Can To Find RAID Level?

Apr 22, 2010

I know my Linux Servers have RAID but I want to know

1. Can I find RAID level?
2. how to find Disk information...I mean if it's not possible to get RAID Can I get how many hard drives and the real size?

View 2 Replies View Related

General :: Mdadm: Removed Two Drives (still Valid) From Raid-5 And Need To Add Them Back In?

Mar 11, 2011

I have a 4 disk raid 5 array on my Ubuntu 10.10 box. They are /dev/sd[c,d,e,f].Smartctl started notifying me that /dev/sde had some bad sectors and the number of errors was increasing each day. To mitigate this I decided to buy a new drive and replace it.I have an external 4-bay disk enclosure. I failed /dev/sde via mdadm:

Code:
mdadm --manage /dev/md0 --fail /dev/sde
mdadm --manage /dev/md0 --remove /dev/sde

[code]...

View 5 Replies View Related

General :: Setting Up RAID Or Mirror Drives On The Hardware Level?

Sep 16, 2010

How can I mirror drives on the hardware level? I have a Sun X2270 server with 4 1 terabyte hard drives and need to mirror two drives.

View 1 Replies View Related

General :: Ubuntu 9.10 Installation Insists For RAID Hard Drives

Jan 29, 2010

So windows wouldn't recognize my drives as a raid setup, so I disabled it and switched to IDE, now Ubuntu 9.10 installation will only recognize my drives as RAID. I have and ASUS M3A32-MVP Deluxe Series motherboard, it has 4 sata connectors and 2 marvel controlled sata connectors. In the 4 sata connectors I have my 2 wd 500gb hds, my dvd burner, and my external usb, esata slots. In the marvel controlled sata connector I have a wd 160gb hd. Originally when I built the computer I wanted a raid setup with the 2 500 gb hds.

But windows wouldn't recognize the raid set-up and wouldn't boot properly. So I said screw it and removed the raid and set all the drives to IDE. Then, when I tried to install Ubuntu 9.04 it would only recognize my 2 500 gb hds as raid. Gparted recognizes the drives as both raid and IDE. Eventually, after a day or two of praying and messing around the installer recognized both drives as raid and IDE. A couple months later here I am trying to install Ultimate Edition 1.4.

View 14 Replies View Related

General :: Recover Raid - LVM On Non System Drives After System Failure

Jan 19, 2011

I have (had) Debian Testing running on a 250GB IDE hard drive, partitioned normally.

I also have 4x 1TB drives in a raid 5 using mdadm, and 2x 500GB drives in a raid 1 also with mdadm.

I put the two arrays in lvm using:

I then used "lvcreate" to make storage/backup 300GB, and the rest went to storage/media (approx. 2TB usable). I put an xfs filesystem on both and mounted them.

All was working fine until the system drive shorted out and died on me this morning. As far as I can tell, all my other drives and everything else is fine. I do a daily rsnapshot of the filesystem, which of course is residing on storage/backup (stupid, I know). So I have full backups of everything, but I'll have to put a new hard drive in and reinstall Debian before I can restore everything.

I've reinstalled before and simply reassembled mdadm arrays and remounted them before with no problems, but this is the first time I've used lvm, so I'm not sure what I have to do to restore everything. Is it as simple as reinstalling the system then doing a:

View 4 Replies View Related

Ubuntu Servers :: RAID 0 With Different Drives?

Jan 26, 2010

I have two drive on my Ubuntu server. I have a 40GB IDE 5400RPM and an 80GB SATA 7200RPM.

Is it at all possible to RAID 0 the two of these drive? I know it's pretty unorthodox, but it's what I've got without having to buy anything.

If so, what are the limits, cons, and/or potential pros of doing a RAID of these two?

View 9 Replies View Related

Fedora :: Hide Individual Raid Drives?

Sep 1, 2011

I have a RAID 1 that is mounted and working. But for some reason I can also see the individual drives under gnome Devices on gnome-shell. Is there a way to hide them from gnome or linux in general. (So only the raid 1 can be seen)

View 2 Replies View Related

Ubuntu Installation :: Installing 9.10 On Drives That Used To Be In RAID

Jan 11, 2010

I was recently given two hard drives that were used as a raid (maybe fakeraid) pair in a windows XP system. My plan was to split them up and install one as a second HD in my desktop, and load 9.10 x64 on it, and use the other for mythbuntu 9.10. As has been noted elsewhere, the drives aren't recognized by the 9.10 installer, but removing dmraid gets around this, and installation of both ubuntu and mythbuntu went fine. On both systems after installation however, the systems broke during update, giving an "read-only file system" error and no longer booting.

Running fsck from the live cd gives the error:
fsck: fsck.isw_raid_member: not found
fsck: Error 2 while executing fsck.isw_raid_member for /dev/sdb
and running fsck from 9.04 installed on the other hard drive gives an error like:

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

In both cases I setup the drives with the ext4 filesystem. There's probably more that I'm forgetting... it seems likely to me that this problem is due to some lingering issue with the RAID setup they were in. I doubt its a hardware issue since I get the same problem with the different drives in different boxes.

View 5 Replies View Related

Ubuntu :: RAID 5 Array With 4 2TB Hard Drives?

Mar 17, 2010

I want to make a RAID5 array with 4 2TB hard drives. One of the drives is full of data so I will need to start with a 3 disks and then once I copy the data from the 4th onto the array, I will then add the 4th drive. This will be my first experience with RAID. I've spent a few hours searching for info but most of what I have found is a bit over my head.

View 9 Replies View Related

Ubuntu Installation :: Creating RAID-1 With Only 2 Drives?

Jun 27, 2010

I have recently installed a Asus M4A77TD Pro system board which supports raid.

I have 2 x 320gb sata drives I would like to setup raid-1 on. so far i have configured the bios to raid-1 for drives, but when installing Ubuntu 10.04 from the cd it detects the raid configuration but fails to format.

When I re-set all bios settings to standard sata drives ubuntu installs and works as normal but i have just 2 x drives without any raid options. I had this working in my previous setup but thats because i had the o/s on a sepreate drive from the raid and was able to do this within Ubuntu.

View 3 Replies View Related

Ubuntu :: Can't Get RAID Hard Drives To Mount At All

Oct 30, 2010

I'm using 4 hard drives (1 of which is a sata drive) and i need help installing raid drivers i cant get these hard drives to mount at all

View 3 Replies View Related

Ubuntu :: Use Multiple USB Drives To Provide RAID ?

Dec 14, 2010

I've got a 10.10 installation, which I am using as a media/download server. Currently everything is stored on a 1TB USB drive.With the costs of disks falling, and the hassle of trying to back 1TB up to DVD (no, it's not going to happen) I was wondering if there's some linux/Ubuntu utility, which can use multiple disks to provide failover/resilience ... Could I just buy another 1TB drive, and have it "shadowing" the main, so that if one goes, I buy another, and then restore from the copy ?

View 3 Replies View Related

Ubuntu :: RAID Showing As Two Seperate Drives / Why Is This?

Feb 3, 2011

I have a motherboard with the following chipset Intel 945GM + Intel ICH7R Chipset

This board: http://emea.kontron.com/products/boa...6lcdmmitx.html

I have two 320GB HDDs setup in hardware raid as shown below. But in gparted they are showing as two seperate drives. Why is this?

Raid setup:

GParted

fdisk -l

What am i doing wrong here?

View 8 Replies View Related

Ubuntu :: Replacing With Larger Drives In RAID 6?

Jun 14, 2011

I have a RAID 6 built on 6x 250GB HDDs w/EXT4. I will be upgrading the RAID to 4 2TB HDDs.

How would one go about this? What commands would need to be ran? I'm thinking about replacing the drives 1 at a time and letting it do the rebuild, but I know that would take a lot of time (which is fine). I don't have enough SATA ports to setup the new RAID and copy things over.

View 3 Replies View Related

Installation :: Hardware RAID 0 Still Show Up As 2 Drives / Cause Of It?

Jul 29, 2010

My two 400G drives which have been added to a single 800G array (per fastbuild bios utility) still show up as two 400G drives in fdisk. Why is that?

View 1 Replies View Related

Hardware :: System Device Name For A RAID Of SAS Drives?

Jun 29, 2010

For SATA drives in AHCI mode, the names are /dev/sdX, what about a RAID-0 or RAID-1 array of SAS drives? Are they the same?

View 8 Replies View Related

Ubuntu :: Intel RAID Controller - Showing 2 Drives?

Apr 24, 2010

I shall start off by saying that I have just jumped from Windows 7 to Ubuntu and am not regretting the decision one bit. I am however stuck with a problem. I have spent a few hours google'ing this and have read some interesting articles (probably way beyond what the problem actually is) but still don't think I have found the answer.I have installed:

Distributor ID: Ubuntu
Description: Ubuntu lucid (development branch)
Release: 10.04
Codename: lucid

I am running the install on an old Dell 8400. My PC has an Intel RAID Controller built into the MB. I have 1 HDD (without RAID) (which is houses my OS install) and then I have 2 1TB drives (These are just NTFS formatted drives with binary files on them nothing more.) in a RAID 1 (Mirroring) Array. The Intel RAID Controller on Boot recognizes the Array as it always has (irrespective of which OS is installed) however, unlike Windows 7 (where I was able to install the Intel RAID controller driver) .Does anyone know of a resolution (which doesn't involve formatting and / or use of some other software RAID solution) - to get this working which my searches have not taken me too?

View 2 Replies View Related

Ubuntu Servers :: Suitable Drives For Software RAID 5?

Mar 9, 2011

I'm looking for advise on which drives to add into my server for software raid 5. I would like to use 2TB drives for the array. The server currently boots off a RAID 1 array and I have a couple other drives mounted until I build a RAID 5 array with new drives. I've read horror stories on using Western Digital WD20EARS and Seagate ST32000542AS. So I'm wondering which large drives are best to use in software raid?

View 9 Replies View Related

Ubuntu :: Combine The 2 Additional Drives Into A RAID 1 Array?

May 11, 2011

I got my system up and running with the Grub installed on my primary hard drive. I have not installed 2 additional drives. I would like to combine the 2 additional drives into a RAID 1 array. I can only find tutorials on how to do this during initial install. I cannot find one that tell me how to do it after the install. Is there a way?

View 3 Replies View Related

Ubuntu Servers :: RAID 5 Software Array With 3TB Drives

Jun 15, 2011

I am trying to use 3 3TB Western Digital drives in a raid 5 software array. The trouble seems to be that the array is created with only 1.5 TB of capacity, rather then the expected 6 TB.

Here are the commands and output:
$ sudo dmraid -f isw -C BackupFull6 --type 5 --disk /dev/sde,/dev/sdf,/dev/sdg --size=5589G
Create a RAID set with ISW metadata format
RAID name: BackupFull6
RAID type: RAID5
RAID size: 5589G (11720982528 blocks)
RAID strip: 64k (128 blocks)
DISKS: /dev/sde, /dev/sdf, /dev/sdg
About to create a RAID set with the above settings. Continue ? [y/n] :y

$ sudo dmraid -s
*** Group superset isw_cdjhcaegij
--> Subset
name: isw_cdjhcaegij_BackupFull6
size : 3131048448
stride : 128
type : raid5_la
status : ok
subsets: 0
devs : 3
spares : 0

So I cannot understand why the size of the created array is only 3131048448 or about 1.5 TB. The first command seemed to imply it was going to create an array with 5589GB.

System is:
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

View 8 Replies View Related

Red Hat / Fedora :: Configure A Set Of Hard Drives As A RAID Configuration?

Apr 21, 2010

I am currently trying to configure a set of hard drives as a RAID configuration. My system is running with Red Hat Enterprise Linux Client release 5.1 as the base OS. I am booting from CD. I am trying to image a set of drives that have not been imaged before. When the GUI dialog window for disk setup is displayed, it shows a default disk layout including a LVM slice. In the disk layout is a /boot partition already. It is not what I would like so I edit it to be the size for my system and make it the primary partition. I also select it to be a software RAID. I then add three more partitions for my drive 'A' all of type software RAID and NOT primary partitions.

At this point my drives have the correct number of partitions except for showing the LVM slice. I select 'RAID' again, followed by selecting 'Clone a drive to create a RAID device ...' followed by 'OK'. I then get a dialog to select the source and target. i select my drive 'A' to be the source and 'B' to be the target followed by 'OK'. An error dialog is received stating that all the partitions are not of type software RAID. The disk partitions are all type software RAID except the extended LVM slice. I can not get past this point and I am following a procedure written some time ago by a person that is not available.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved