Tag Archives: mount

Mounting Linux NFS shares in AIX

I found a scribbled note regarding the matter and just had to post this as a reminder:

Mounting an NFS export from a Linux server in AIX will surely fail, unless you run this command before mounting:

nfso -o nfs_use_reserved_ports=1

After this you can proceed with regular mounting.

The explanations I’ve seen to why AIX doesn’t use reserved ports to begin with, vary from AIX follows NFS standard to It’s more secure this way. Whatever the reason behind this, it’s annoying when mounting fails without an abvious and reasonable explanation.

 

 

 

Posted in Linux | Tagged , , , , , , | Leave a comment

Truecrypt woes

Background

Solving disk problems is a little more complicated when devices are encrypted. You need to keep in mind that a filesystem on an encrypted device can’t be seen unless the device is decrypted. Here is a few problems I’ve come in touch with, together with solutions that have worked for me.

Error unmounting a volume

Error message which may occur when trying to unmount truecrypt volume:

device-mapper: create ioctl failed: Device or resource busy

 

Trying to remove the volume with cryptsetup gives a similar message:

sudo cryptsetup remove /dev/mapper/truecrypt1
Device /dev/mapper/truecrypt1 is busy.

 

As the error messages implies, something is keeping the volume open. If lsof doesn’t show anything, it might be an active NFS export keeping it busy.

Posted in Linux | Tagged , , , , , , , | Leave a comment