[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mkinitrd and glibc version problem in etch



On Sun, Feb 24, 2008 at 10:14:54PM +0000, Richard Lyons wrote:
> On Sun, Feb 24, 2008 at 04:25:02PM -0500, Douglas A. Tutty wrote:
> > 
> > What warnings did you get about LVM?  It is rather nice to be able to
> > resize partitions, but also migrate partitions of of failing drives.  On
> > all my old boxes (that are still new enough to run Debian), drive
> > failures start with wierd error messages.  Using LVM, I can migrate the
> > data onto more reliable drives, then stress-test the failing ones to
> > either get them working or just ditch them.
> 
> Yes it all sounds idyllic, which is why I allowed the installer to do
> its default thing and install lvm and choose its own partitioning -- I
> assumed it was simple to resize and extend later.  Then when I came to
> read the man pages and google for advice on the rather inscrutable
> commands to re-allocate the space between the partitions, there seemed
> to be warnings of terrible possible data losses.  I am sorry, but I
> don't remember the details.  I asked on this list and got little solace,
> tried to shrink one partition in order to expand another, and found that
> it was impossible, and gave up rather feebly.  Something like that,
> anyway.  
> 
> As I said, I am at home with fdisk and parted.  And can boot from
> knoppix and copy a whole partition off when I need to, whereas knoppix
> doesn't seem to know about the lvm partitions.  Probably my lack of
> knowledge, though: I am sure knoppix can mount the LVM in capable hands.
> I expect I am just showing my age.

I've never bothered to figure out how to get a LiveCD to mount my LVM
(some of which is sitting on top of raid1).  The way it works is that
the kernel should boot.  If it doesn't, there's the installer CD in
rescue mode.

Some filesystem types allow shrinking, others don't.  If you need to
shrink one and the filesystem doesn't allow it, you have to create a new
LV, put a new filesystem on it, move the data, and remove the old LV.

The best HOWTO is the LVM howto in the doc-linux package (from
tldp.org).  The trick is to be aware of the layers and to resize things
at the right layer.  Yes the concept is complicated, but the actual
useage is rather magical.

Whatever floats your boat.

Doug.


Reply to: