Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 6th October 2010, 23:44
mccyberix mccyberix is offline
Join Date: Aug 2006
Posts: 74
Thanks: 0
Thanked 1 Time in 1 Post
Default How To Set Up Software RAID1 On A Running LVM System (lenny)

I have troubles setting up Software RAID1 On A Running LVM System (Lenny)
because my partitions are not according to the tutorial. My machine has two identical 500GB SATA drives and I configured one of them with the standard partition scheme (guided entire disk with LVM, not the encrypted option). The second one I leaved blank without any partition. Now comes my problem, according to the howto I should have the following partitions:
/dev/sda1 /boot
/dev/sda2 (extended)
/dev/sda5 (LVM)
but I have only:
/dev/sda1 /boot
/dev/sda2 (LVM)
...there is no extended partition, so when I do the setup with /sda2 instead of /sda5 everything goes well untill I come to the point "pvcreate /dev/md1"
where I get the error that I have to -ff this command. So please can you tell me why my debian installation woun't create the (extended) partition or how to get this done without this.

Thanks in advance!
Reply With Quote
Sponsored Links
Old 7th October 2010, 11:06
mccyberix mccyberix is offline
Join Date: Aug 2006
Posts: 74
Thanks: 0
Thanked 1 Time in 1 Post

I forget to tell you that my mdadm.conf shows up more arrays as it should, maybe thats ok but I'm affraid to have something messed up. here is my mdadm.conf

# mdadm.conf
# Please refer to mdadm.conf(5) for information about this file.

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=7cbe93d1:c3548ceb:19d1a4dc:999fb1c2

# This file was auto-generated on Thu, 07 Oct 2010 09:25:07 +0200
# by mkconf $Id$
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=7cbe93d1:c3548ceb:19d1a4dc:999fb1c2
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=3712febe:dcc831cf:19d1a4dc:999fb1c2
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=67369cf6:516ce7e4:19d1a4dc:999fb1c2
Reply With Quote
Old 7th October 2010, 16:03
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

You have to /dev/md0 devices in your mdadm.conf...

What are the outputs of
cat /proc/mdstat
fdisk -l
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Set Up Software RAID1 On A Running System... (CentOS 5 icecold HOWTO-Related Questions 2 31st July 2010 19:18
Admin Program for Virtual Users and Domains Postfix courier etc...(Ubuntu 8.04)? the1rob HOWTO-Related Questions 11 4th August 2009 05:54
Software RAID1 + LVM on FC5 Daisy Installation/Configuration 3 6th February 2007 14:47
renice - - set nice values of running processes sysconfig Suggest HOWTO 1 6th November 2006 08:52
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 12:51

All times are GMT +2. The time now is 15:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.