From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621155.tru64-unix-managers.marc@archive.invalid> From: Michel Cyr Date: Mon, 03 Jun 1996 18:33:52 +0000 To: tru64-unix-managers Subject: SUMMARY: ADVFS: rmvol removes wrong volume X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621155 In <1996May27.160936+0000@sis500>, Michel Cyr wrote: >Hello managers ! > >We are using DU 3.2c vanilla (almost no patches (clock.o) ... i know i >should install them) > >When trying to remove a volume, with : > >rmvol /dev/vol/auto_addvol/AA138_180004 vob01 > >This utility (rmvol) start removing the wrong volume !?%#$%#$ > >If i let the rmvol go, it will remove the wrong volume and remove it's >entry in the metastructure of that advfs volume. > >EVEN WORST !!! it will remove the wrong symbolic link in the >/etd/fdmns directory > >Any one seen something like that ? > Thank's for the ones who tried to help but : THIS IS ANOTHER BUG IN ADVFS !!! The problem occurs when using long device name (LSM) and trying to use rmvol. THe rmvol command would try to remove the wrong device in NOT SO RARE circonstances. To correct the defective ADVFS domain : - umount filesets of that domain - rename the "too long" device with : voledit -g rename "long name" "short name" - Change the /etc/fdmns/ symn links - mount filesets - rmvol "short name" Et voila ! -- Michel Cyr SIDOCI enr. Vox (514)252-4333 ex 258 Fax (514)252-7806 Michel_Cyr@SIDOCI.qc.ca