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

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

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.

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®.