Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-04-2009, 06:11 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 10

Rep: Reputation: 1
Mount a pair of RAID 1 Sata Drives with LVM to a new server...

hi all,

I currently have a pair of sata drives running as a debian server. These are configured with the below partition layout.

Filesystem            Size  Used Avail Use% Mounted on
                       20G  2.6G   17G  14% /
tmpfs                 503M     0  503M   0% /lib/init/rw
udev                   10M   68K   10M   1% /dev
tmpfs                 503M     0  503M   0% /dev/shm
/dev/md0              471M   33M  414M   8% /boot
/dev/mapper/vg00-var  652G  434G  185G  71% /var

I have a new box, running debian also, off an IDE drive. I want to mount these 2 sata, lvm, raided drives keeping the same configuration.

Would i just
1] remove the boot partition,
2] plug them in,
3] mount up /dev/mapper/vg00-root
4] mount up /dev/mapper/vg00-var

If not, what would be the steps?

Old 02-04-2009, 08:42 PM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Well, I'm a bit confused about your setup. Are the two sata drives using the linux software Raid, or are you just split across the disks using the LVM? (one volume group spread across two physical volumes)

If you are using just the LVM, install the disks and run 'pvscan'. This will scan the available physical volumes for partitions setup for LVM. Then run 'vgscan' and you should see the volume groups on the disks, after the vgscan activate all the logical volumes with 'vgchange -a y'. After this they should be available to mount.

If you have complicated your setup with the software RAID, I can't help you. I have never setup RAID on linux.
Old 02-04-2009, 08:56 PM   #3
LQ Newbie
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 1
Yeah, the 2 sata drives are using Linux Software Raid, with LVM partitioning on top.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM / Software RAID across a mix of IDE / SATA drives jhermans Linux - Software 1 04-08-2007 04:26 AM
LVM - SATA and IDE drives Jongi Linux - General 6 09-07-2006 02:15 PM
RAID/LVM setup with existing drives juu801 Linux - General 3 07-06-2005 12:35 AM
NFTS sata raid drives - won't mount jamangold Linux - Newbie 0 07-25-2004 06:57 PM
Mount SATA RAID drives in debian? EcceVery Debian 8 05-12-2004 04:24 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration