LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-01-2006, 05:40 AM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
LVM - SATA and IDE drives


I was wondering whether it is possible to create a Logical Volume that consists of space from a SATA and IDE drive?

Eg create a /home logical volume of 10GB with 6GB from a SATA drive and 4GB from an IDE drive.
 
Old 08-01-2006, 06:39 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
Sure it is. No problem. I already try this mix one time, just for fun, in my personal machine. I had no problems at all. After a while I upgraded my PATA disk to another SATA, but I did that not because I had any problems, but only for the bigger sata disk i got.
 
Old 08-01-2006, 06:54 AM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
I figured it wouldn't be an issue but just wanted to make sure.
 
Old 08-23-2006, 02:19 PM   #4
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
I also take it there won't be an issue with different distros reading an LVM partition set up in another distro?
 
Old 09-07-2006, 11:30 AM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
So the following LVM has been set up under FV5

Code:
[root:~#] pvscan
  PV /dev/sda14   VG Home    lvm2 [32.88 GB / 0    free]
  PV /dev/hdd8    VG Home    lvm2 [30.31 GB / 0    free]
  PV /dev/sda13   VG Store   lvm2 [30.00 GB / 0    free]
  PV /dev/sda12   VG Games   lvm2 [39.99 GB / 0    free]
  Total: 4 [133.18 GB] / in use: 4 [133.18 GB] / in no VG: 0 [0   ]
The fstab portion for the LVMs

Code:
/dev/Home/lvol0         /home                   reiserfs defaults        1 2
/dev/Store/lvol0        /mnt/Store              reiserfs defaults        1 2
/dev/Games/lvol0        /mnt/games              reiserfs defaults        1 2
Also what other options should I add to the fstab to ensure that normal users can write to Store and Games.
 
Old 09-07-2006, 01:51 PM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 1,979

Rep: Reputation: 290Reputation: 290Reputation: 290
Quote:
Originally Posted by Jongi
I also take it there won't be an issue with different distros reading an LVM partition set up in another distro?
Shouldn't be a problem as long as both distros use consistant versions of LVM. e.g., if you create an LVM2 volume with distro #1 and then try to read that using distro #2 THAT ONLY SUPPORTS THE OLDER LVM1, then that would be a problem. But not the other way around. LVM2 systems can use LVM1 volumes.

Also, when that second distro comes into play, you may need to manually run "vgscan" then "vgchange -a y" to get it to initially see the first distro's volumes. Normally these commands are in the OS startup scripts (run when you boot), but they may not be there in your second distro when it initially comes into the mix. e.g., I use Debian and LVM2. When I boot a Knoppix CD I have to manually run these two commands.

FWIW: Knoppix 5 includes LVM2, but older Knoppix 4 only supports LVM1 (you can add LVM2 to Knoppix 4 with "modprobe dm-mod; apt-get-update; apt-get install lvm2 lvm-common; lndir /lib/lvm-200 /sbin/; vgscan; vgchange -a y"
 
Old 09-07-2006, 02:15 PM   #7
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
I will be wanting to have the partitions seen in Kubuntu 64-bit, Kubuntu 32-bit, Ubuntu, SUSE, Mandiva 2006, Gentoo, Knoppix and Debian.

SUSE has seen them quite easily. And they are mounted. Just the others to go now.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
sata and ide drives fc4 with msi 925x filfish Linux - Hardware 24 11-19-2005 01:27 AM
LVM with external USB drives pompeyjohn Linux - Hardware 0 10-01-2005 01:56 AM
sata and ide tape drives glockster Linux - Hardware 8 08-10-2005 08:08 AM
dual boot on 2 drives...sata and ide vrdhananjay Linux - Hardware 6 09-08-2004 01:19 AM


All times are GMT -5. The time now is 10:04 PM.

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