[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2497
  • Last Modified:

Need to remount file system in AIX

I had a power failure and when I restarted my RS6000, my /home file system on /hd1 is not there anymore.  How do I remount it so it appears when I issue the mount command?
0
GeorgeV
Asked:
GeorgeV
  • 2
1 Solution
 
woolmilkporcCommented:
Hi,
I assume you tried
mount /home   or
mount /dev/hd1 /home   ?
Are there any error messages?
issue fsck -y /dev/hd1 while /home is not mounted, then try to mount
Now any error messages from fsck or from mount ?
If still no success, please issue   lsvg -l rootvg ,  lsvg -p rootvg   and   grep -p /home:   /etc/filesystems   and post the output!
 
wmp
 
0
 
GeorgeVAuthor Commented:
Thanks, that woked to mount the file system.  Now when I type MENU to load my application I get the following error:
0 can't find entry for 'dumb' in '/home/acobol/etc/a_termcap'

Any ideas?
Thanks,
George
0
 
woolmilkporcCommented:
Hi,

this might be a damaged file fsck couldn't repair (did you run fsck? If not, do it now, after unmounting /home!)
Such files get normally transferred to the 'lost+found' directory, just below the mount point.

Please have a look there and see what you can find. Don't expect to find correct filenames, you will have to inspect the contents of the files found there.

If the file still resides in its correct location, it might be damaged nevertheless. Try to open it with an appropriate editor (if it's not binary, of course), and see what you can do.

Besides that, if you have a recent backup of /home, I would strongly suggest restoring /home's contents,
possibly in a first effort using a 'do not overwrite' option. Should you still encounter errors like the above, do a full (overwrite) restore.

wmp



0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now