Could not chdir to home directory : I/O error


 
Thread Tools Search this Thread
Operating Systems Solaris Could not chdir to home directory : I/O error
# 1  
Old 08-02-2011
MySQL Could not chdir to home directory : I/O error

When I login to Solaris 8 server I am getting the below error message

Code:
Could not chdir to home directory /users/test: I/O error

: ls /users/test
/users/test: I/O error
exitcode: 2

Previously I am able to login to server without any issue. Only now I am facing this error.


Regards,
Kalai

Last edited by DukeNuke2; 08-02-2011 at 10:39 AM..
# 2  
Old 08-02-2011
Bug

Could you pleaz post the "iostat -En" output...?
# 3  
Old 08-02-2011
Code:
$ iostat  -En
c0t6d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: TOSHIBA  Product: DVD-ROM SD-M1401 Revision: 1009 Serial No: 12/20/00 
Size: 18446744073.71GB <-1 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c4t0d0          Soft Errors: 0 Hard Errors: 79 Transport Errors: 0 
Vendor: SUN      Product: StorEdge 3310    Revision: 0325 Serial No: 001BB22F4F21D300 
Size: 731.36GB <731360040960 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 14 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c4t0d1          Soft Errors: 0 Hard Errors: 14 Transport Errors: 6 
Vendor: SUN      Product: StorEdge 3310    Revision: 0325 Serial No: 001BB26AA41C1200 
Size: 1074.01GB <1074008887808 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 14 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c1t1d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: SEAGATE  Product: ST336605FSUN36G  Revision: 0438 Serial No: 0212P1DE6P 
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c1t3d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: SEAGATE  Product: ST336605FSUN36G  Revision: 0438 Serial No: 0212P1CP5E 
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c1t5d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: SEAGATE  Product: ST336605FSUN36G  Revision: 0438 Serial No: 0212P1DH8X 
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c1t4d0          Soft Errors: 0 Hard Errors: 2023 Transport Errors: 0 
Vendor: SEAGATE  Product: ST336605FSUN36G  Revision: 0438 Serial No:            
Size: 18446744073.71GB <-512 bytes>
Media Error: 0 Device Not Ready: 2023 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
c1t0d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Vendor: SEAGATE  Product: ST336605FSUN36G  Revision: 0638 Serial No: 0212P1CC0G 
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0 
$


Last edited by pludi; 08-02-2011 at 07:00 AM..
# 4  
Old 08-02-2011
From which disk is "/users/test" created...?

Output of "df -h /users" pleaz...
# 5  
Old 08-02-2011
There's your error:
Code:
c1t4d0          Soft Errors: 0 Hard Errors: 2023 Transport Errors: 0 
Vendor: SEAGATE  Product: ST336605FSUN36G  Revision: 0438 Serial No:            
Size: 18446744073.71GB <-512 bytes>
Media Error: 0 Device Not Ready: 2023 No Device: 0 Recoverable: 0 
Illegal Request: 0 Predictive Failure Analysis: 0

2023 Hard errors, 2023 Device Not Ready errors, and a reported size that's impossible. I'd say that disk is going to hardware heaven.
# 6  
Old 08-02-2011
Hi pludi,

Is there any way to recover the error message.

Regards,
Kalai
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies

2. UNIX for Dummies Questions & Answers

Could not chdir to home directory

Hi all, I just got an account created on a Linux box. When I log in, I got the error message " Could not chdir to home directory /home/yyyy : No such file or directory". When I checked the /etc/passwd file, I could see that my home directory is there. i thought when the account is created the... (3 Replies)
Discussion started by: Pouchie1
3 Replies

3. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

4. SuSE

Could not chdir to home directory

Hi, on logging into oracle account i got these error message Could not chdir to home directory /home/oracle: No such file or directory /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority found the command used in creating user was usermod -d /home/oracle -m... (5 Replies)
Discussion started by: saha
5 Replies

5. Programming

Getting Home Directory

Hi I need to get the home directory of current user who is running the program, also i need to store the value in a particular variable and pass to the function. thanks in advance (4 Replies)
Discussion started by: cutechaps
4 Replies

6. Filesystems, Disks and Memory

Could not chdir to home directory

I have SunOS 5.8. Yesterday when i tried to log in I got message: Could not chdir to home directory /export/home/blahblah: No such file or directory Instead of the home directory i used to get in, I was bounced to the root directory. I searched through the filesystems but could not find my... (2 Replies)
Discussion started by: liux99
2 Replies

7. UNIX for Dummies Questions & Answers

home directory

Hi what is the difference between the directory named /home and the user's home directory? can anyone plz reply? really confuse about it!!!!!!!! thank you (1 Reply)
Discussion started by: nokia3100
1 Replies

8. UNIX for Dummies Questions & Answers

cd into home directory ~

I'm trying to cd into a home directory with cd ~username_here and I'm getting the following error: ~username_here: does not exist The directory exists and I can directly go to it via cd /export/home/username_here without any problems. Any suggestions? (4 Replies)
Discussion started by: here2learn
4 Replies

9. UNIX for Dummies Questions & Answers

c++ home directory??

when i compile *.cpp files the compiler didn't find the non standart includes.If i have to put the full path of the includet files where shall i begin from root dirctory or i heve to put includet files in cpp home directory??? can i compile java files in unix(linux mandrake 7) if yes haw... (3 Replies)
Discussion started by: user666
3 Replies
Login or Register to Ask a Question