[Veritas-bu] command line help
2004-01-21 13:35:53
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C3E04D.66D1DB9E
Content-Type: text/plain;
charset="iso-8859-1"
hmm :-) That little "-x" flag is handy (and undocumented, as far as I can
see in 3.4).
It allows one to do, e.g.
# vmpool -listall -bx | grep "week4"
week4 8 ANYHOST ANY NONE
week4 of cycle prod
Probably quite useful in scripts.
Thanks David!
Regards,
Mike
-----Original Message-----
From: David Chapa [mailto:david.chapa AT adic DOT com]
Sent: 21 January 2004 18:06
To: Macauley, David (Contractor) (DLIS); veritas-bu AT mailman.eng.auburn DOT
edu
Subject: RE: [Veritas-bu] command line help
Not if the media is currently assigned.
If it is not currently assigned, yes.
Use vmchange -p <pool number> -m <media id>
Get the pool number vmpool -listall -bx
David A. Chapa * Technical Advisor, Technical Marketing * ADIC *
720.249.5836 * david.chapa AT adic DOT com <mailto:david.chapa AT adic DOT com>
Pathlight VX - Integrated Disk-to-Tape Backup - <http://www.adic.com>
http://www.adic.com
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Macauley,
David (Contractor) (DLIS)
Sent: Wednesday, January 21, 2004 10:46 AM
To: Bu? (veritas-bu AT mailman.eng.auburn DOT edu)
Subject: [Veritas-bu] command line help
In 3.4, is there a way to move a given media id from pool "a" to pool "b"
from the (Solaris 2.6 Master Server) command line?
------_=_NextPart_001_01C3E04D.66D1DB9E
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word" xmlns:st1 =3D=20
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:[email protected]" =
rel=3DFile-List><o:SmartTagType=20
downloadurl=3D"http://www.microsoft.com" name=3D"PersonName"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTag=
Type><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; =
mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; =
}
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: #606420; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: #606420; TEXT-DECORATION: underline; text-underline: single
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: =
"Times New Roman"; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"; mso-margin-top-alt: auto; =
mso-margin-bottom-alt: auto
}
SPAN.emailstyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-name: emailstyle17; =
mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; =
mso-bidi-font-family: Arial
}
SPAN.EmailStyle18 {
COLOR: navy; FONT-FAMILY: Arial; mso-ascii-font-family: Arial; =
mso-hansi-font-family: Arial; mso-bidi-font-family: Arial; =
mso-style-type: personal-reply; mso-style-noshow: yes; =
mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt
}
SPAN.SpellE {
mso-style-name: ""; mso-spl-e: yes
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: .5in" vLink=3D#606420 =
link=3Dblue>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D074253218-21012004>hmm=20
:-) That little "-x" flag is handy (and undocumented, as far as I can =
see in=20
3.4).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D074253218-21012004>It=20
allows one to do, e.g.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D074253218-21012004>#=20
vmpool -listall -bx | grep=20
"week4"<BR>week4 &n=
bsp; =20
8 =20
ANYHOST =20
ANY &nb=
sp; =20
NONE &n=
bsp;=20
week4 of cycle prod</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004>Probably quite useful in =
scripts.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D074253218-21012004>Thanks=20
David!</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004>Mike</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D074253218-21012004></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> David Chapa=20
[mailto:david.chapa AT adic DOT com]<BR><B>Sent:</B> 21 January 2004=20
18:06<BR><B>To:</B> Macauley, David (Contractor) (DLIS);=20
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] =
command=20
line help<BR><BR></FONT></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Not if the =
media is=20
currently assigned.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If it is =
not=20
currently assigned, yes.<SPAN style=3D"mso-spacerun: yes"> =20
</SPAN><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Use <SPAN=20
class=3DSpellE>vmchange</SPAN> -p <pool number> -m <media=20
id><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Get the =
pool number=20
<SPAN class=3DSpellE>vmpool</SPAN> -<SPAN =
class=3DSpellE>listall</SPAN> -<SPAN=20
class=3DSpellE>bx</SPAN><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P><B><FONT face=3D"Times New Roman" color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; COLOR: navy; =
mso-no-proof: yes">David=20
A. Chapa </SPAN></FONT></B><FONT face=3DSymbol color=3Dnavy =
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD</SPAN></FONT><FONT=20
color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes"> Technical =
Advisor,=20
Technical Marketing </SPAN></FONT><FONT face=3DSymbol color=3Dnavy =
size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD</SPAN></FONT><FONT=20
color=3D#999999 size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: #999999; mso-no-proof: yes">=20
</SPAN></FONT><B><FONT color=3Dred size=3D1><SPAN=20
style=3D"FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; COLOR: red; =
mso-no-proof: yes">ADIC</SPAN></FONT></B><FONT=20
color=3D#999999 size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: #999999; mso-no-proof: yes">=20
</SPAN></FONT><FONT face=3DSymbol color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD</SPAN></FONT><FONT=20
color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes"> =
720.249.5836=20
</SPAN></FONT><FONT face=3DSymbol color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Symbol; =
mso-no-proof: yes">=BD<FONT=20
face=3D"Courier New"></FONT><FONT FACE=3D"Courier New"></FONT> =
</SPAN></FONT><FONT color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes"><A=20
=
href=3D"mailto:david.chapa AT adic DOT com">david.chapa AT adic DOT
com</A></SPAN></FO=
NT><FONT=20
color=3Dnavy><SPAN=20
style=3D"COLOR: navy; mso-no-proof: =
yes"><o:p></o:p></SPAN></FONT></P>
<P><FONT face=3D"Times New Roman" color=3Dnavy size=3D1><SPAN=20
style=3D"FONT-SIZE: 7.5pt; COLOR: navy; mso-no-proof: yes">Pathlight =
VX -=20
Integrated Disk-to-Tape Backup - </SPAN></FONT><FONT =
color=3Dnavy><SPAN=20
style=3D"COLOR: navy; mso-no-proof: yes"><A =
href=3D"http://www.adic.com"><FONT=20
size=3D1><SPAN=20
style=3D"FONT-SIZE: =
7.5pt">http://www.adic.com</SPAN></FONT></A></SPAN></FONT><o:p></o:p></P=
></DIV>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original=20
Message-----<BR><B><SPAN style=3D"FONT-WEIGHT: bold">From:</SPAN></B> =
</SPAN></FONT><st1:PersonName><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">veritas-bu-admin AT mailman.eng.auburn DOT edu</SPAN></FONT></st1:Perso=
nName><FONT=20
face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">=20
[mailto:</SPAN></FONT><st1:PersonName><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">veritas-bu-admin AT mailman.eng.auburn DOT edu</SPAN></FONT></st1:Perso=
nName><FONT=20
face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">]=20
<B><SPAN style=3D"FONT-WEIGHT: bold">On Behalf Of=20
</SPAN></B></SPAN></FONT><st1:PersonName><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Macauley,=20
David</SPAN></FONT></st1:PersonName><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> (Contractor) =
(DLIS)<BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, January 21, =
2004 10:46=20
AM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> Bu?=20
(</SPAN></FONT><st1:PersonName><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">veritas-bu AT mailman.eng.auburn DOT edu</SPAN></FONT></st1:PersonName>=
<FONT=20
face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">)<BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B>=20
[</SPAN></FONT><st1:PersonName><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">Veritas</SPAN></FONT></st1:PersonName><FONT=20
face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">-bu]=20
command line help</SPAN></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times =
New Roman"=20
size=3D3><SPAN style=3D"FONT-SIZE: =
12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">In 3.4, is there a way =
to move a=20
given media id from pool "a" to pool "b" from the (Solaris 2.6 Master =
Server)=20
command =
line?</SPAN></FONT><o:p></o:p></P></DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C3E04D.66D1DB9E--
|
|
|