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.
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.
On Friday, April 01, 2011 04:23:40 am Rudi Ahlers wrote:> Yes, that's why you assign a LABEL to the device :)According to the OP's initial message, I think he's already doing this:>> SATA system HDD /dev/VolGroup00/LogVol00 / >> RAID array LABEL=STORE /store ## mounts =>> /dev/sdb1But I could be wrong. The issue seemed to be that the udev rule prevented the detection of the LVM on that RAID completely when it came up as /dev/sdd. The other udev rule in-thread seems to be a possible solution; will be interesting to see if it works.
Apparently Analagous Threads
- NFS still serving old directory after rename
- harddisk partition not created right with centos 5.7
- xargs with max each line / argument
- Problem creating volgroups with kickstart installations (on xen)
- anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery