1834222 Members
3048 Online
110066 Solutions
New Discussion

problem in mounting

 
SOLVED
Go to solution
Azaru
Regular Advisor

problem in mounting

Hi,

I have forgot the root password. So to recover that i just rebooted the system in single user mode. in this mode only / and /stand file systems mounted. But now the problem is when i tried to mount the /usr it is throwing the error

file system is currepted needs checking.

Now what i have to do to resolve this issue.

Any one please guide me.
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: problem in mounting

Run fsck, then mount:

fsck -y /dev/vg00/rlvol7


Pete

Pete
erics_1
Honored Contributor

Re: problem in mounting

You need to run fsck against the raw device:

fsck -F vxfs /dev/vg00/rusr

If that doesn't succeed, run with -o full

fsck -F vxfs -o full /dev/vg00/rusr

Then mount.

Regards,
Eric
Azaru
Regular Advisor

Re: problem in mounting

great thanks.

but still i am getting one more problem. When i tried to execute the following command

/usr/lbin/modprpw -k root
to unlock the account. its showing the error

/usr/lib/dld/sl:] can't find the shared path in libxti.2
/usr/lib/dld.sl:] No such file or directory

I hope u will give me the right solution.

thanks in advance
Tim Nelson
Honored Contributor
Solution

Re: problem in mounting

FYI, the lockout for root does not apply if you are using the console.

You could keep this simple by either just using the passwd command to change root's password or edit /tcb/files/auth/r/root and remove the encryptend password. The password will then be null and you can change it again at any run level.

To keep from having command issues mount all vg00 filesystems, /usr, /var, /opt as well. run fsck on each as you did before as they are dirty due to your forced crash.


Pete Randall
Outstanding Contributor

Re: problem in mounting

You can also have fsck check all file systems in /etc/fstab by simply not specifying which one to check. It will then go through each of the listed file systems, prompting you (unless you specified -y) as to whether or not you want to check each FS. You can then do a "mount -a" to get them all mounted.


Pete

Pete
Azaru
Regular Advisor

Re: problem in mounting




thanks alot sir its working now.
Azaru
Regular Advisor

Re: problem in mounting

thanks