Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Partitioning drives
@ 2001-05-31 10:28 SpitsOnSpammers
  2001-05-31 11:02 ` Julie Harold
  2001-05-31 11:31 ` Jeff Wilson
  0 siblings, 2 replies; 13+ messages in thread
From: SpitsOnSpammers @ 2001-05-31 10:28 UTC (permalink / raw)


What benefits does partitioning drives provide in Tru64?  In practical terms
does it speed up access all that much?  If you had a big drive, say 18.2GB or
33.6GB, would you partition it or leave it as one monster c-partition?  If you
were to partition it (and why?), what sizes would you allocate to the root,
swap, /usr and /var partitions (assuming you don't have the cash to shell out
for AdvFS Utilities to adjust things on the fly).  I'm hoping to pick the
brains of some of the experienced Tru64 systems administrators out there. 
Thanks in advance.

-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 10:28 Partitioning drives SpitsOnSpammers
@ 2001-05-31 11:02 ` Julie Harold
  2001-05-31 14:04   ` Tobias Ernst
  2001-05-31 11:31 ` Jeff Wilson
  1 sibling, 1 reply; 13+ messages in thread
From: Julie Harold @ 2001-05-31 11:02 UTC (permalink / raw)




In article <20010531062834.14648.00003677@ng-md1.aol.com>, spammerspitter@aol.com.invalid (SpitsOnSpammers) writes:
>What benefits does partitioning drives provide in Tru64?  In practical terms
does it speed up access all that much?  If you had a big drive, say 18.2GB or
33.6GB, would you partition it or leave it as one monster c-partition?  If you
were to partition it (and why?), what sizes would you allocate to the root,
swap, /usr and /var partitions (assuming you don't have the cash to shell out
for AdvFS Utilities to adjust things on the fly).  I'm hoping to pick the
brains of some of the experienced Tru64 systems administrators out there. 

I usually partition disks to allow for ease of backup - if have a tape device that takes
9Gb - then I make 9Gb partitons, if I have a 20gb tape device then 20gb partitions.
Nothing more annoying than having to wait for backups that need a second tape to finish.

Julie

---------------------------------------------------------------
Dr Julie Harold: University of East Anglia, Norwich, NR4 7TJ
      Environmental Sciences: Unix Support Officer
IT and Computing Service: High Performance Computing Consultant
              



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 10:28 Partitioning drives SpitsOnSpammers
  2001-05-31 11:02 ` Julie Harold
@ 2001-05-31 11:31 ` Jeff Wilson
  2001-05-31 16:08   ` SpitsOnSpammers
  1 sibling, 1 reply; 13+ messages in thread
From: Jeff Wilson @ 2001-05-31 11:31 UTC (permalink / raw)


spammerspitter@aol.com.invalid (SpitsOnSpammers) wrote in
<20010531062834.14648.00003677@ng-md1.aol.com>: 

>What benefits does partitioning drives provide in Tru64?  In practical
>terms does it speed up access all that much?  If you had a big drive,
>say 18.2GB or 33.6GB, would you partition it or leave it as one monster
>c-partition?  If you were to partition it (and why?), what sizes would
>you allocate to the root, swap, /usr and /var partitions (assuming you
>don't have the cash to shell out for AdvFS Utilities to adjust things on
>the fly).  I'm hoping to pick the brains of some of the experienced
>Tru64 systems administrators out there. Thanks in advance.
>
>-----------------------------
>POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL
>ACCOUNT REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  
>

A raw device is normally required for swap space and the system assumes its 
the second, b, partition on the boot device. Apart from that partitioning is  
mainly a practical matter - exporting file systems, backing up and restoring 
are less of a hassle if only part of a disk is dealt with at any one time. 
Also, when you have to administer dozens of different machines in various 
clusters a similar, and familiar, disk/partition setup is an advantage.
My usual configuration for a system disk on a medium sized machines is as 
follows ..
a    	Root    	/    	    	250Mbs - /tmp is a link to /var/tmp
b    	swap    	    	    	512Mbs - at least 2.5 times memory
d    	System    	/usr     	2Gbs
e    	Var    	/var    	250Mbs - if not mail server

/usr/local and /home will normally be on another disk or disks. As would 
/var too if the machine was a mail server. If the sizes seem generous, 
remember that many changes take place over time and a forced re-partitioning 
of a system is a lengthy process with UFS. No doubt others will have valid 
reasons for other configurations and AdvFS is quite another matter.
-- 
__________ Jeff Wilson


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 11:02 ` Julie Harold
@ 2001-05-31 14:04   ` Tobias Ernst
  2001-06-02 20:24     ` Jack Patteeuw
  0 siblings, 1 reply; 13+ messages in thread
From: Tobias Ernst @ 2001-05-31 14:04 UTC (permalink / raw)


Hallo Julie!

 JH> swap, /usr and /var partitions (assuming you don't have the 
 JH> cash to shell out for AdvFS Utilities to adjust things on the 
 JH> fly).  I'm 

Adjusting things on the fly can be done without a AdvFS Utilities 
license. You basically only need the AdvFS Utilities license to have a 
cool graphical UI, and for some more advanced features like combining 
more than one disk into a single AdvFS volume.

For a standard installation, I'd have a 128MB "a" Partition for / (that 
one has to be on an extra partition to be bootable), then a "b" 
partition for swap (be sure to make it *at least* twice the sice of 
your RAM), and the rest in g for one big AdvFS domain.

Inside that domain which resides on g you can put filesets for /usr, 
/var and /tmp, and then you can use "chfsets" to dynamically adjust the 
"fileset quotas" which contral how much percent of that g partition 
each of the filesets may occupy at maximum.

 JH> I usually partition disks to allow for ease of backup - if 
 JH> have a tape device that takes
 JH> 9Gb - then I make 9Gb partitons, if I have a 20gb tape 
 JH> device then 20gb partitions.
 JH> Nothing more annoying than having to wait for backups that 
 JH> need a second tape to finish.

That's a good strategy IMO. In this case, just adjust the fileset 
quotas inside the "g" domain so that each fileset will take up your 
tape size at most, or maybe two combined at most the tape size.

Viele Gr��e,
Tobias



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 11:31 ` Jeff Wilson
@ 2001-05-31 16:08   ` SpitsOnSpammers
  2001-05-31 19:21     ` Tim Mooney
  2001-05-31 20:17     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 2 replies; 13+ messages in thread
From: SpitsOnSpammers @ 2001-05-31 16:08 UTC (permalink / raw)


Thanks to all for their replies.  I guess that since I have a 600au with 512MB
RAM, I should err on the conservative side and make my swap partition 1280MB
(2.5 times RAM size).  Currently, the default for the root partition is 340MB
with the preinstalled Unix but I'm planning to wipe it out and reinstall from
the Tru64 5.1 Binaries CDROM package I bought along with the 600au.  I was
thinking of making the root partition double the size of vmunix.  Might come in
handy if I get a kernel panic and vmunix dumps core (had a situation on an
Alphaserver once where the system kept coming up and going down like a yo-yo
because the coredump couldn't be written to disk due to lack of space).  What
does anybody think?  
-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 16:08   ` SpitsOnSpammers
@ 2001-05-31 19:21     ` Tim Mooney
  2001-05-31 23:32       ` SpitsOnSpammers
  2001-05-31 20:17     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1 sibling, 1 reply; 13+ messages in thread
From: Tim Mooney @ 2001-05-31 19:21 UTC (permalink / raw)


In article <20010531120832.12008.00000221@ng-fc1.aol.com>,
SpitsOnSpammers <spammerspitter@aol.com.invalid> wrote:
> Thanks to all for their replies.  I guess that since I have a 600au with 512MB
> RAM, I should err on the conservative side and make my swap partition 1280MB
> (2.5 times RAM size).

If you're short on disk space there are things you can do so that you don't
need to make swap that big.  Since you don't appears to be short on disk space,
go ahead and allocate a bunch of swap space.

>  Currently, the default for the root partition is 340MB
> with the preinstalled Unix but I'm planning to wipe it out and reinstall from
> the Tru64 5.1 Binaries CDROM package I bought along with the 600au.

Someone earlier in this thread mentioned using 128 Meg for / .  I used to do
that, but the slow bloat suffered by all flavors of UNIX means that I wouldn't
use less than 256 Meg (on Tru64) these days, and even 512 Meg isn't excessive.

>  I was
> thinking of making the root partition double the size of vmunix.

You must mean double the size of the in-memory kernel, not double the size
of the binary.  The binary is only about 7-10 Meg on-disk.

>  Might come in
> handy if I get a kernel panic and vmunix dumps core (had a situation on an
> Alphaserver once where the system kept coming up and going down like a yo-yo
> because the coredump couldn't be written to disk due to lack of space).  What
> does anybody think?  

I think that /var should be separate from / on "production" machines, and
since crashdumps are saved in /var, the size of / is irrelevant for this
argument.  If you don't have the space or aren't inclined to make /, /usr,
and /var separate, you would indeed want to make sure you have room for
a couple crash dumps.

I would make /var large enough to hold lots of logs, several crash dumps,
and backup files for patches.  If you've got the disk space, 1 - 4 Gig is
not a bad investment, for /var.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 16:08   ` SpitsOnSpammers
  2001-05-31 19:21     ` Tim Mooney
@ 2001-05-31 20:17     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2001-05-31 23:40       ` SpitsOnSpammers
  1 sibling, 1 reply; 13+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-05-31 20:17 UTC (permalink / raw)


In article <20010531120832.12008.00000221@ng-fc1.aol.com>, spammerspitter@aol.com.invalid (SpitsOnSpammers) writes:

>Thanks to all for their replies.  I guess that since I have a 600au with 512MB
>RAM, I should err on the conservative side and make my swap partition 1280MB
>(2.5 times RAM size).

The size of the page/swap space has to be sufficient to support the amount
of virtual memory you plan to use.  If you actually plan to use that much
memory, expect the system to start paging at some point, which will adversely
affect the performance.  If you really do need this much virtual memory,
and have more than one disk, at least think about spreading the page/swap
over multiple disks.

>Currently, the default for the root partition is 340MB
>with the preinstalled Unix but I'm planning to wipe it out and reinstall from
>the Tru64 5.1 Binaries CDROM package I bought along with the 600au.  I was
>thinking of making the root partition double the size of vmunix.

The /vmunix on my V5.1 system is around 12 MB.  As written that says you
plan to make the root about 24 MB.  That's a bit too small...  If you
mean double what you're using now, that's probably more than enough
and will just waste space.  Kernel crash dumps won't get written to
the root, they go into /var/adm/crash.  If you're worried about a
crash filling up a file system, worry about that one.  The area likely
to full up on the root file system is /tmp.

>Might come in
>handy if I get a kernel panic and vmunix dumps core (had a situation on an
>Alphaserver once where the system kept coming up and going down like a yo-yo
>because the coredump couldn't be written to disk due to lack of space).  What
>does anybody think?

On the system disk, partitioned is the way the installation expects the
system to be.  As someone else noted, page/swap device have to be raw
partitions anyway.  For non-system disk file systems, you have more
options.  If you want to create separate partitions for individual
file systems take advantage of it.  Partitioning by itself doesn't
offer any performances benefits.  If you spread multiple AdvFS
domains across partitions on the same disk, the extra seeking to
keep the different logs consistent may hurt overall performance.

Having separate partitions for a single domain (multiple "volume")
isn't recommended, probably for reliability and performance reason,
through I've never seen any detail.

You can use partitioning to improve performance, but have to lose
some capacity to do so.  I've heard of the technique being used
at the hardware level and called "short-strokeing".  When you
reduce the usable capacity of a drive, the physical organization
of blocks will typically also limit the potential seek distance.
This can improve seek times.  Transfer rates on banded disks often
depend on the bands used, so you could partition the disk to make
the usable space have better seek characteristics and use the
higher transfer rate bands.  But, you pretty much have to give
up access to the extra storage.
  
>-----------------------------
>POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
>REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  
>
--
Alan Rollow				alan@nabeth.cxo.dec.com



--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 19:21     ` Tim Mooney
@ 2001-05-31 23:32       ` SpitsOnSpammers
  0 siblings, 0 replies; 13+ messages in thread
From: SpitsOnSpammers @ 2001-05-31 23:32 UTC (permalink / raw)


Thanks for the advice.  It provides much food for thought.
-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 20:17     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-05-31 23:40       ` SpitsOnSpammers
  2001-06-01 17:06         ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 1 reply; 13+ messages in thread
From: SpitsOnSpammers @ 2001-05-31 23:40 UTC (permalink / raw)


Thank you for your thoughts.  Yes, I meant to say "double what my root
partition is currently using" and not double the size of vmunix (posting before
my daily coffee dose is obviously contraindicated!!!).  I was indeed thinking
of short stroking at hardware level but was wondering how much of a benefit it
offered when using AdvFS.  From what you've said, it appears that it doesn't do
AdvFS much good and might even be detrimental.  Hmmmm.


-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 23:40       ` SpitsOnSpammers
@ 2001-06-01 17:06         ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2001-06-01 20:37           ` SpitsOnSpammers
  0 siblings, 1 reply; 13+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-06-01 17:06 UTC (permalink / raw)


In article <20010531194007.13658.00004172@ng-ch1.aol.com>, spammerspitter@aol.com.invalid (SpitsOnSpammers) writes:

>Thank you for your thoughts.  Yes, I meant to say "double what my root
>partition is currently using" and not double the size of vmunix (posting before
>my daily coffee dose is obviously contraindicated!!!).  I was indeed thinking
>of short stroking at hardware level but was wondering how much of a benefit it
>offered when using AdvFS.  From what you've said, it appears that it doesn't do
>AdvFS much good and might even be detrimental.  Hmmmm.

Since I mentioned, short-stroking (it is hard to tell without a minimal
attribution), some extra comment might be useful.  If you don't use the
rest of the disk for anything else, the reduction in seek distance may
help performance, especially as the domain gets full.  I did some quick
I/O traces of loads on an AdvFS domain that became progressively full.
At each iteration of filling the disk, the average seek distance for
the load went up, presumably to update the log which was back towards
the beginning of the partition.

Now, you have the odd problem.  If you use the whole disk, you get more
space to work with, but longer seek distances as the disk fills.  Maintaining
locality of reference does not seem to be something AdvFS tries to do.
By reducing the available space, you can limit the distance, but to see
the benefit, the domain still has to be pretty full.  If your load tends
to fill the disk, then delete a bunch of stuff, your load will probably
be scattered across the whole disk and the seek optimization from short-
stroking may help.  But, making a defragmentation pass may pull all the
allocated data closer to the beginning, which will much the same affect
as limiting the capacity.

It is an interesting question...
>
>
>-----------------------------
>POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
>REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  
>

--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-06-01 17:06         ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-06-01 20:37           ` SpitsOnSpammers
  0 siblings, 0 replies; 13+ messages in thread
From: SpitsOnSpammers @ 2001-06-01 20:37 UTC (permalink / raw)


That's an interesting observation.  Thank you.  It'll come in very handy when I
finally get the new drive installed into my 600au.

-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-06-02 20:24     ` Jack Patteeuw
@ 2001-06-02 17:40       ` SpitsOnSpammers
  0 siblings, 0 replies; 13+ messages in thread
From: SpitsOnSpammers @ 2001-06-02 17:40 UTC (permalink / raw)


Hmmm...there's an interesting alternative.  Thanks.


-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME:  THIS EMAIL ACCOUNT
REJECTS ALL EMAIL.  SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!  


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Partitioning drives
  2001-05-31 14:04   ` Tobias Ernst
@ 2001-06-02 20:24     ` Jack Patteeuw
  2001-06-02 17:40       ` SpitsOnSpammers
  0 siblings, 1 reply; 13+ messages in thread
From: Jack Patteeuw @ 2001-06-02 20:24 UTC (permalink / raw)


Tobias Ernst wrote:
.
.
.
> Adjusting things on the fly can be done without a AdvFS Utilities
> license. You basically only need the AdvFS Utilities license to have a
> cool graphical UI, and for some more advanced features like combining
> more than one disk into a single AdvFS volume.

I **LOVE** AdvFS !!!  I don't know how a sys admins can live without it
when dealing with large disks or RAID sets (can you say 88 Gb RAID sets
?)  On non-root/non-bootable drives I just use the C: partition (100% of
the disk) as one AdvFS File Domain and the "slice it up" as need be with
as many File Sets as I need. 

On root/bootable devices (or a device that will have some swap on it)
one of these drives, I determine how much swap I want in B: and put the
reset in A: making A: my only File Domain.

Stop thinking about "hard portioning" (except for swap).  Make one File
Domain per device and think of File Sets as a relatively unlimited
number of soft partition that you can add or delete on the fly !!!!

Jack Patteeuw


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-06-02 20:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-31 10:28 Partitioning drives SpitsOnSpammers
2001-05-31 11:02 ` Julie Harold
2001-05-31 14:04   ` Tobias Ernst
2001-06-02 20:24     ` Jack Patteeuw
2001-06-02 17:40       ` SpitsOnSpammers
2001-05-31 11:31 ` Jeff Wilson
2001-05-31 16:08   ` SpitsOnSpammers
2001-05-31 19:21     ` Tim Mooney
2001-05-31 23:32       ` SpitsOnSpammers
2001-05-31 20:17     ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-05-31 23:40       ` SpitsOnSpammers
2001-06-01 17:06         ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-01 20:37           ` SpitsOnSpammers

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