SuSE/LVM boot problem
Quoted 7 lines · Eric M. Hopper
One idea for making this happens is to have a way of locking
logical extents to physical extents so that you have to use a special command to unlock them. This kind of thing is already done in different parts of LVM to make sure you don't delete logical volumes that are in use, or remove physical volumes that still have extents allocated to them.
Quoted 8 lines
One this exists, altering lilo to detect LVM, and automatically
lock the necessarylogical->physicalextent mappings isn't too hard.Well, the problem is that moving a few physical extents does not
obviously suggest re-running lilo. Many physical extents are fine to move, and trying to keep track of which physical extents lilo cares about, and which one's it doesn't isn't a task I think a sysadmin should have to deal with.
I agree. If it is possible/easy to already do this, I would say do it. I'm also saying that if it isn't possible (or if it is, but it's a lot of work), then it isn't really a show stopper. People don't often move their kernels around, and if they do, there is no indication that LILO should be run either. The /boot filesystem (or / if no /boot) is special in other ways as well, and I don't think many sysadmins will have a problem with remembering not to move it.
Quoted 4 lines
While I expected that /boot would have to be ext2fs, and
allocated a very generous 50M to it, I purposely compiled lvm into the kernel in the hopes of one day having an lvm / parition. Of course, resizing an lvm / partition is a dicey affair. :-)
Why do you say that? You can resize it while it is mounted:
http://ext2resize.sourceforge.net/
Cheers, Andreas
Signature · 3 lines
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- DogbertQuoted 10 lines · Andreas Dilger
Quoted 8 lines · Eric M. Hopper
One this exists, altering lilo to detect LVM, and automatically
lock the necessarylogical->physicalextent mappings isn't too hard.Well, the problem is that moving a few physical extents does not
obviously suggest re-running lilo. Many physical extents are fine to move, and trying to keep track of which physical extents lilo cares about, and which one's it doesn't isn't a task I think a sysadmin should have to deal with.
Quoted 7 lines
I agree. If it is possible/easy to already do this, I would say do it. I'm also saying that if it isn't possible (or if it is, but it's a lot of work), then it isn't really a show stopper. People don't often move their kernels around, and if they do, there is no indication that LILO should be run either. The /boot filesystem (or / if no /boot) is special in other ways as well, and I don't think many sysadmins will have a problem with remembering not to move it.
I agree with the statment "I don't think many sysadmins will have a problem", however this does not address the typical desktop or home user.
They basically do not have a sysadmin, so mechanisms that rely on a savy sysadmin avoiding disaster (ie, won't boot) are not suitable for a large population of potential users. These are the same people who don't know how to use fdisk safely, and who have no idea of how to lay out filesystems. That is, the people who could really appreciate being able to turn over all the storage to lvm so they can just add a disk and extend their filesystems onto it when they need more space without worrying about the details.
Quoted 2 lines
Why do you say that? You can resize it while it is mounted:
http://ext2resize.sourceforge.net/
Cool.
-dg
Signature · 2 lines
David Gould [email protected] If simplicity worked, the world would be overrun with insects.
Quoted 3 lines · Andreas Dilger
Why do you say that? You can resize it while it is mounted:
http://ext2resize.sourceforge.net/
Thanks for pointing this out to me. I had been illegally using
Partition Magic's utility. :-) Although, I may very well buy a copy of that program because it's so useful.
Have fun (if at all possible),
Signature · 4 lines
Its name is Public Opinion. It is held in reverence. It settles everything. Some think it is the voice of God. Loyalty to petrified opinion never yet broke a chain or freed a human soul. ---Mark Twain -- Eric Hopper ([email protected] http://omnifarious.mn.org/~hopper) --
Quoted 11 lines · On Wed, 3 May 2000 [email protected] wrote:
I agree with the statment "I don't think many sysadmins will have a problem", however this does not address the typical desktop or home user.
They basically do not have a sysadmin, so mechanisms that rely on a savy sysadmin avoiding disaster (ie, won't boot) are not suitable for a large population of potential users. These are the same people who don't know how to use fdisk safely, and who have no idea of how to lay out filesystems. That is, the people who could really appreciate being able to turn over all the storage to lvm so they can just add a disk and extend their filesystems onto it when they need more space without worrying about the details.
Which is something that eats me. Why? Because there is no reason for people who have no idea what they are doing, or have no WANT to know what they are doing, to be mucking around in Unix. If we keep adding "features" to make it "easier to use" eventually we'll have bloat and be just like Windows. It makes the software over-complicated and isn't necessary.
Just my $.0001 worth
Quoted 13 lines
Quoted 3 lines
Why do you say that? You can resize it while it is mounted:
http://ext2resize.sourceforge.net/Cool.
-dg
Signature · 2 lines
David Gould [email protected] If simplicity worked, the world would be overrun with insects.