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_at_ -> /dev/rz2g
lrwxr-xr-x 1 root system 9 Aug 28 15:46 rz3g_at_ -> /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_at_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_at_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_at_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_at_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_at_mpimg-berlin-dahlem.mpg.de ::
..===========================..============================================..
Received on Fri Nov 15 1996 - 13:17:49 NZDT