On 11/18/06, <b class="gmail_sendername">Florin Iucha</b> &lt;<a href="mailto:florin@iucha.net">florin@iucha.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>/dev/sda3 is a LVM physical module, so you cannot mount it directly.<br><br>Have you tried running &quot;vgscan&quot; first?&nbsp;&nbsp;It should scan the disks and<br>rebuild the device nodes.<br></blockquote></div><br>I agree with Florin.&nbsp; Once you run vgscan, you may need to activate the volume group:
<br><br># vgscan<br># vgchange -a y &lt;volumegroup name&gt;<br># mount /dev/&lt;VGname&gt;/&lt;lvolname&gt; /mnt/dir<br><br>Then you should be able to access your filesystem(s).<br><br><br>For future reference, you might want to consider a layout such as this:
<br><br>/dev/[hs]da1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (primary partition)<br>/dev/[hs]da2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; swap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (primary partition)<br>/dev/[hs]da3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (primary partition)
<br>/dev/[hs]da4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LVM &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (primary partition)<br><br><br>/dev/[hs]da4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Consists of the following:<br><br>/dev/vg00<br>/dev/vg00/lvol1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr<br>/dev/vg00/lvol2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var
<br>/dev/vg00/lvol3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt<br>/dev/vg00/lvol4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /tmp<br>/dev/vg00/lvol5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /home<br><br><br><br>A layout such as this allows you to mount your / partition via&nbsp; a rescue CD without having to perform all the vgscan/vgchange/etc steps mentioned above.&nbsp; Most times, you only need to access the / partition.&nbsp; But, if you need to access the others, then you can activate the VG.&nbsp; 
<br><br>Your /boot and / paritions are not going to change over the life of the system, thus putting them and swap on primaries.&nbsp; After that, allocate the rest of your drive to LVM.<br><br>This is how I prefer to do my systems, and I haven't had an issue yet with this configuration.
<br clear="all"><br>-- <br>-Shawn<br><br>-Nemo me impune lacessit.&nbsp;&nbsp;Ne Obliviscaris.. <br>