Link to home
Start Free TrialLog in
Avatar of lolaferrari
lolaferrariFlag for United Kingdom of Great Britain and Northern Ireland

asked on

AIX check for filesystems not mounted but mount = true

I'd like to check in my script which filesystems are mounted via nfs and also which filesystems could be mounted but aren't actually mounted.

If i run this command

grep -ip nfs /etc/filesystem

It returns

/testapps

    dev                  ="/export/testapps"
    vfs                  =nfs
   nodename    =testserver01
   mount           = true
   options        =rw,big,soft,into,retry=3
   account       =false

How can I get this in the format "nfs,testserver01:/export/testapps -> /testapps, unmounted"   ?
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

what mount command shows?
Please share content of /etc/filesystem , you may hide sensitive info
ASKER CERTIFIED SOLUTION
Avatar of Carlos Ijalba
Carlos Ijalba
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lolaferrari

ASKER

thank you!