* Re: Advfs vs LSM
[not found] <brown.27.000E7777@lincoln.ac.nz>
@ 1996-06-27 4:00 ` Jonathan Rozes
1996-06-28 4:00 ` Edgar Hiersekorn
1 sibling, 0 replies; 2+ messages in thread
From: Jonathan Rozes @ 1996-06-27 4:00 UTC (permalink / raw)
In article <brown.27.000E7777@lincoln.ac.nz>,
brown@lincoln.ac.nz (Brown, Martyn) writes:
> If I decide to go LSM, is it redundant to go to Advfs first, or am I better
> off installing Advfs, then putting in LSM on top ?
LSM by itself does nothing but group physical disks into logical units
(and other assorted volume management operations) You still need to write
a filesystem on top of the LSM volume in order to use the disk with the
operating system.
> Under what circumstances is each of the following the best choice :
> - Advfs, not LSM ?
This is probably the way to go since Advfs gives you some rudimentary
volume management capabilities. You can't do disk striping without LSM
though (you can only stripe individual files under Advfs).
> - LSM, not Advfs ?
Only if you need a raw disk, or plan to put a UFS filesystem on top of
your LSM volume.
> - Advfs, with LSM on top ?
No such thing. You'd make an LSM volume, then create an Advfs filesystem
on top of that. Of course, you won't be able to remove said LSM volume
since Advfs doesn't recognize LSM device names :)
Good luck,
jonathan
--
+++ Jonathan Rozes, Unix Systems Administrator, Tufts University
++ jrozes@tcs.tufts.edu, http://rozes.tcs.tufts.edu/
+ Ultimately, thinking is a very inefficient method of processing
data.... [Surfing the Himalayas, 0-312-14147-5]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Advfs vs LSM
[not found] <brown.27.000E7777@lincoln.ac.nz>
1996-06-27 4:00 ` Advfs vs LSM Jonathan Rozes
@ 1996-06-28 4:00 ` Edgar Hiersekorn
1 sibling, 0 replies; 2+ messages in thread
From: Edgar Hiersekorn @ 1996-06-28 4:00 UTC (permalink / raw)
brown@lincoln.ac.nz (Brown, Martyn) wrote:
>Hi,
>
>We have just got our first Alpha (400 4/233). My first question is :
>Advfs and LSM seem to have a lot of overlapping features, so which to choose ?
>If I decide to go LSM, is it redundant to go to Advfs first, or am I better
>off installing Advfs, then putting in LSM on top ?
LSM and AdvFS are on different layers!
AdvFS is a Filesystem, built on top of a disk partition or
a "logical disk" built with LSM (note: AdvFS speaks of Volumes
and means exactly a disk partition or a LSM Volume)
-------------------------------------
| Application |
-------------------------------------
Systemcall open(), read(), write()
|
V
-------------------------------------
| Virtual Filsystem |
-------------------------------------
| UFS | AdvFS | CDFS | NFS | ... |
-------------------------------------
------- -------
|Disk | |logi-|
|Par- | |cal | "Volume"
|ti- | |Disk |
|ion | | |
------- -------
/ \
/ \
------- -------
|Disk | |Disk |
|Par- | |Par- | "Disk"
|ti- | |ti- | usually Part. c
|ion | |ion |
------- -------
>Under what circumstances is each of the following the best choice :
>- Advfs, not LSM ?
>- LSM, not Advfs ?
>- Advfs, with LSM on top ?
If you need fast filesystem recovery, online backup,
you need AdvFS.
If you need RAID0, RAID1 or RAID0+1 you need LSM
(AdvFS can only stipe files, not disks)
If you need filesystems bigger than one disk, you
can realize it with LSM or AdvFS:
- LSM makes one volume from 2 or more disks
- AdvFS can be spread over 2 or more volumes
For this feature I prefere AdvFS, because you
cannot (yet) grow the AdvFS if the underlying
volume becomes bigger (by adding a disk).
Edgar Hiersekorn, AddOn Systemhaus, Germany
^ permalink raw reply [flat|nested] 2+ messages in thread