tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Peter Marquardt <wwwutz () warthole ! RZ-Berlin ! MPG ! DE>
To: tru64-unix-managers
Subject: SUMMARY: (unsolved) AdvFS reports wrong double devices
Date: Fri, 15 Nov 1996 11:24:27 +0000	[thread overview]
Message-ID: <96076341621574.tru64-unix-managers.marc@archive.invalid> (raw)


Hi folx!

==========================================================================
Short question summary:
        1.      domain created on rz6g
        2.      volumes rz2g and rz3g added
        2.a     showfdmn reports rz6g rz2g rz3g
        3.      rmvol rz6g -> failed (not enough space) 
        4.      removed some files
        5.      rmvol rz6g -> success
        6.a     showfdmn reports rz2g & rz2g (!!)
        7.      reboot will destroy domain (havn't rebooted yet)
-------------------------------------------------------------------------
# showfdmn homes_domain
     
               Id              Date Created  LogPgs  Domain Name
32244d89.000499a0  Wed Aug 28 15:45:45 1996     512  homes_domain
     
  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name 
   2L   17362398      425552     98%     on    128    128  /dev/rz2g 
   3    17362398      315248     98%     on    128    128  /dev/rz2g
      ----------  ----------  ------
        34724796      740800     98%
     
# ls -l /etc/fdmns/homes_domain/
total 16
drwxr-xr-x   2 root     system      8192 Sep 19 10:18 ./ 
drwxr-xr-x   5 root     system      8192 Sep 19 10:18 ../
lrwxr-xr-x   1 root     system         9 Aug 28 15:46 rz2g@ -> /dev/rz2g 
lrwxr-xr-x   1 root     system         9 Aug 28 15:46 rz3g@ -> /dev/rz3g
--------------------------------------------------------------------------     
Is there __ANY__ way, to tell the current running system that the 
home_domain does NOT consist of two times rz2g  but rz2g and rz3g ???
==========================================================================
Solution:

 None. Delete domain, reboot system, recover from tape.

==========================================================================
Answers received so far:
--------------------------------------------------------------------------     
From: Steve Thompson <smt@NICS1.CORNING.COM>
> Is there __ANY__ way, to tell the current running system that the 
> home_domain does NOT consist of two times rz2g  but rz2g and 
> rz3g ???

Yes. Take a look in /etc/fdmns/home_domain, and you will find the member
volumes listed there as links. Just fix them up to whatever you want (very
useful when moving disks!). I'm not sure that this is your problem,
though. 
------------------------------------------------------------------------------
From: Lucien HERCAUD <Lucien_HERCAUD@paribas.com>

     Hi,
     
     I had gone thru something similar ... I still believe it was my fault.
     
     Is it ADVfs' fault ? Did you (or someone else) do anything wrong ?
     
     Fact is something wrong did happen in the directory:
                "/etc/fdmns/Dom/" (Dom is actually your domain's name)
     This directory contains symlinks towards the real devices that are part of 
     the Domain.
     
     So, here is my suggestion:
     
     1. boot in single user mode (>>> boot dua0 -fl "")
     2. run fsck (if not root on top of ADVfs)
     3. mount -u /
     4. cd /etc/fdmns/Dom/
     
You have the following possible choices        Your Dom REALLY contains devices
---------------------------------------        --------------------------------
A                                              rz2g+rz3g
B                                              rz2g+rz6g
C                                              rz3g+rz6g
D                                              rz2g
E                                              rz3g
F                                              rz6g
G                                              rz2g+rz3g+rz6g

Case                            Action
----                            ---------------------------------------------
A                               # rm *; ln -s /dev/rz{2,3}g ./
                                TRY "showfdmn Dom" and "showfsets Dom"
B                               # rm *; ln -s /dev/rz{2,6}g ./
                                TRY "showfdmn Dom" and "showfsets Dom"
C                               # rm *; ln -s /dev/rz{3,6}g ./
                                TRY "showfdmn Dom" and "showfsets Dom"
D                               # rm *; ln -s /dev/rz2g ./
                                TRY "showfdmn Dom" and "showfsets Dom"
E                               # rm *; ln -s /dev/rz3g ./
                                TRY "showfdmn Dom" and "showfsets Dom"
F                               # rm *; ln -s /dev/rz6g ./
                                TRY "showfdmn Dom" and "showfsets Dom"
G                               # rm *; ln -s /dev/rz{2,3,6}g ./
                                TRY "showfdmn Dom" and "showfsets Dom"

Go in the above order, from top to down and
IN ANY ABOVE CASE, YOU SHALL STOP WHEN THE "TRY" returns the expected results.
                             ++++

If no case above works; I suggest using the TAPE BACKUPS (if any).

Good Luck
                        /lh
--------------------------------------------------------------------------     
From: Padraig Houlahan <houlahap@ucs.orst.edu>

We had the same problem once. Ultimately, after wasting a lot of
we had to rebuild the domain and filesets and reload from
tapes. I don't think you can repair this kind of problem
and the cause was a disk that was failing.

PH

--------------------------------------------------------------------------     
From: Hellebo Knut <Knut.Hellebo@nho.hydro.com>
Regards,

I think I can recall a similar discussion on this list earlier but
unfortunately I don't remember the details. Try check the archives on
ornl.gov
--------------------------------------------------------------------------     


##===========================##============================================##
Dipl.Ing. Peter Marquardt/// SysAdmim Max-Planck-Institute Molecular Genetics
|| +49-30-8413-1430     ///  ||   --==> Earth-Germany-Berlin-Dahlem <==--  ||
::        fax -1773 \\\///   :: marquardt_p@mpimg-berlin-dahlem.mpg.de     ::
..===========================..============================================..

                 reply	other threads:[~1996-11-15 11:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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