AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Mount of Aix filesystem fails.

    Posted Tue October 17, 2006 05:09 AM

    Originally posted by: SystemAdmin


    I am facing the problem with [b]mount[/b] in aix. Let me explain the scenario below.

    I have a Netapp Lun which connected to the aix host. I created a file system over it and copied some files to it.

    Next I removed the lun and attached it to another aix host. The lun is identified by the host, but mounting of file system fails. If I do fsck of the
    device, the mount succeeds but the copied file are lost.

    I found that this problem arises, because when connected to a different host, the /dev/hdisk<N> of the lun changes and this causes mount to fail. This
    arises even if this /dev/hdisk<N> changes on the original host (disconnecting it
    and connecting lun again).

    This problem does not arise, if the same device id /dev/hdisk<N> , is available on either same or different host.

    Kindly let me know a way mount the file system with different device id without losing the data in it.

    NOTE: This problem is noticed only on File System on RAW DEVICE without LVM
    #AIX-Forum


  • 2.  Re: Mount of Aix filesystem fails.

    Posted Tue October 17, 2006 06:10 AM

    Originally posted by: SystemAdmin


    I suspect this is not the best solution, but one option is to manually configure your hdisk device with mkdev so that you can specify an arbitrary name, which of course can be the same on both systems.
    You can use a suitable out-of-sequence number, or even a non-numeric name, I believe. (It worked last time I tried, but that was a few years ago on AIX 4.3.)
    #AIX-Forum