jmarton2 Absent Member.
Absent Member.
1395 views

mount nss volume restored from another server

I have two OES 2015 (not SP1) servers running in my VMware environment. I have restored one of the VMDKs from one server temporarily to another server and added it to the VM config. I ran rescan-scsi-bus.sh so that I wouldn't have to restart the server to pick up the new disk. I then tried nssmount for this volume (VOL2) but it said it couldn't find the volume in /etc/fstab. I tried mount -t nssvol VOL2 but that gave an error about wrong fs type, bad option, or bad superblock on VOL2. So then I added it to /etc/fstab and tried nssmount again. nssmount gave the same error as mount (wrong fs type, etc) then also returned error 32. Looks like error 32 is about missing LDAP objects? Since this volume on this server doesn't exist in eDir, do I need to do something with that well? I was hoping to just temporarily mount the volume to gain access to the data without making too many changes.

Thanks.

Joe

Joe Marton Emeritus Knowledge Partner
Labels (2)
0 Likes
4 Replies
Knowledge Partner
Knowledge Partner

Re: mount nss volume restored from another server

Am 30.08.2016 um 04:56 schrieb jmarton:
>
> I have two OES 2015 (not SP1) servers running in my VMware environment.
> I have restored one of the VMDKs from one server temporarily to another
> server and added it to the VM config. I ran rescan-scsi-bus.sh so that
> I wouldn't have to restart the server to pick up the new disk. I then
> tried nssmount for this volume (VOL2) but it said it couldn't find the
> volume in /etc/fstab. I tried mount -t nssvol VOL2 but that gave an
> error about wrong fs type, bad option, or bad superblock on VOL2. So
> then I added it to /etc/fstab and tried nssmount again. nssmount gave
> the same error as mount (wrong fs type, etc) then also returned error
> 32. Looks like error 32 is about missing LDAP objects? Since this
> volume on this server doesn't exist in eDir, do I need to do something
> with that well? I was hoping to just temporarily mount the volume to
> gain access to the data without making too many changes.


What you attempt should just work. To mount the volume you either need
to use nssmu, or just reboot the server with the volume/disk attached,
which should automatically find and mount it.

CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Highlighted
jmarton2 Absent Member.
Absent Member.

Re: mount nss volume restored from another server

mrosen;2438332 wrote:

What you attempt should just work. To mount the volume you either need
to use nssmu, or just reboot the server with the volume/disk attached,
which should automatically find and mount it.


I went into nssmu and it didn't show the volume, so then I tried rebooting the server and it didn't mount. I then even tried adding this new volume to /etc/fstab, rebooted again, and it still didn't with the Error 32 coming up again.

martongw1:~ # grep -e mount /var/log/boot.msg
<6>[ 3.799541] EXT3-fs (sda3): mounted filesystem with ordered data mode
mount -o rw,acl,user_xattr -t ext3 /dev/sda3 /root
Scan devices and mount pools
mount: wrong fs type, bad option, bad superblock on VOL2,
need a /sbin/mount.<type> helper program)
Error 32 occured while mounting volume VOL2
Unable to mount the volume

But if I go into YaST, I can see this device as sdc and partitioner shows it has a single partition (/dev/sdc1) of type Novell NetWare. I just can't get it mounted.

Joe

Joe Marton Emeritus Knowledge Partner
0 Likes
Knowledge Partner
Knowledge Partner

Re: mount nss volume restored from another server

Am 31.08.2016 um 16:06 schrieb jmarton:
>
> I went into nssmu and it didn't show the volume,


Did it show the device? The Partition? The pool?

And forget linux mount and fstab. They play no role and can't/won't help.

CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
jmarton2 Absent Member.
Absent Member.

Re: mount nss volume restored from another server

Sorry it's been a while... finally had a chance to play with this again. I don't know what happened last time, but I ran through all the steps this time and now it worked. I added the disk to the VM again, rebooted the OES server (rescan-scsi-bus didn't pick up the new disk), and not only did rebooting pick up the disk but the pool & volume were both detected and the volume was mounted. I could even browse it from a Windows 10 machine with the Novell Client installed. No idea why it failed previously but it's working now.

Joe

Joe Marton Emeritus Knowledge Partner
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.