Sponsored Content
Full Discussion: xm block-attach
Homework and Emergencies Emergency UNIX and Linux Support xm block-attach Post 302510664 by majid.merkava on Monday 4th of April 2011 02:41:51 PM
Old 04-04-2011
xm block-attach

Hi guys.

I'm studding XEN virtualization with 'The Book Of XEN'. in page 46 it has a statement about how to use xm block-attach command that I don't understand.
here is the command:
Code:
xm block-attach 0 tap:aio:/opt/xen/anthony.img /dev/xvda1 w 0

and here is sentence:
Code:
we are attaching anthony.img read/write using tap:aio driver to /dev/xvda1 
in domain 0 using domain 0 to mediate access (because we tend to avoid using non-dom0 driver domains)

what exactly means? is the 'w' means read/write? why should we need it? i mean is there a read only image?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

pine does'nt attach files

Hello All, I am maintaining a server and I use pine as MUA and sendmail as MTA. Suddenly many users in the network face the problem of not being able to attach files using pine. I checked the sendmail.cf file and found a variable "MaxMessageSize = 1000000". Eventhough the message size... (2 Replies)
Discussion started by: maybemedic
2 Replies

2. AIX

Printers.hpJetDirect.attach

Can someone email me a copy of this file? Our AIX 5 cds are at our hotsite and I need a copy to try a fix on a printer. flyingdutchman1978@gmail.com Thanks! (0 Replies)
Discussion started by: schism25
0 Replies

3. Shell Programming and Scripting

attach 2 files using mailx

if test.dat is the file cat test.dat|uuencode test.dat|mailx -s "subject" mailid can be used for attaching test.dat how can i attach more than one file to a mail using mailx (2 Replies)
Discussion started by: anumkoshy
2 Replies

4. UNIX for Dummies Questions & Answers

How to attach a file in a email

Anyone can help me, in Unix, how can I attach a file in the email? Thank (3 Replies)
Discussion started by: ting123
3 Replies

5. Shell Programming and Scripting

Can not attach using mailx

hi I know this topic has been discussed a lot in the forum but still couldnt get a exact solution to problem i am facing I have a CSV file genertaed on Unix box and want to be sent to my email . mailx -s "TEST" "xyz@hotmail.com" < 1.csv cat 1.csv | mailx -s "TEST" "xyz@hotmail.com" ... (10 Replies)
Discussion started by: ultimatix
10 Replies

6. Solaris

Help with Update on attach

Hi All, Can any-one explain me how update on attach works on solaris zones. Here is the situation . I am trying to migrate a zones xx-xxx-xxx from Global zone A to Global zone B. Here is the error message zoneadm is displaying zoneadm: zone 'xx-xx-xxx': ERROR: attempt to downgrade... (0 Replies)
Discussion started by: rama krishna
0 Replies

7. Programming

attach is not a member of ofstream

Hi, Code written in C++ got compiled successfully using Sun 4.2 Compiler on Solaris 6. As part of migration, i am using same code and trying to compile using Sun 5.8 C++ compiler(Sun Studio11) on Solaris 10 and could not compile the below line, outStr.attach(1); // here outStr is declared... (1 Reply)
Discussion started by: shafi2all
1 Replies

8. Programming

attach message at runtime

Hello, I have a client C and server C, the client connects to the server and sends a message. At runtime I want to attach to the message sent, a couple (x, y) Do you know a mechanism that allows me this? Thank you. Cordially. (5 Replies)
Discussion started by: chercheur857
5 Replies

9. Solaris

Metadevice Too Small To Attach

Hi All, I am having trouble with my metadevices and I hope someone can help. when i try to attach my submirror i get the following error: root@xxxx>metattach d31 d21 metattach: tbair1: d21: submirror too small to attach root@xxxx> However, There is a submirror on the other disk which is... (3 Replies)
Discussion started by: A-Train
3 Replies

10. Shell Programming and Scripting

Attach the logfile(.log)

Hi All, Please provide command to attached the logfile in linux. This is Linux server version. HP-UX B.11.31 I try to attach the logfile by using uuenode. But it is not working. Please correct me. uuencode /a1/a2/rrpt.log /a1/a2/rrpt.log | mailx -s "$2" a.s@xxx.com The... (2 Replies)
Discussion started by: indira_s
2 Replies
QEMU-NBD(8)															       QEMU-NBD(8)

NAME
qemu-nbd - QEMU Disk Network Block Device Server SYNOPSIS
usage: qemu-nbd [OPTION]... filename DESCRIPTION
Export QEMU disk image using NBD protocol. OPTIONS
filename is a disk image filename -p, --port=port port to listen on (default B<1024>) -o, --offset=offset offset into the image -b, --bind=iface interface to bind to (default B<0.0.0.0>) -k, --socket=path Use a unix socket with path I<path> -r, --read-only export read-only -P, --partition=num only expose partition I<num> -s, --snapshot use snapshot file -n, --nocache --cache=cache set cache mode to be used with the file. See the documentation of the emulator's C<-drive cache=...> option for allowed values. --aio=aio choose asynchronous I/O mode between B<threads> (the default) and B<native> (Linux only). --discard=discard toggles whether I<discard> (also known as I<trim> or I<unmap>) requests are ignored or passed to the filesystem. The default is no (B<--discard=ignore>). -c, --connect=dev connect I<filename> to NBD device I<dev> -d, --disconnect disconnect the specified device -e, --shared=num device can be shared by I<num> clients (default B<1>) -f, --format=fmt force block driver for format I<fmt> instead of auto-detecting -t, --persistent don't exit on the last connection -v, --verbose display extra debugging information -h, --help display this help and exit -V, --version output version information and exit SEE ALSO
qemu-img(1) AUTHOR
Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 2014-06-10 QEMU-NBD(8)
All times are GMT -4. The time now is 10:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy