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

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

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

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

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

Attachment: signature.asc
Description: Digital signature

Xen-users mailing list



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