On Tuesday 30 July 2002 07.32, Brian Marr wrote:
Background - 3 hard drives hda 6GB hdb 4GB hdh 8GB
I was hoping to combine hda & hdb with LVM to be my / directory. Hdh is /home. In LVM setup Yast gave me a group name (system) and allowed me to select the partitions to make up the volume ? But I could not see where to mount this. Yast wanted to assign something to /.
I don't think you can use LVM on the root partition. At least YaST2 wouldn't let me do it when I tried to. But why would you need 10 GB for a root partition? You won't need more than 5 tops for /, less if you have separate partitions for /usr and /var. In any case, once you've selected the partitions to be used in the volume group, add a logical volume (top right on the LVM setup page, if memory serves). This is what you then assign to a mount point.
Also -if I asked Yast to format these partitions they would not show up in the create volume dialogue.
The partitions you want to use in LVM shouldn't be formatted. Instead, check the "do not format" check box, and select type "LVM" for it.
If I do not format the partitions then it gives a warning.
As I said before, you don't format the actual partitions when you use LVM. Instead you format the "virtual partitions", which in LVM-speak is called "logical volumes". Once you've created these virtual partitions, they will show up in the partition list and you can format them there.
Can anyone put me on the right track ? As you guessed I am new to LVM.
Here's the deal in shorthand: you have a number of real disks. On these disks are a number of real partitions. These real partitions you combine to make "virtual disks" (or volume groups, as they're called in LVM-speak). On these virtual disks you create virtual partitions (or logical volumes), and these virtual partitions you can then manipulate (format, mount) as you would a real partition. That, put extremely simply, is what LVM is all about. regards Anders