tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: partition in use?
@ 2001-12-03 15:06 Alex Harkema
  0 siblings, 0 replies; only message in thread
From: Alex Harkema @ 2001-12-03 15:06 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------InterScan_NT_MIME_Boundary", Size: 8356 bytes --]

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.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C17C0C.0D48A140"

------_=_NextPart_001_01C17C0C.0D48A140
Content-Type: text/plain;
	charset="iso-8859-1"

Man, why didn't I think of that: just try to mount it.
Volprint -ht showed there was a volume on the d partition. I created the
link from fdmns:

# mkdir /etc/fdmns/mytest
# cd /etc/fdmns/mytest
# ln -s /dev/vol/vol-dsk0d mytestfset
# showfsets mytest

And what did it say:

  var
  Id : 398d5017.000611ad.1.8001
  Files : 0, SLim= 0, HLim= 0
  Blocks (512) : 0, SLim= 0, HLim= 0
  Quota Status : user=off group=off

Most likely, the disk has been used before, with /var on the d. partition!
Now I'm sure I can re-use it again.

Thanks to:
Timothy Brown, Pat O'Brien and Lucien Hercaud.
Last persion mentioned also told me to:

However, if the "b"' and "d" partions are adjacent, the best would be to
remove the primary swap from "b", and to take off the swapvol from LSM then
to increase the "b" partition by "d"'s size and to redefine the "b"
partition as swap (but larger this time!) This in order to prevent swap
interlace between 2 partitions of the same disk which is not very good for
performance

Thanks again!
Best regards,
Alex





-----Original Message-----
From: Alex Harkema [mailto:HarkemaA@vertis.nl]
Sent: Monday, December 03, 2001 3:29 PM
To: 'tru64-unix-managers@ornl.gov'
Subject: partition in use?


Hi all, 
On a system running LSM (boot/rootdisk encapsulated & mirrored) (Tru64 v5.1
pk0003, AS1200, 1 rootdg (and 1 proddg existing of 2 raid5 sets))
It's disklabel dsk0 is: 
  c:    8380080          0    unused 
  d:    3103464    2797786     AdvFS 
  e:       1024    2796762    unused  
  f:       4096    2792666   LSMsimp  
  g:    2478830    5901250  LSMnoprv   
  h:    3993432    4386648    unused 
# voldisk list | grep dsk0 
dsk0a        nopriv    root01       rootdg       online 
dsk0b        nopriv    swap01       rootdg       online 
dsk0d        nopriv    dsk0d-AdvFS  rootdg       online 
dsk0f        simple    dsk0f        rootdg       online 
dsk0g        nopriv    dsk0g-AdvFS  rootdg       online 
The 'g' partition in use for the usr_domain (including var) 
  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name 
   1L    2478816      967312     61%     on    512    512
/dev/vol/rootdg/vol-dsk0g 
My question: 
How can I see what's dsk0d for... There are no other domains in root
(besides the rootvolume on a. and swap on b) I'd like to add secondary swap
on that d. partition (if possible)
TIA 
Alex Harkema 

------_=_NextPart_001_01C17C0C.0D48A140
Content-Type: text/html;
	charset="iso-8859-1"
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=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>SUMMARY: partition in use?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Man, why didn't I think of that: just try to mount =
it.</FONT>
<BR><FONT SIZE=3D2>Volprint -ht showed there was a volume on the d =
partition. I created the link from fdmns:</FONT>
</P>

<P><FONT SIZE=3D2># mkdir /etc/fdmns/mytest</FONT>
<BR><FONT SIZE=3D2># cd /etc/fdmns/mytest</FONT>
<BR><FONT SIZE=3D2># ln -s /dev/vol/vol-dsk0d mytestfset</FONT>
<BR><FONT SIZE=3D2># showfsets mytest</FONT>
</P>

<P><FONT SIZE=3D2>And what did it say:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; var</FONT>
<BR><FONT SIZE=3D2>&nbsp; Id : 398d5017.000611ad.1.8001</FONT>
<BR><FONT SIZE=3D2>&nbsp; Files : 0, SLim=3D 0, HLim=3D 0</FONT>
<BR><FONT SIZE=3D2>&nbsp; Blocks (512) : 0, SLim=3D 0, HLim=3D 0</FONT>
<BR><FONT SIZE=3D2>&nbsp; Quota Status : user=3Doff group=3Doff</FONT>
</P>

<P><FONT SIZE=3D2>Most likely, the disk has been used before, with /var =
on the d. partition!</FONT>
<BR><FONT SIZE=3D2>Now I'm sure I can re-use it again.</FONT>
</P>

<P><FONT SIZE=3D2>Thanks to:</FONT>
<BR><FONT SIZE=3D2>Timothy Brown, Pat O'Brien and Lucien =
Hercaud.</FONT>
<BR><FONT SIZE=3D2>Last persion mentioned also told me to:</FONT>
</P>

<P><FONT SIZE=3D2>However, if the &quot;b&quot;' and &quot;d&quot; =
partions are adjacent, the best would be to</FONT>
<BR><FONT SIZE=3D2>remove the primary swap from &quot;b&quot;, and to =
take off the swapvol from LSM then</FONT>
<BR><FONT SIZE=3D2>to increase the &quot;b&quot; partition by =
&quot;d&quot;'s size and to redefine the &quot;b&quot;</FONT>
<BR><FONT SIZE=3D2>partition as swap (but larger this time!) This in =
order to prevent swap</FONT>
<BR><FONT SIZE=3D2>interlace between 2 partitions of the same disk =
which is not very good for</FONT>
<BR><FONT SIZE=3D2>performance</FONT>
</P>

<P><FONT SIZE=3D2>Thanks again!</FONT>
<BR><FONT SIZE=3D2>Best regards,</FONT>
<BR><FONT SIZE=3D2>Alex</FONT>
</P>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Alex Harkema [<A =
HREF=3D"mailto:HarkemaA@vertis.nl">mailto:HarkemaA@vertis.nl</A>]</FONT>=

<BR><FONT SIZE=3D2>Sent: Monday, December 03, 2001 3:29 PM</FONT>
<BR><FONT SIZE=3D2>To: 'tru64-unix-managers@ornl.gov'</FONT>
<BR><FONT SIZE=3D2>Subject: partition in use?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi all, </FONT>
<BR><FONT SIZE=3D2>On a system running LSM (boot/rootdisk encapsulated =
&amp; mirrored) (Tru64 v5.1 pk0003, AS1200, 1 rootdg (and 1 proddg =
existing of 2 raid5 sets))</FONT></P>

<P><FONT SIZE=3D2>It's disklabel dsk0 is: </FONT>
<BR><FONT SIZE=3D2>&nbsp; c:&nbsp;&nbsp;&nbsp; =
8380080&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0&nbsp;&nbsp;&nbsp; unused </FONT>
<BR><FONT SIZE=3D2>&nbsp; d:&nbsp;&nbsp;&nbsp; =
3103464&nbsp;&nbsp;&nbsp; 2797786&nbsp;&nbsp;&nbsp;&nbsp; AdvFS </FONT>
<BR><FONT SIZE=3D2>&nbsp; e:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
1024&nbsp;&nbsp;&nbsp; 2796762&nbsp;&nbsp;&nbsp; unused&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp; f:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
4096&nbsp;&nbsp;&nbsp; 2792666&nbsp;&nbsp; LSMsimp&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp; g:&nbsp;&nbsp;&nbsp; =
2478830&nbsp;&nbsp;&nbsp; 5901250&nbsp; LSMnoprv&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>&nbsp; h:&nbsp;&nbsp;&nbsp; =
3993432&nbsp;&nbsp;&nbsp; 4386648&nbsp;&nbsp;&nbsp; unused </FONT>
<BR><FONT SIZE=3D2># voldisk list | grep dsk0 </FONT>
<BR><FONT SIZE=3D2>dsk0a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
nopriv&nbsp;&nbsp;&nbsp; root01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rootdg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; online </FONT>
<BR><FONT SIZE=3D2>dsk0b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
nopriv&nbsp;&nbsp;&nbsp; swap01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rootdg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; online </FONT>
<BR><FONT SIZE=3D2>dsk0d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
nopriv&nbsp;&nbsp;&nbsp; dsk0d-AdvFS&nbsp; =
rootdg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; online </FONT>
<BR><FONT SIZE=3D2>dsk0f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
simple&nbsp;&nbsp;&nbsp; =
dsk0f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
rootdg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; online </FONT>
<BR><FONT SIZE=3D2>dsk0g&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
nopriv&nbsp;&nbsp;&nbsp; dsk0g-AdvFS&nbsp; =
rootdg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; online </FONT>
<BR><FONT SIZE=3D2>The 'g' partition in use for the usr_domain =
(including var) </FONT>
<BR><FONT SIZE=3D2>&nbsp; Vol&nbsp;&nbsp; =
512-Blks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Free&nbsp; % =
Used&nbsp; Cmode&nbsp; Rblks&nbsp; Wblks&nbsp; Vol Name </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; 1L&nbsp;&nbsp;&nbsp; =
2478816&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 967312&nbsp;&nbsp;&nbsp;&nbsp; =
61%&nbsp;&nbsp;&nbsp;&nbsp; on&nbsp;&nbsp;&nbsp; 512&nbsp;&nbsp;&nbsp; =
512&nbsp; /dev/vol/rootdg/vol-dsk0g </FONT>
<BR><FONT SIZE=3D2>My question: </FONT>
<BR><FONT SIZE=3D2>How can I see what's dsk0d for... There are no other =
domains in root (besides the rootvolume on a. and swap on b) I'd like =
to add secondary swap on that d. partition (if possible)</FONT></P>

<P><FONT SIZE=3D2>TIA </FONT>
<BR><FONT SIZE=3D2>Alex Harkema </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C17C0C.0D48A140--

--------------InterScan_NT_MIME_Boundary--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-03 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-03 15:06 SUMMARY: partition in use? Alex Harkema

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox