Baho Utot wrote:

> What I do is to create a new lvm partition for the system under test. . .
> 
> Then bend break and mutilate as necessary.  After I am done and it is no 
> longer needed...just remove it from the grub menu and lvm and I am done.
> every thing is clean.  What if from your list above I would need to kill 
> say /dev/sda9 and add that space to say sda12 and sda5?  What happens to all 
> the partitions after it and then what happens when you need to fix the grub 
> menu? Isn't all the partition renumbered after fdisk del 9?
Yes, I think it is, but I generally don't delete or insert partitions. 
I just run mkfs and reuse it.

> With lvm all that is needed is to extend the lvm-partition and resize2fs and 
> I 
> am good.  That lets me have a partition start out small and expand or shrink 
> it as needed. When you remove a lvm partition the space goes back to the "lvm 
> pool" and can then be reassigned/reused.
> 
> Also I don't have to remember what partition goes with what, was that sda12 
> or 
> was it sda6 that had arch linux or was it centos, well which centos I have 4 
> of them.  With lvm I have lvm-centos-router, lvm-centos-email lvm-centos-http 
> lvm-centos-junk.  Now I know which is what and don't have to have any notes 
> of what is what ;)

I can see your point.  I still think a standard partition is best for 
new LFS users.

> Once you get used to using lvm you will find that it simplifies disk 
> management.
> 
> You don't even need any partition for lvm if you don't want to, (for data 
> volumes).  For example you could if you wanted have both sda and sbd in a 
> volume group and then you don't need to keep track of which disk is which.

But when you combine it with raid, you do need to keep a little better 
track of things, but that's another complication.  I intend to research 
mdadm and put that into BLFS also.

The main purpose of LFS/BLFS is education, so all this will be useful, 
however the combinations are quite complicated.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to