[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [Solved] Using xm block-{attach,detach}


  • To: dbareiro@xxxxxxx
  • From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
  • Date: Fri, 6 Apr 2007 10:38:23 +0530
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 05 Apr 2007 22:07:18 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dAqmygg7f0uUhFhAlKi7MXGHfEvHdqTCzxrG+tMRkFqSD8wyity8pMQGgcMa7msldGWtdtDWVKUBEOoMEapD/MYTPyTUwtSwieeuTVG/DkO+VXs/TCbmjWjfh/5NCKID80G6ssXEQpjEARN2yAPdZwyU8PVGmn/TpmglSQTL6b4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Ok, Actually i am using the RHEL distribution. Where i dont need to create the node explictly as yours case it is requird.

Thanks,
Trilok

On 4/6/07, Daniel Bareiro <daniel-listas@xxxxxxx> wrote:
On Thursday, 05 April 2007 14:35:35 -0300,
Daniel Bareiro wrote:

> I've successfully formatted the LVM backed-vbd on dom0. Then I attach
> it to domU. Both cat /proc/partitions and hwinfo reports the new
> exported LV backed-vbd, but I can't operate on it:

> ws1:/proc# cat /proc/partitions
> major minor  #blocks  name

>    3     3   31457280 hda3
>    3     2    5242880 hda2
>    3     1     262144 hda1
>    3     4    5242880 hda4

> ws1:/proc# mount /dev/hda4 /mnt/
> mount: you must specify the filesystem type
> ws1:/proc# mount -t reiserfs /dev/hda4 /mnt/
> mount: special device /dev/hda4 does not exist

I made the block special file and then I can access to the exported
lvm-backed vbd inside the domU:

ws1:~# mknod -m 660 /dev/hda4 b 3 4
ws1:~# mount /dev/hda4 /mnt/
ws1:~# df -h
S.ficheros          Tamaño Usado  Disp Uso% Montado en
/dev/hda2             5,0G  358M  4,7G   7% /
/dev/hda3              30G   22G  8,8G  71% /home/mirror
/dev/hda4             5,0G   33M  5,0G   1% /mnt

Thanks for all your replys.

Regards,
Daniel
--
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGFaS3Zpa/GxTmHTcRAscjAKCDAUu3vp/+LLWq8lsrRBsprFDFRwCdFqnm
MBdaLXMhD0hm3mKzoP3z2Cc=
=i1QD
-----END PGP SIGNATURE-----

_______________________________________________
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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.