ndsconfig upgrade fails when mount point is designated at /var/opt/novell/eDirectory/data

  • 7005416
  • 01-Mar-2010
  • 26-Apr-2012

Environment


Novell eDirectory 8.7.3 for Linux
Novell eDirectory 8.8 for Linux
ndsconfig upgrade
Partition Mount point at /var/opt/novell/eDirectory/data

Situation

Get the following error when trying to run ndsconfig upgrade when partition mount
point is designated at /var/opt/novell/eDirectory/data

ndsconfig upgrade

Migrating the eDirectory configuration file "/etc/nds.conf" to the new
configuration file location "/etc/opt/novell/eDirectory/conf/nds.conf"...

ERROR: Unable to check if the directory
"/var/opt/novell/eDirectory/data_upg_bak" already exists. If the directory
exists, delete it and execute `ndsconfig upgrade --config-file /etc/nds.conf`
to restart the upgrade operation.
- Device or resource busy.
ERROR: ndsconfig return value = 1.



Resolution

Have reported this condition to Novell Engineering.

For now a workaround is available:
Change mount point of partition to something else such as /var/opt/novell/eDirectory.


Additional Information

Steps to duplicate:
1. Install edir873 on Sles10sp2 box.
2. Create a partition (I left default at Reiser) and place mount point at
/var/opt/novell/eDirectory/data
3. Run nds-install to update 8.8.5 packages
4. Attempt running "ndsconfig upgrade"

Expected Results: Same as listed above:
ndsconfig upgrade

Migrating the eDirectory configuration file "/etc/nds.conf" to the new
configuration file location "/etc/opt/novell/eDirectory/conf/nds.conf"...

ERROR: Unable to check if the directory
"/var/opt/novell/eDirectory/data_upg_bak" already exists. If the directory
exists, delete it and execute `ndsconfig upgrade --config-file /etc/nds.conf`
to restart the upgrade operation.
- Device or resource busy.
ERROR: ndsconfig return value = 1.


sb-sles10sp2:/var/nds/dib # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.0G 2.7G 6.3G 30% /
udev 374M 128K 374M 1% /dev
/dev/sdb1 8.0G 33M 8.0G 1% /var/opt/novell/eDirectory/data