Do a pvscan.
It prolly will say that the parititon is INACTIVE.
If this is the case, try:
vgchange -ay XVG
if it isn''t, try activating the partitions by hand:
lvchange -ay /dev/XVG/{root,swap,MGT,r}
After this you should see the 4 partitios in /dev/XVG and /dev/mapper/XVG*
If you installed the LVM from a package manager, it usually should
install a init.d script that does
/sbin/vgscan
/sbin/vgchange -ay
Can you check if a script exists that does something like that?
If it doesn''t, did you try rebooting and see if they are still
inactive?
(Maybe this will help you:
http://www.faqs.org/docs/Linux-HOWTO/LVM-HOWTO.html)
Best
On 01.10.2010 14:38, kibirango moses wrote:> There is''nt any device dev/XVG Lvscan command gives me that:
>
> [root@virtualintranet dev]# lvscan
> inactive ''/dev/XVG/MGT'' [4.00 MB] inherit
> inactive ''/dev/XVG/root'' [80.00 GB] inherit
> inactive ''/dev/XVG/swap'' [1.00 GB] inherit
> inactive ''/dev/XVG/r'' [80.00 GB] inherit
>
>
> On Fri, Oct 1, 2010 at 2:29 PM, SpiegelEiXXL
> <spiegeleixxl@spiegeleixxl.de
<mailto:spiegeleixxl@spiegeleixxl.de>>
> wrote:
>
> Hello.
>
> Can you check the output of
> lvm pvdisplay
> to see if LVM actually started/added the drive(s)?
> Did you also try a lvmdiskscan / lvscan ?
> the lvm should usually be mapped due when you boot into your
> system. Maybe something went wrong.
> Can you also check /dev/mapper/ and /dev/XVG?
>
>
>
>
> On 01.10.2010 11:18, kibirango moses wrote:
>>
>> I am putting up a guest OS on a VM and created the LOGICAL
>> DEVICES as shown in the etc/fstab as shown below:
>>
>> [root@virtualintranet /]# cat etc/fstab
>>
>> LABEL=root-bubksnsv / ext3 defaults 1 1
>>
>> /var/swap/swap.001 swap swap defaults 0 0
>>
>> /dev/sda2 swap swap defaults 0 0
>>
>> /dev/XVG/swap swap swap defaults 0 0
>>
>> none /dev/pts devpts defaults 0 0
>>
>> none /dev/shm tmpfs defaults 0 0
>>
>> none /proc proc defaults 0 0
>>
>> none /sys sysfs defaults 0 0
>>
>> /opt/xensource/packages/iso/XenCenter.iso /var/xen/xc-install
>> iso9660 loop,ro 0 0
>>
>> /dev/XVG/root /xen ext3 defaults 0 0
>>
>> /dev/XVG/r /xen/domU ext3 defaults 0 0
>>
>> On restarting the server I tried to mount them again
>>
>> [root@virtualintranet /]# mount xen/
>>
>> mount: special device /dev/XVG/root does not exist.
>>
>> I wonder what made my devices disappear and how can I reinstate
>> them? Is there anything I missed like storage parameters during
>> the setting up.
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
<mailto:Xen-users@lists.xensource.com>
>> http://lists.xensource.com/xen-users
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
<mailto:Xen-users@lists.xensource.com>
> http://lists.xensource.com/xen-users
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users