[SunHELP] steps to make /opt on separate slice

Lund, Dennis sunhelp at sunhelp.org
Fri Jul 13 07:45:34 CDT 2001


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_01C10B99.B5944720
Content-Type: text/plain

Why don't you just create your /opt slice the size you want on the
disk/slice
you want during installation.  You can select more than one disk when 
installing Solaris.

example:
	/			/dev/dsk/c0t0d0s0
	/usr			/dev/dsk/c0t0d0s6
	/export/home	/dev/dsk/c0t1d0s7
	/opt			/dev/dsk/c0t2d0s5

You can select any available disk during install and put your slices on
them.
Installation will add them to /etc/vfstab for mounting at boot.
You will want to put / and /usr on the same disk (boot disk).
You can even have a separate swap slice on each disk if you want.

Dennis L. Lund

-----Original Message-----
From: TAG DBA [mailto:dbatag at tatainfotech.com]
Sent: Friday, July 13, 2001 12:39 AM
To: 'sunhelp at sunhelp.org'
Subject: [SunHELP] steps to make /opt on seperate slice


Hello !!
I need some advise about laying out my root disk on our Sun E450 running
Solaris 8. 
I actually want to put /opt on a seperate slice. This is what I have in
mind:
1. Let the installation program create a root slice
2. Also create one more /optnew slice during install
3. After install copy entire /opt to /optnew.
4. Rename original /opt to /optold
5. Make a empty directory /opt on root
6. Mount new slice /optnew onto /opt

I am not sure about the above steps. Pls let me know if I am asking for
trouble by
doing the above - or if I am missing something. 

SunAdmin_NewBee,
~aslam
PS: Thanks to all those who have answered my previous queries (in
case I have forgotten to write each one a thank u note)
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


<html>
<body>
<font size="3" face="Times New Roman"><span style="mso-fareast-font-family: Times New Roman; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">
- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - -
<span style="font-size:10.0pt;font-family:Times New Roman;
mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA"></span><font face="Times New Roman" size="3"><span style="mso-fareast-font-family:Times New Roman; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.</span></font></p>
</body>
</html>

------_=_NextPart_001_01C10B99.B5944720
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [SunHELP] steps to make /opt on separate slice</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Why don't you just create your /opt slice the size you wa=
nt on the disk/slice</FONT>
<BR><FONT SIZE=3D2>you want during installation.  You can select more =
than one disk when </FONT>
<BR><FONT SIZE=3D2>installing Solaris.</FONT>
</P>

<P><FONT SIZE=3D2>example:</FONT>
<BR>        <FONT SIZE=3D2>/  =
              &=
nbsp;      /dev/dsk/c0t0d0s0</FONT>
<BR>        <FONT SIZE=3D2>/usr &nb=
sp;             &nbs=
p;    /dev/dsk/c0t0d0s6</FONT>
<BR>        <FONT SIZE=3D2>/export/home&=
nbsp;   /dev/dsk/c0t1d0s7</FONT>
<BR>        <FONT SIZE=3D2>/opt &nb=
sp;             &nbs=
p;    /dev/dsk/c0t2d0s5</FONT>
</P>

<P><FONT SIZE=3D2>You can select any available disk during install and put =
your slices on them.</FONT>
<BR><FONT SIZE=3D2>Installation will add them to /etc/vfstab for mounting a=
t boot.</FONT>
<BR><FONT SIZE=3D2>You will want to put / and /usr on the same disk (boot d=
isk).</FONT>
<BR><FONT SIZE=3D2>You can even have a separate swap slice on each disk if =
you want.</FONT>
</P>

<P><FONT SIZE=3D2>Dennis L. Lund</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: TAG DBA [<A HREF=3D"mailto:dbatag at tatainfotech.com=
">mailto:dbatag at tatainfotech.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, July 13, 2001 12:39 AM</FONT>
<BR><FONT SIZE=3D2>To: 'sunhelp at sunhelp.org'</FONT>
<BR><FONT SIZE=3D2>Subject: [SunHELP] steps to make /opt on seperate slice<=
/FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hello !!</FONT>
<BR><FONT SIZE=3D2>I need some advise about laying out my root disk on our =
Sun E450 running Solaris 8. </FONT>
<BR><FONT SIZE=3D2>I actually want to put /opt on a seperate slice. This is=
 what I have in mind:</FONT>
<BR><FONT SIZE=3D2>1. Let the installation program create a root slice</FON=
T>
<BR><FONT SIZE=3D2>2. Also create one more /optnew slice during install</FO=
NT>
<BR><FONT SIZE=3D2>3. After install copy entire /opt to /optnew.</FONT>
<BR><FONT SIZE=3D2>4. Rename original /opt to /optold</FONT>
<BR><FONT SIZE=3D2>5. Make a empty directory /opt on root</FONT>
<BR><FONT SIZE=3D2>6. Mount new slice /optnew onto /opt</FONT>
</P>

<P><FONT SIZE=3D2>I am not sure about the above steps. Pls let me know if I=
 am asking for trouble by</FONT>
<BR><FONT SIZE=3D2>doing the above - or if I am missing something. </FONT>
</P>

<P><FONT SIZE=3D2>SunAdmin_NewBee,</FONT>
<BR><FONT SIZE=3D2>~aslam</FONT>
<BR><FONT SIZE=3D2>PS: Thanks to all those who have answered my previous qu=
eries (in</FONT>
<BR><FONT SIZE=3D2>case I have forgotten to write each one a thank u note)<=
/FONT>
<BR><FONT SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>SunHELP maillist  -  SunHELP at sunhelp.org</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.sunhelp.org/mailman/listinfo/sunhe=
lp" TARGET=3D"_blank">http://www.sunhelp.org/mailman/listinfo/sunhelp</A></=
FONT>
</P>

<CODE><FONT SIZE=3D3><BR>
<BR>
<html><BR>
<body><BR>
<font size=3D"3" face=3D"Times New Roman"><span style=3D"mso-fareast-font-f=
amily: Times New Roman; mso-ansi-language: EN-US; mso-fareast-language: EN-=
US; mso-bidi-language: AR-SA"><BR>
- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - -<BR>
<span style=3D"font-size:10.0pt;font-family:Times New Roman;<BR>
mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US=
;mso-fareast-language:<BR>
EN-US;mso-bidi-language:AR-SA"></span><font face=3D"Times New Roman" size=
=3D"3"><span style=3D"mso-fareast-font-family:Times New Roman; mso-ansi-lan=
guage: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">This e=
-mail and any attachments may contain information which is confidential, pr=
oprietary, privileged or otherwise protected by law. The information is sol=
ely intended for the named addressee (or a person responsible for deliverin=
g it to the addressee). If you are not the intended recipient of this messa=
ge, you are not authorized to read, print, retain, copy or disseminate this=
 message or any part of it. If you have received this e-mail in error, plea=
se notify the sender immediately by return e-mail and delete it from your c=
omputer.</span></font></p><BR>
</body><BR>
</html><BR>
</FONT></CODE></BODY>
</HTML>
------_=_NextPart_001_01C10B99.B5944720--



More information about the SunHELP mailing list