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

Re: [Xen-users] mount a partition


  • To: "Stephan Seitz" <s.seitz@xxxxxxxxxxxx>
  • From: ko0nz <yesiko0nz@xxxxxxxxx>
  • Date: Fri, 1 Feb 2008 20:26:52 +0100
  • Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 01 Feb 2008 11:27:40 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=mXHkorlapDWJYHv1WhNTzJqp1jz+5E+jknzna33Efwryksq58t1q2eFfK26NhP09mhbED1+ut+TXHxDG/tR++/DoWijhfxTYzcilgOjnhUXqWejgWX5i7QmsS1PQFagRHkxufTNiiVOWkCYPcPswikbMwuxKzzEZlOW/3mlNAHE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

i've created the /dev/xenlvm/data after i booted the DomU...


here are:

 # lvdisplay /dev/xenlvm/data                                                                                                                                                                   
  --- Logical volume ---
  LV Name                /dev/xenlvm/data
  VG Name                xenlvm
  LV UUID                wCtp67-tHv2-AV2f-jhSP-shU7-riO5-DPtwBo
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                30.00 GB
  Current LE             7680
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:4
---------

 # lvdisplay /dev/xenlvm/toto-disk                                                                                                                                                   
  --- Logical volume ---
  LV Name                /dev/xenlvm/toto-disk
  VG Name                xenlvm
  LV UUID                pbVO2Z-vrei-BWI7-H8X3-3JeT-EQPy-i5JaQV
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                10.00 GB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           253:0

-----------
# dmesg

md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
netfront: device eth0 has copying receive path.
xen-vbd: registered block device major 8
blkfront: sda2: barriers enabled
blkfront: sda1: barriers enabled
blkfront: sdb1: barriers enabled
XENBUS: Device with no driver: device/console/0
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem as ext2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 172k freed
Adding 1048568k swap on /dev/sda2.  Priority:-1 extents:1 across:1048568k
dm_mod: no version for "struct_module" found: kernel tainted.
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@xxxxxxxxxx
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.





2008/2/1 Stephan Seitz <s.seitz@xxxxxxxxxxxx>:
hi,

the only thing i can imagine, is that this is not part of the lvm.

could it be possible you created a file instead of a lv device-node  at
the /dev/xenlvm/data position by mistake?


would you please send the dom0 output of
lvdisplay /dev/xenlvm/toto-disk and
lvdisplay /dev/xenlvm/data and the domU's /var/log/dmesg (around the blkfront lines) ?

cheers,

Stephan


ko0nz schrieb:
> i've tried with hdd instead of sda:
> # mount -t ext3 /dev/hdd1 /mnt/toto/
> mount: /dev/hdd1 is not a valid block device
>
>
>
> On Feb 1, 2008 7:13 PM, ko0nz <yesiko0nz@xxxxxxxxx
> <mailto:yesiko0nz@xxxxxxxxx>> wrote:
>
>      # mount /dev/sdd /mnt/toto/
>     SCSI subsystem initialized
>     register_blkdev: cannot get major 8 for sd
>     mount: you must specify the filesystem type
>
>     # mount -t ext3 /dev/sdd /mnt/toto/
>     mount: /dev/sdd is not a valid block device
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


--
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054

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