Re: [CentOS] figuring out LogVol details for mount

2011-04-03 Thread Winter
 When you boot into rescue mode are you given the option to
 continue-mount or read-only-mount the system to /mnt/sysimage? You could
 try to view /mnt/sysimage/etc/fstab to find the partition types.

 Regards,

 W.

Hello everyone,

I was, of course, a numbnut for suggesting this.  I don't normally LVM 
the / partition, so I didn't think of it.  I'll try to, er, open my mind 
out of my environment for future helpful suggestions.

Actually, the thread was an example of why I don't LVM /.  I think it 
adds another layer I'd rather not have to deal with when things go 
casters up.  But that is just My Way and it is not The Only Way.

Not a knock on Neuby, since it wasn't installed by him.

How goes the battle, by the way?

W.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] figuring out LogVol details for mount

2011-03-31 Thread Winter
On 3/31/2011 6:22 PM, neubyr wrote:
 Hi,

 I need to mount a LVM in rescue mode to create a new initrd image. I
 am not sure how do I fond out which LogVol is to be mounted. How do I
 find it out?  In most of the configs I have used LogVol00 with ext3
 filesystem which contains OS install. This particular system is not
 installed by me and I am not sure how do I find it out. I did try 'lvm
 lvs' command, but probably that's not the right command here. Any
 help?

 --
 thanks,
 neuby.r.

Good evening, Neuby

When you boot into rescue mode are you given the option to 
continue-mount or read-only-mount the system to /mnt/sysimage?  You 
could try to view /mnt/sysimage/etc/fstab to find the partition types.

Regards,

W.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] figuring out LogVol details for mount

2011-03-31 Thread Nico Kadel-Garcia
On Thu, Mar 31, 2011 at 8:50 PM, Winter win...@frostmarch.com wrote:
 On 3/31/2011 6:22 PM, neubyr wrote:
 Hi,

 I need to mount a LVM in rescue mode to create a new initrd image. I
 am not sure how do I fond out which LogVol is to be mounted. How do I
 find it out?  In most of the configs I have used LogVol00 with ext3
 filesystem which contains OS install. This particular system is not
 installed by me and I am not sure how do I find it out. I did try 'lvm
 lvs' command, but probably that's not the right command here. Any
 help?

 --
 thanks,
 neuby.r.

 Good evening, Neuby

 When you boot into rescue mode are you given the option to
 continue-mount or read-only-mount the system to /mnt/sysimage?  You
 could try to view /mnt/sysimage/etc/fstab to find the partition types.

 Regards,

 W.

If he could do *that*, he would already have the volumes mounted,
barring other strangeness going on. They'd all be mounted under
/mnt/sysimage, and would be revealed by the df or mount
commands.

If this isn't available, the pvscan, vgscan, and lvscan commands
are all available in the bootable CD, *but* they are all built into
the underlying lvm command. So type lvm pvscan to find what
physical volumes are set up for LVM, lvm vgscan to find the volume
groups, and lvm lvscan to find the volumes.

Re-activating an 'inactive' LVM due to a messed up configuration or
volume is left as an exercise for the reader.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] figuring out LogVol details for mount

2011-03-31 Thread neubyr
On Thu, Mar 31, 2011 at 8:39 PM, Nico Kadel-Garcia nka...@gmail.com wrote:
 On Thu, Mar 31, 2011 at 8:50 PM, Winter win...@frostmarch.com wrote:
 On 3/31/2011 6:22 PM, neubyr wrote:
 Hi,

 I need to mount a LVM in rescue mode to create a new initrd image. I
 am not sure how do I fond out which LogVol is to be mounted. How do I
 find it out?  In most of the configs I have used LogVol00 with ext3
 filesystem which contains OS install. This particular system is not
 installed by me and I am not sure how do I find it out. I did try 'lvm
 lvs' command, but probably that's not the right command here. Any
 help?

 --
 thanks,
 neuby.r.

 Good evening, Neuby

 When you boot into rescue mode are you given the option to
 continue-mount or read-only-mount the system to /mnt/sysimage?  You
 could try to view /mnt/sysimage/etc/fstab to find the partition types.

 Regards,

 W.

 If he could do *that*, he would already have the volumes mounted,
 barring other strangeness going on. They'd all be mounted under
 /mnt/sysimage, and would be revealed by the df or mount
 commands.

 If this isn't available, the pvscan, vgscan, and lvscan commands
 are all available in the bootable CD, *but* they are all built into
 the underlying lvm command. So type lvm pvscan to find what
 physical volumes are set up for LVM, lvm vgscan to find the volume
 groups, and lvm lvscan to find the volumes.

 Re-activating an 'inactive' LVM due to a messed up configuration or
 volume is left as an exercise for the reader.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


It's not mounting any volumes by default as it's not able to read
partition table and hence says no Linux partitions found. But I am
able to see partitions using fdisk and check LVM volumes. I am not
sure which volume of that contains OS install  VolGroup00-LogVol00 or
VolGroup00-LogVol01. Is there any way I can determine it?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos