tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary:  Advfs or NFS and best practise
@ 2001-05-22  9:23 Dermot Paikkos
  0 siblings, 0 replies; only message in thread
From: Dermot Paikkos @ 2001-05-22  9:23 UTC (permalink / raw)
  To: tru64-unix-managers

I had a lot of very good replies. 


I had a number of suggestions on what to do with the root disk. I 
would like to get the extra license and am trying to convince the MD 
that's the may to go. However I could create additional filesets on 
usr_domain to use the extra space that way, leave the extra space 
altogether, use it for swap ( 5GB for swap...gulp), or back it up and 
re-create it. 


Generally people tend to lean towards advfs. Some think that nfs will 
be phased out in the future. For my part I will be using samba and 
have no need to export file systems to other servers so nfs doesn't 
hold any real advantage. Recovery after a system crash is one of the 
most quoted advantages of advfs and the additional utilities are also 
seen as a plus.   


There wasn't a question on fault tolerance, I just thought that if a 
single disk did fail in a file domain the data on the good disk would 
be recoverable. perhaps the salvage tool would help there. Rest 
assured we do have 100Gb backup drive.


When i said should should I stick to nfs, I should have explained that 
all my previous experience had been with nfs and advfs was a step 
in the new direction. Although these are 2 different system, I still 
only see 2 ways to configure your disk(s) - discounting LSM - use nfs 
or advfs. I think I am confused on this part still because no-one else 
seems to consider the 2 systems comparable. I suppose you can 
have a mixture of both but I like to keep things uniform.


Thanx to: Richard Westlake, Joe Fletcher, Ettore Aldrovandi, Alan 
and Edward Branley.


I quote Alan because he dealt with all the questions in turn.


--------Alan---------------- 

I'll do the easy one first.


Q) Should I stick to nfs or are the real advantages to advfs.


 NFS is the Network File System.  AdvFS is one of two

 read-write local file systems supported by Tru64 UNIX.

 Both have their advantages and their place.  If you

 want centralized management of storage from some file

 server, then NFS is the way to go.  The disadvantages

 of NFS is that performance is limited by the speed of

 network links and you don't local control of the

 storage.  The advantage of a local file system is that

 it will generally be faster, but it has to be managed

 locally.


 I think your question is really; Local storage vs.

 remote storage?  Once you decide the answer to that

 you have to decide whether AdvFS or UFS is right for

 your local storage.


Q) Do I create 3 file domains on the boot disk?


 Arrange for the disk to have at least three partitions.  The

 usual installation allows having root, /usr and optionally

 /var on its own partition/domain.  If you want user space

 on the system disk, then you probably want to combine /usr

 and /var.  If you want three domains beyond the basic system

 disk, then just arrange to have sufficient extra partitions.


 Then, for each partition, create a domain:


  mkfdmn /dev/disk/dsk#x firstdomain

  mkfdmn /dev/disk/dsk#y seconddomain

  mkfdmn /dev/disk/dsk#z thirddomain


 Particular to the recommendation of having multiple domains

 on the same disk, it is unavoidable on the system disk; you

 have root and /usr if both are using AdvFS.  At least one

 problem of having multiple domains on a single disk is that

 you have multiple logs.  If the I/O is such that the log is

 frequently updated, this ensure that you're seeking all over

 the disk.  Odds are though, with three or more file systems

 on the disk, the I/O load will do this anyway.  Three logs

 may make it a little worse, but it is hard to keep I/O very

 localized short of not using large parts of a disk.


Q) If you do have a disk failure on a multiple volume domain, can you

recover any of the data from the good drive(s)?


 I suspect the salvage command will be able to sort through

 the remaining volumes to pick out most of what is left.  I

 wouldn't use this as a technique to avoid doing backups.


Q) Is there any way on knowing on which disk the data is stored?


 For a multi-volume domain, I believe one of the AdvFS

 commands will show what extents a file has and what

 volumes they're on.


Given the amount of external storage you have I would either

keep the H partition in reserve and not worry about the space

or reconfigure the system disk to use three or four partitions

for just the system disk stuff; root, swap, /usr and /var.


For the external disks you have some options:


 o  Multiple domains, probably one per disk.  You may

    want to set aside some partitions for small file

    systems and additional page/swap space.


 o  Use LSM to build the four disks into a single volume;

    a RAID-5, Mirrored stripe sets, one big stripe set.


 o  Make fewer domains, perhaps only one, and add the

    other disks to those as multi-volume domains.


AdvFS offers comparible performance to UFS and much quicker

recovery after a system crash.  It is also the basis for the

cluster file system in V5.  It isn't as tolerant of transient

I/O errors as UFS, but in the face of a major disaster, both

pretty much have to be restored from backup.



------------------original message-------------------------

Hi Managers, DS10,alpha tru64 5.1 with Storageworks pedestal and 
4x 35GB disks. Internal disk is 10GB. Q) Do I create 3 file domains on 
the boot disk? Q) If you do have a disk failure on a multiple volume 
domain, can you recover any of the data from the good drive(s)? Q) 
Is there any way on knowing on which disk the data is stored? Q) 
Should I stick to nfs or are the real advantages to advfs.  


I am considering how best to configure my disks on a new 
installation. By default the system comes with the root (dska), usr & 
var (dskg) as advfs file. That left about 5Gb free on dskh. Should I 
create a 3rd file domain on that disk so I can access this storage or 
buy the utilities and use addvol. According to the docs, you should 
"avoid splitting a disk between 2 domains. For example do not add 
partition g to one domain and partition h of the same disk to another 
domain."  Yet I can not resize any of the existing filesets to get at 
this data so I would have to create another file domain which is bad 
practice apparently. Alternatively I could buy a license and use the 
addvol command.  


A disk failure that renders the other disk(s) inaccessible seems like a 
major disadvantage. Is there some way to access the data on the 
good disk? I guess you have to limit the domain size to the size of 
you backup system.Can the transaction log (or any thing else) tell 
you on which disk the data is stored if you have a multiple domain?  


<FontFamily><param>Arial</param>Would anyone stick their head on a block and say that advfs has 

advantages (worth paying for) that out-strip nfs? Any detractors out

there?





<color><param>0100,0100,0100</param><FontFamily><param>Tahoma</param>------- End of forwarded message -------

<nofill>
~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668

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

only message in thread, other threads:[~2001-05-22  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-22  9:23 Summary: Advfs or NFS and best practise Dermot Paikkos

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