In <1996May27.160936+0000_at_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 <disk-group> rename "long name" "short name"
- Change the /etc/fdmns/<domain-name> symn links
- mount filesets
- rmvol "short name" <domain-name>
Et voila !
--
Michel Cyr
SIDOCI enr.
Vox (514)252-4333 ex 258
Fax (514)252-7806
Michel_Cyr_at_SIDOCI.qc.ca
Received on Mon Jun 03 1996 - 20:57:29 NZST