* You're lost in a maze of twisty little AdvFS concepts, all alike :-)
@ 1997-05-07 4:00 Roy Smith
1997-05-09 4:00 ` Robert Lowe
1997-05-10 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 2 replies; 6+ messages in thread
From: Roy Smith @ 1997-05-07 4:00 UTC (permalink / raw)
We just got a couple of alphas running DU-4.0B. The new AdvFS and LSM
stuff looks pretty neat, but I'm not sure I've got it all straight. We're
going to be running oracle on this system, and it seems like there are a
variety of ways to manage the storage space of several physical disks.
I could combine all the disks into a single logical volume using LSM. I
could then build either a UFS or an AdvFS file system on this logical
volume and use it for my oracle tablespace.
Or, I could just use the logical volume without a file system as a raw
partition for my oracle tablespace.
Or, I could forget about the LSM, and just build a single AdvFS domain
consisting of several volumes, one for each disk, and use this file system
for my oracle tablespace.
Or, I could split my table space up into several datafiles, split between
several UFS file systems, or AdvFS domains, or LMF logical volumes.
Or...
Anyway, you can see my dilema. As far as I can tell, any of the above
would work, but I really don't have much of a grasp on the advantages and
disadvantages of the various ways of doing things.
Life was so much easier when there was only one way of doing things. It
may not have been the best way, but at least you didn't have to worry
about making the wrong decision :-)
--
Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine
550 First Avenue, New York, NY 10016
Copyright 1997 Roy Smith
For-profit redistribution prohibited
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: You're lost in a maze of twisty little AdvFS concepts, all alike :-)
1997-05-07 4:00 You're lost in a maze of twisty little AdvFS concepts, all alike :-) Roy Smith
@ 1997-05-09 4:00 ` Robert Lowe
1997-05-14 4:00 ` Stephen Cooper
1997-05-10 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 1 reply; 6+ messages in thread
From: Robert Lowe @ 1997-05-09 4:00 UTC (permalink / raw)
Roy Smith wrote:
[snip]
> Life was so much easier when there was only one way of doing things.
[snip]
From one advfs/LSM newbie to another, I'd advise not to mess with LSM
initially simply based on the KISS approach. Others may have different
opinions. I intend on using RAID 5 volumes in advfs domains. There are
others here who can give you the up's and down's of the various
strategies you mention.
-Robert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: You're lost in a maze of twisty little AdvFS concepts, all alike :-)
1997-05-07 4:00 You're lost in a maze of twisty little AdvFS concepts, all alike :-) Roy Smith
1997-05-09 4:00 ` Robert Lowe
@ 1997-05-10 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 0 replies; 6+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1997-05-10 4:00 UTC (permalink / raw)
In article <roy-0705971511120001@mchip8.med.nyu.edu>, roy@popmail.med.nyu.edu (Roy Smith) writes:
>We just got a couple of alphas running DU-4.0B. The new AdvFS and LSM
>stuff looks pretty neat, but I'm not sure I've got it all straight. We're
>going to be running oracle on this system, and it seems like there are a
>variety of ways to manage the storage space of several physical disks.
>
>I could combine all the disks into a single logical volume using LSM. I
>could then build either a UFS or an AdvFS file system on this logical
>volume and use it for my oracle tablespace.
>
> [ other options deleted... ]
You have a good grasp of the options. But, you've over simplied
the options a little by skipping over specific features; Mirroring,
striping and volume concatenation.
You could simply glue all the disks together into one big volume
and use it for raw space or a big file system (using device
concatenation). But then your I/O wouldn't necessarily spread
evenly among the disks. And if you happen to lose one disk
then you basically lose the whole volume.
Unless you have an array controller, the only way to get mirroring
to use LSM (*). To LSM's disadvantage it does mirroring at the top
instead of bottom of the device stack, so you have to stripe or
concatenate half your devices together and mirror them to the other
half. Annoying at times but better than not having mirroring at
all.
So, if you want mirroring use LSM.
AdvFS supports FILE striping. To use it you create an empty file
and then use the stripe command to tell AdvFS how many physical
volumes you want it spread over. As the file is fill, AdvFS takes
care of the data distribution. If you only have a few files you
need striped and can pre-create them, this works fine.
If you want all files on a volume striped, then you want to use
LSM again. Or, if you want your Oracle database on one big raw
device and want the benefits of striping.
If you don't need either feature and want your data on top of
a single big file system, then ignore LSM and just AdvFS to
create a big domain. If you have the utilities and find you'll
benefit from striping selected files you can use that later.
>--
>Roy Smith <roy@popmail.med.nyu.edu>
>
>Copyright 1997 Roy Smith
>For-profit redistribution prohibited
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: You're lost in a maze of twisty little AdvFS concepts, all alike :-)
1997-05-09 4:00 ` Robert Lowe
@ 1997-05-14 4:00 ` Stephen Cooper
1997-05-14 4:00 ` Robert Lowe
1997-05-16 4:00 ` Mark Sirota
0 siblings, 2 replies; 6+ messages in thread
From: Stephen Cooper @ 1997-05-14 4:00 UTC (permalink / raw)
Robert Lowe wrote:
>
> Roy Smith wrote:
>
> [snip]
> > Life was so much easier when there was only one way of doing things.
> [snip]
>
> From one advfs/LSM newbie to another, I'd advise not to mess with LSM
> initially simply based on the KISS approach. Others may have different
> opinions. I intend on using RAID 5 volumes in advfs domains. There are
> others here who can give you the up's and down's of the various
> strategies you mention.
>
> -Robert
Hmmm RAID 5 and advfs conjures recurring nightmares: Never use advfs
with RAID 5 unless your SWXCR controller has a battery backup, it can
completely trash a file domain if some one unplugs yout UPS :(
- Steve Cooper
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: You're lost in a maze of twisty little AdvFS concepts, all alike :-)
1997-05-14 4:00 ` Stephen Cooper
@ 1997-05-14 4:00 ` Robert Lowe
1997-05-16 4:00 ` Mark Sirota
1 sibling, 0 replies; 6+ messages in thread
From: Robert Lowe @ 1997-05-14 4:00 UTC (permalink / raw)
Stephen Cooper wrote:
> Hmmm RAID 5 and advfs conjures recurring nightmares: Never use advfs
> with RAID 5 unless your SWXCR controller has a battery backup, it can
> completely trash a file domain if some one unplugs yout UPS :(
Good point! I believe the HSZ's now even have diagnostics to warn of a
low battery condition as well! I don't know about some of the others.
-Robert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: You're lost in a maze of twisty little AdvFS concepts, all alike :-)
1997-05-14 4:00 ` Stephen Cooper
1997-05-14 4:00 ` Robert Lowe
@ 1997-05-16 4:00 ` Mark Sirota
1 sibling, 0 replies; 6+ messages in thread
From: Mark Sirota @ 1997-05-16 4:00 UTC (permalink / raw)
To: stephen.cooper
Stephen Cooper wrote:
> Hmmm RAID 5 and advfs conjures recurring nightmares: Never use advfs
> with RAID 5 unless your SWXCR controller has a battery backup, it can
> completely trash a file domain if some one unplugs yout UPS :(
What does AdvFS have to do with it? Using any sort of write-back cache
technology without battery backup is asking for trouble. The
alternative is to use write-through (where the acknowledgement is not
sent until the write is done, rather than just after is it received).
Actually, RAID 5 has this problem, for both write-back and write-
through. Writes in RAID 5 are not atomic; there is a write-calculate-
write cycle, and that provides a window of opportunity (but the window
is larger for write-back than for write-through).
I don't see what AdvFS has to do with it. The same problem is there for
UFS. (Not that everyone should be afraid of RAID 5; battery backup and
related approaches do solve the problem.)
--
Mark Sirota, Network Systems Engineer
University of Pennsylvania, Information Systems and Computing
msirota@isc.upenn.edu, 215/573-7214
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-05-16 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-07 4:00 You're lost in a maze of twisty little AdvFS concepts, all alike :-) Roy Smith
1997-05-09 4:00 ` Robert Lowe
1997-05-14 4:00 ` Stephen Cooper
1997-05-14 4:00 ` Robert Lowe
1997-05-16 4:00 ` Mark Sirota
1997-05-10 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox