WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] mount a partition

To: "Stephan Seitz" <s.seitz@xxxxxxxxxxxx>
Subject: Re: [Xen-users] mount a partition
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=zJxOwhRqrlv2IAStlSw1keO/kuSt+Ri2kxFM90+F76U=; b=XsAcvXFyp+g2bNPgb1Ekgbg2iCjsaS4dMuxo5fe2qTxeloQykgKXXAr0MSmlm7r1dMZSQn07xYma6FrfJEnhe4f0kHTykcaVHKR8q+DD31zByMHF2pn3+ijTq1I5jZ47W7SjBWNi/vfydtM0YyK9vYi4tYf9Tz5UCohCHgRoU8s=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47A36854.9050306@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1f7e0c110802010807i50ba022q5f9253054292a6c6@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60A5118DA@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60A5118DD@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1f7e0c110802011002j3b8af03dje3c908623d7dbc32@xxxxxxxxxxxxxx> <1f7e0c110802011013k172f7fddx5c0d7081aca7661c@xxxxxxxxxxxxxx> <1f7e0c110802011029i2d925965v902de1d80dfb0643@xxxxxxxxxxxxxx> <47A36854.9050306@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>