As Sadique indicated, try using xvda instead of sda or hda.
EmreOn Dec 6, 2007 1:49 PM, Markus Gerber wrote:
Hello Emre,These devices do not exist in dom1.Can I create them manually? Or do I need to install additional packages.Uups: I've just seen that there is a typo in my first post - dom1 is running Debian Etch and not Ubuntu. Sorry about that!Thanks and regards,MarkusOn 06.12.2007, at 11:08, Emre Erenoglu wrote:Markus,
Does it really not exist or just not formatted?
mkfs.ext3 /dev/sda3
and instead of sda, I think you shall consider using xvda (if you're on a PV domU or HVM with PV drivers)
can you see these devices in /dev?
EmreOn Dec 6, 2007 10:51 AM, Markus Gerber <markus@xxxxxxxxxxxxx> wrote:
Hello,Thank you for your tipp. Unfortunatly, I get an error when booting dom1 saying:Loading device-mapper support.Checking file systems...fsck 1.40-WIP (14-Nov-2006)fsck.ext3: No such file or directory while trying to open /dev/sda3/dev/sda3:The superblock could not be read or does not describe a correct ext2filesystem. If the device is valid and it really contains an ext2filesystem (and not swap or ufs or something else), then the superblockis corrupt, and you might try running e2fsck with an alternate superblock:e2fsck -b 8193 <device>fsck died with exit status 8failed (code 8).* File system check failed.In my dom1's config file I added the last 'phy' to the diskdisk = [ 'phy:data/dom1-disk,sda1,w', 'phy:data/dom1-swap,sda2,w', 'phy:/dev/mapper/data-share,sda3,w' ]How does the /etc/fstab in dom1 has to look like? I added:/dev/sda3/mnt/shareext3defaults01With the line above it does not work. /dev/sda3 does not exist.Thank you for some more hints.Regards,MarkusOn 06.12.2007, at 10:13, Emre Erenoglu wrote:Just a disk= line would suffice. example:
disk = [ 'phy:/dev/volume-group/volume-name,hda1,w' , 'phy:/dev/md1,hda2,w' , 'phy:/dev/volume-group/volume-2,hda3,w' ]
/dev/volume-group/volume-name being one of your LVM volume. (or /dev/mapper/volume_group-volume_name
Br,
EmreOn Dec 6, 2007 9:37 AM, Markus Gerber < markus@xxxxxxxxxxxxx> wrote:Hello,
In my dom0 (Ubuntu 7.10) I have several LVM partitions (for mp3s,
photos, ...).
Since I do not want to have any services in dom0, I have a domU (also
Ubuntu 7.10) with Samba. So my users connect to that domU. How can I
export and import these LVM partitions from dom0 into domU?
Using nfs could work, but I prefer a solution where my LVM partitions
are 'natively' in domU.
Thank you for some hints and tipps.
Regards,
Markus
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
--
Emre Erenoglu
erenoglu@xxxxxxxxx
--
Emre Erenoglu
erenoglu@xxxxxxxxx
--
Emre Erenoglu
erenoglu@xxxxxxxxx
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
| Previous by Date: | Re: [Xen-users] dom0's LVM partition in domU , Emre Erenoglu |
|---|---|
| Next by Date: | Re: [Xen-users] dom0's LVM partition in domU , Emre Erenoglu |
| Previous by Thread: | Re: [Xen-users] dom0's LVM partition in domU , Emre Erenoglu |
| Next by Thread: | Re: [Xen-users] dom0's LVM partition in domU , Emre Erenoglu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |