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] xen on NAS

To: "Arpan Jindal" <jindalarpan@xxxxxxxxx>
Subject: Re: [Xen-users] xen on NAS
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 22 Feb 2008 11:47:57 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 22 Feb 2008 08:19:35 -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:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=tDbC5z7uZ7+ylRRmiwHCRHol9tG2fHRKT4wxcr/ooNA=; b=i39VlMZ4vSZcHvwtBup9dgQSCS/K+tfcNtGLyjfNs76J4GSY/xhpvJA4QNdkBDPyHDxKul4cj8W+syXGOPJaGoYAjYlDNYOfXsSvFq6jLkbMmoa8B0Sk1nnoM55vOA8fix1qtRdywXP49Kq0do9/HOm6Cwk1pZaBilZ855Etfds=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Lmdb0E3LrUGNUskvx7YK6Scud2Tq91aOJTdJefWqW3KX9CHYtC40UWQfdkBfatXkpPzAKMZtHibFYomqNFzTtH6FNDnUML2Hc3A7OtXDQVSdKSB4G3F1X47RCiptReeMykPMYI2KiMw5s/8y18KtLOonwDQ/t0HLJrX1R6Err4k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b2d4ab9d0802210653s3fc7e91cu1918a5b6a184c1f4@xxxxxxxxxxxxxx>
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: <OFFBE371F9.3D57EF81-ON652573F6.002DBE8D-652573F6.002ED93B@xxxxxxx> <f58fc26d0802210452i67b9a9deqe03f5d9b2f92b9c7@xxxxxxxxxxxxxx> <b2d4ab9d0802210653s3fc7e91cu1918a5b6a184c1f4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

My comments inline.

On Thu, Feb 21, 2008 at 8:23 PM, Arpan Jindal <jindalarpan@xxxxxxxxx> wrote:
hi
i am also working with chandraprakash.
 
but when i mount and then try to do dd it does not run.
 
dd if=/dev/hda3 of=/tmp/nas

outputfile "of=" should be a file name whether already created or not created, it should not be a directory name.
Second thing did you have a write permission for the directory in which u r creating an output file., if not change the permssion using #chmod +w <dir>. Then try to create the output file using dd.


Thanks
Trilok

it says gives error of as can run on directory
and when i try to create file in /tmp/nas it says permission denied.
 
whats could be issue
thanks


 
On 2/21/08, trilok nuwal <tc.nuwal@xxxxxxxxx> wrote:
First You have to  mount NAS server to Linux machine, assume this is mounted to dir /mnt in linux machine.

Now you could dd /de/hda3 to NAS server in a file backed VBD.

# dd if=/dev/hda3 of=/mnt/hda.disk

Now modify ur config file slightly as below.


kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'

memory = 1024

name = "winxp"

vcpus=1

pae=0

acpi=0

apic=0

cpus = ""

vif = [ 'type=ioemu, bridge=xenbr0' ]

#disk = [ 'phy:/dev/hda3,ioemu:hda,w' ]

disk = [ 'file:/mnt/hda.disk,ioemu:hda,w' ]
>
on_reboot   = 'restart'

on_crash    = 'destroy'

device_model = '/usr/lib/xen/bin/qemu-dm'

sdl=0

vnc=1

vncviewer=0

stdvga=0

serial='pty'

ne2000=0

usb=1

usbdevice='tablet'


and restart the domain.

Other way u could populate the root file system in some NAS dir also. But this usage and reliability isa suspected.

Thanks
Trilok


On Thu, Feb 21, 2008 at 2:01 PM, <chandraprakash.gupta@xxxxxxx> wrote:

Hi
i am having one NAS box (windows) on which i have created new partation ( e:) . i want to use this drive for my guest os in xen what all need to be defied in the configuration file od domu.

NAS dive for windows:
NAS ip: 172.17.217.49
drive: e
username : admin
password: admin123

complete shared path : \\172.17.217.49\e

kindly let me know how to add these entries to my dom file. ealier i was using local disk and for domU configration. that configuration is as follows:

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'

memory = 1024

name = "winxp"

vcpus=1

pae=0

acpi=0

apic=0

cpus = ""

vif = [ 'type=ioemu, bridge=xenbr0' ]

disk = [ 'phy:/dev/hda3,ioemu:hda,w' ]

>
on_reboot   = 'restart'

on_crash    = 'destroy'

device_model = '/usr/lib/xen/bin/qemu-dm'

sdl=0

vnc=1

vncviewer=0

stdvga=0

serial='pty'

ne2000=0

usb=1

usbdevice='tablet'




=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



--
Arpan Jindal
Mumbai
+91-9819680008

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>