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

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


  • To: dbareiro@xxxxxxx
  • From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
  • Date: Thu, 5 Apr 2007 10:15:44 +0530
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 04 Apr 2007 21:44:49 -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=aMbRF5Fo/rKQGmpBeiGXOO9+hQWqbZx1LSxLCZLZZwB4Dcv65ngLJoX3Mz9FOXqL1M4tU1yXAsi/U710LgXJQBrVlvij8J+wNAQobJkkFZiXpdRtFLWjvnVFdX7+qPremN8Oj4XjhOB99g2i5K8qt8NnPRQVh7qHlqlZKAy2Fvk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

so that partition is exported to domU. then u can create FS and mount this. What is the problem ?

On 4/5/07, Daniel Bareiro < daniel-listas@xxxxxxx> wrote:
On Wednesday, 04 April 2007 10:43:10 +0530,
trilok nuwal wrote:

> Are u using para or HVM domain ?

I'm using para.

> I think, In case of HVM u cant attach a disk partition. U have to
> attach the full disk.

> But in case of para it should work fine.  What your #cat
> /proc/partition is showing.

In dom0:

sirius:~# lvs|grep ws1
  ws1.mirror      vm   -wi-ao  30,00G
  ws1.raiz        vm   -wi-ao   5,00G
  ws1.space       vm   -wi-ao   5,00G
  ws1.swap        vm   -wi-ao 256,00M

sirius:/etc/xen# cat ws1|grep phy
disk = [ 'phy:vm/ws1.mirror,hda3,w',
  'phy:vm/ws1.raiz,hda2,w','phy:vm/ws1.swap,hda1,w' ]

In domU:

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

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

It appears to recognize the new lvm-backed vbd, but I can't access to
it:

------------------------------------------------------------------------
ws1:~# mkfs.reiserfs /dev/hda4
mkfs.reiserfs 3.6.19 (2003 www.namesys.com)

A pair of credits:
Jeremy  Fitzhardinge  wrote  the  teahash.c  code  for  V3.  Colin Plumb
also contributed to that.

Yury Umanets  (aka Umka)  developed  libreiser4,  userspace  plugins,
and  all userspace tools (reiser4progs) except of fsck.


Stat of the device '/dev/hda4' failed.
------------------------------------------------------------------------
ws1:~# fdisk /dev/hda [TAB][TAB]
hda1  hda2  hda3
ws1:~# fdisk /dev/hda


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)

iD8DBQFGE+7PZpa/GxTmHTcRAq//AJoDtE/0EvR3WpKNeLW9Fo7wAm4fhQCeOd2N
30LreIPAZda1oy2TM0MTrnU=
=lt/j
-----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®.