Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to LinuxQuestions.org, but not to Linux. I have a question about LVM.
My /dev/sda disk is partitioned into Windows NTFS on sda1, Linux /boot partition on sda2, and the Fedora 10 root (/) LVM partition is on sda3. I have moved my Windows XP to VMware on the Linux system and would like to add the sda1 partition to root LVM group.
I don't think there should be a problem in doing this, but I would like another opinion before I try it.
Hi!
I am not absolutely sure, but I don't think if I remember correctly, that you can make a partiton a member of LVM group if it is not partioned as LVM from the beginning!
I am not absolutely sure, but I don't think if I remember correctly, that you can make a partiton a member of LVM group if it is not partioned as LVM from the beginning!
I think you're thinking of RAID.
The whole point of LVM is the flexibility it gives you to add partitions or whole HDD's in the future (by extending your volumegroup with more physical volumes). So the answer is go ahead.
The LVM HOWTO http://tldp.org/HOWTO/LVM-HOWTO/. You've prob got v2. You should just need to use fdisk or an equiv to declare sda1 as a pv (type 8e), then add it to the VG, then the LV.
My /dev/sda disk is partitioned into Windows NTFS on sda1, Linux /boot partition on sda2, and the Fedora 10 root (/) LVM partition is on sda3.
The emboldened text is a little strange. Partitions are LVM physical volumes (PVs) which are assigned to LVM volume groups (VGs) and spae from VGs is used to create LVM logical volumes (LVs) in which you can create file systems.
Do you mean that sda3 is used as a PV in a VG out of which you have created an LV which you are using for Fedora 10 root (/)? If so, is sda3 the only PV in the VG and is all the space in the VG used for Fedora 10 root (/)?
To be more specific, sda3 is part of /dev/mapper/VolGroup00-LogVol00 which has two logical volumes (LV 00 and LV 01) on it, one of which is root (/) for Fedora 10. At the moment, VG 00 is using only sda3. I would like to add sda1 to the VG 00 and then add space to both logical volumes or maybe add another logical volume.
Yes I know that I have to reformat the NTFS partition for LVM.
I guess my real questions are:
1. Is there a problem using two partitions from the the same disks for a Volume Group.
2. Could there be a problem having the /boot partition in the on sda2, which is between these two partitions.
I believe there are no problems with doing either of these, but I would just like other's input.
1. Is there a problem using two partitions from the the same disks for a Volume Group.
2. Could there be a problem having the /boot partition in the on sda2, which is between these two partitions.
AIUI ...
1. No, except for a possible performance degradation, likely trivial if the heads only have to skip over a relatively small partition (used for /boot). There is no reason to set out to have such an arrangement but if it arises as a matter of convenience ... that's one of the things LVM is good at.
2. No, assuming the partition table is sane with no overlapping.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.