WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] missing logical device

To: kibirango moses <kibsmoses@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] missing logical device
From: SpiegelEiXXL <spiegeleixxl@xxxxxxxxxxxxxxx>
Date: Fri, 01 Oct 2010 14:59:42 +0200
Cc:
Delivery-date: Fri, 01 Oct 2010 06:01:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinsosguiVn8+DNKRHwzx80rLfVvcV04N6H2SVf1@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTik_MTOcGZRK2muGU_o6SnoV+BGkKMc_0OcXcomX@xxxxxxxxxxxxxx> <4CA5C608.8090809@xxxxxxxxxxxxxxx> <AANLkTinsosguiVn8+DNKRHwzx80rLfVvcV04N6H2SVf1@xxxxxxxxxxxxxx>
Reply-to: spiegeleixxl@xxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>