AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  file error

    Posted 03/06/07 10:44 PM

    Originally posted by: SystemAdmin


    env: AIX Version 5.2
    I use command to operate the file such as rm <filename>ls -l <filename> and so on,some phenomenon has returned
    1the command not end except "ls <filename>"
    2the command can't end when I use "kill -9" to stop
    #AIX-Forum


  • 2.  Re: file error

    Posted 03/07/07 07:28 AM

    Originally posted by: SystemAdmin


    Is <filename> on an NFS mounted directory? If so, is the NFS server working properly? If you have the filesystem "hard mounted" and something goes wrong it can cause behaviour like this.

    HTH

    Jim Lane
    #AIX-Forum


  • 3.  Re: file error

    Posted 03/07/07 09:18 PM

    Originally posted by: SystemAdmin


    the file is on /dev/dsadm filesystem and Mounted on /dsadm. I catch this info through /etc/filesystems.
    detail :
    /dsadm:
    dev = /dev/dsadm
    vfs = jfs2
    log = /dev/loglv03
    mount = false
    options = rw
    account = false
    what does "hard mounted" mean?
    #AIX-Forum


  • 4.  Re: file error

    Posted 03/08/07 07:43 AM

    Originally posted by: SystemAdmin


    OK, forget my first reply, it's not an NFS filesystem. Post the output of the following commands:

    df -k /dsadm
    ls -ld /dsadm

    It's not relevant to your problem but, for reference, "hard mounted" is an option in NFS whereby the client mounts the filesystem and then waits, forever if need be, for the mount to complete. It's used in cases where the system would be unable to function properly if the filesystem can't be mounted.

    HTH

    Jim Lane
    #AIX-Forum


  • 5.  Re: file error

    Posted 03/08/07 08:10 PM

    Originally posted by: SystemAdmin


    Thanks for you replay

    scdmr:dsadm/home/dsadm$df -k /dsadm
    Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
    /dev/dsadm 204472320 197544676 4% 77589 1% /dsadm
    scdmr:dsadm/home/dsadm$ls -ld /dsadm
    drwxr-xr-x 8 dsadm staff 4096 Dec 08 17:41 /dsadm
    #AIX-Forum


  • 6.  Re: file error

    Posted 03/09/07 07:21 AM

    Originally posted by: SystemAdmin


    OK. That all looks normal. Now try

    cd /dsasm
    ls -l /dsadm

    and post the output of that.
    #AIX-Forum