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

RE: nahant-list Digest, Vol 5, Issue 36



I really like the HP-UX LVM (what the Linux LVM was based on) standard
names. You end up with this kind of name:

/dev/vg00/lvol1
/dev/vg00/lvol2
...

I find it much more user friendly than:

/dev/Volume00/LogVol00
/dev/Volume00/LogVol01

Makes the 'df' output stay on one line, too. Well, actually NOT (as I've
just discovered on my 1st ES4 system), since UDEV causes them to be
named the ridiculous:

/dev/mapper/vg00-lvol1
/dev/mapper/vg00-lvol2

Anyone know how I can fix that? It causes 'df' to break lines which
sucks for scripting - in fact the LogWatch report shows bad data for the
Disk Usage section...

Kevin

-----Original Message-----
From: nahant-list-bounces redhat com
[mailto:nahant-list-bounces redhat com] On Behalf Of John Haxby
Sent: Wednesday, June 29, 2005 3:07 AM
To: Red Hat Enterprise Linux 4 (Nahant) Discussion List
Subject: Re: nahant-list Digest, Vol 5, Issue 36


Ed Wilts wrote:

>>. wait for it ...
>>
>>   lvrename
>>
>>Do be careful though.   Make sure you can boot your system off the 
>>rescue disk and that you're comfortable with that environment so that 
>>when you make your system unbootable you can fix it :-)
>>    
>>
>
>You can remake your mkinitrd before you shut down and then you should
be
>okay on boot.  
>  
>
Odd.   When I did this recently I just changed the root= parameters in 
grub.conf and entries in /etc/fstab.   Looking at the init script in the

initrd cpio thingy, I can see that a vgrename could cause problems 
because it has a "vgchange -ay <vg>" in there.   You can't do an 
vgrename unless you boot off the rescue disk though.   Something to try 
when I'm bored: I don't like my volume group name :-)

jch

--
nahant-list mailing list
nahant-list redhat com
http://www.redhat.com/mailman/listinfo/nahant-list




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