From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076341621520.tru64-unix-managers.marc@archive.invalid> From: Peter Marquardt Date: Wed, 13 Nov 1996 13:02:05 +0000 To: tru64-unix-managers Subject: AdvFS reports wrong double devices X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076341621520 Hello Managers, I'm currently recovering a backup of a 3.2D-1 machine on which i rmvol'd some partitions within a advfs-domain. Everthing worked fine, until suddenly 'showfdm' reports a domain with 1 wrong entry. When I reboot the machine I will get in real trouble, since it then will tell me something about wrong sizes, corrupt disklabels and so on. (I've gone through this now the third time) short: 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) -------------------------------------------------------------------- # grep domain /etc/fstab root_domain#root / advfs rw 0 0 usr_domain#usr2 /usr advfs rw 0 0 homes_domain#homes /amd/rag100/0/home advfs rq,userquota,groupquota homes_domain#soft /amd/rag100/0/soft advfs rq,userquota,groupquota homes_domain#oldrag100 /old advfs rq,userquota,groupquota # 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 -------------------------------------------------------------------- The logfiles state: Mon Sep 16 09:22:38 1996|rag100.RZ-Berlin.MPG.DE||root stdout|FSL_LOG_MSG|fsp_execute.c|line 346 /sbin/showfdmn homes_domain Mon Sep 16 09:22:39 1996|rag100.RZ-Berlin.MPG.DE||root stdout|FSL_LOG_MSG|fsp_execute.c|line 412 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 1L 17362398 3302976 81% on 128 128 /dev/rz6g 2 17362398 3081168 82% on 128 128 /dev/rz3g 3 17362398 4246832 76% on 128 128 /dev/rz2g ---------- ---------- ------ 52087194 10630976 80% Wed Sep 18 17:39:01 1996|rag100.RZ-Berlin.MPG.DE||root info|DXADVFS_LOG_REM_VOL_BEGIN|domain_funcs.d|line 330 Removing volume '/dev/rz6g' from file domain 'homes_domain' Wed Sep 18 19:41:48 1996|rag100.RZ-Berlin.MPG.DE||root error|DXADVFS_LOG_REM_VOL_FAIL|domain_funcs.d|line 509 Remove failed; Volume '/dev/rz6g' NOT removed from file domain 'homes_domain' Thu Sep 19 10:12:48 1996|rag100.RZ-Berlin.MPG.DE||root info|DXADVFS_LOG_REM_VOL_BEGIN|domain_funcs.d|line 330 Removing volume '/dev/rz6g' from file domain 'homes_domain' Thu Sep 19 10:18:12 1996|rag100.RZ-Berlin.MPG.DE||root info|DXADVFS_LOG_REM_VOL_SUCCESS|domain_funcs.d|line 393 Removed volume '/dev/rz6g' from file domain 'homes_domain' -------------------------------------------------------------------------- System: Digital UNIX V3.2D-1 (Rev. 41) Patches: OSF360-006,-011,-023,-027,-028,-350084,-350097 -350109,-350117,-350147 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 ??? A reboot will crash the whole domain, that's for sure. I never experienced such a trouble under 3.2C, the above mentioned patches have been installed in order to get rid of this behaviour, but it looks like this doesn't help. Peter ##===========================##============================================## 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 :: ..===========================..============================================..