tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: /var question
@ 2002-06-13 15:30 Paul Crittenden
  0 siblings, 0 replies; only message in thread
From: Paul Crittenden @ 2002-06-13 15:30 UTC (permalink / raw)


Thanks to:
Dan Harrington, Bob Harris, alan@nabeth, Peter Gergen, Bluejay Adametz, 
Darryl Cook, Pat O'Brien.

Bob Harris sent the best explanation and fix and here it is.

Most likely, the /var was a 2nd fileset in the usr_domain domain. They
show the same total size and free space information because they share
the storage in the same domain.

These are the commands (or something that looks sort-of like this) that
should have been used _BEFORE_ you started the restore.

mkfdmn /dev/disk/dskXX usr_domain

mkfset usr_domain usr
mkfset usr_domain var

mount usr_domain#usr /usr
mount usr_domain#var /var

However, now that you have already restored /usr, you can create the
/var by just doing the mkfset for var
mkfset usr_domain var
mount usr_domain#var /var

Of course, before you do that you would need to remove the symbolic
link you put in as /var that points to /usr, but that should not be a
problem.

Now you can either copy over the stuff from /var/usr to the newly
mounted /var fileset, or you can do the restore again from your backup.
Also typically in a situation like this, the /usr/var name is a symbolic
link of the form:

lrwxrwxrwx 1 root system 6 Sep 15 2000 /usr/var -> ../var/

So you might also want to recreate that as well.

Original Question:
 >I have a test system on which I am running Tru64-Unix v5.1, patch kit 3. 
I was >testing some stuff on it and got it screwed up and decided to 
restore from a >clean back up I did about a month ago, which I made for 
just such a purpose. >The restore went fine until I got to var. var is part 
of /usr but not a separate file >system even though there is a mount 
command in my /etc/fstab file. There is >no corresponding fdmns files in 
/etc/fdmns for it however so I don't know how it >was setup when I 
installed the operating system from scratch.
 >
 >When you did a df prior to my restore I got a listing for /var with the 
same file >system size as /usr. When I did the restore this stuff didn't 
seem to get >resetup even though I would have thought the restore should 
have. In order to >restore /var I have to make a var directory in /usr and 
make a link to it in /. That >seemed to have worked and the system is up 
and running and appears to be >fine.
 >
 >I would like to know how to get the /var mount back and why it didn't 
come >back when I did the restore.

Paul Crittenden
Computer System Manager
Simpson College
email: crittend@simpson.edu
Phone: (515)961-1680

"You don't have to attend every argument you're invited to."



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

only message in thread, other threads:[~2002-06-13 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-13 15:30 SUMMARY: /var question Paul Crittenden

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