LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-26-2007, 01:51 AM   #1
a.toraby
Member
 
Registered: Sep 2006
Location: tehran
Distribution: open suse & open solaris
Posts: 102

Rep: Reputation: 15
how to fixing file system errors in solaris??


hi.
i have a fearful problem with my solaris 5.8
i am working on solaris workstation. when i have worked with it,yesterday. the power of my case is damaged and pc switched off.
when i turn on it, it prompts following errors at the startup process.
*************************************************
the system is comming up. please wait.
checking ufs file systems
/dev/rdsk/c0t0d0s7: unalocated i=22164 owner=df8002 mode=0
/dev/rdsk/c0t0d0s7: size=0 mime=dec 13 15:42 2006
/dev/rdsk/c0t0d0s7: name=/lost+found/#022164

/dev/rdsk/c0t0d0s7: unexpected inconsistency; run fsck manually.

the following file systems had an unexpected inconsistency: /dev/rdsk/c0t0d0s7
(/export/home)
warning - uable to repair one or more filesystems.
....
*******************************************************
who can help me???
i have very expensive datas in my hard.
how to i can fix file system errors??
is fsck a good tool??
 
Old 05-26-2007, 03:34 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by a.toraby
i have very expensive datas in my hard.
and no backup ?
Quote:
how to i can fix file system errors??
by running fsck.
Quote:
is fsck a good tool??
the best ! (and the only one )
 
Old 05-26-2007, 05:55 AM   #3
a.toraby
Member
 
Registered: Sep 2006
Location: tehran
Distribution: open suse & open solaris
Posts: 102

Original Poster
Rep: Reputation: 15
thank,s for reply.
and how to i can use this utility???
can i use it for recovery???
please help me. i want to know that what's the meaning of each step in fsck process.
can u suggest me a tutorial or how to, in this field.

is there any recovery utility for ufs file system??
 
Old 05-26-2007, 07:30 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by a.toraby
thank,s for reply.
and how to i can use this utility???
fsck /dev/rdsk/c0t0d0s7
Quote:
can i use it for recovery???
Absolutely
Quote:
please help me. i want to know that what's the meaning of each step in fsck process.
can u suggest me a tutorial or how to, in this field.
You do not need to know in details what fsck is doing, just reply yes to any questions it asks.
Quote:
is there any recovery utility for ufs file system??
If you are really unconfident on what fsck may do to you filesystem, you can dump the whole slice to another disk for later examination with dd, but you'll need some free space for that.
 
Old 05-26-2007, 08:14 AM   #5
a.toraby
Member
 
Registered: Sep 2006
Location: tehran
Distribution: open suse & open solaris
Posts: 102

Original Poster
Rep: Reputation: 15
hi
there is a problem
when i press ctrl+d and login, total of my home directory is empty.
is there a way to reach them?

fsck prompt that specific file is inconsistent, and ask me to remove it.
is fsck attempt to erase data files??
thanks 4 your help.

you are very patient and affectionate
 
Old 05-26-2007, 02:39 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by a.toraby
hi
there is a problem
when i press ctrl+d and login, total of my home directory is empty.
If your home directory is on /export/home, this is normal as /export/home is not mounted.
Quote:
is there a way to reach them?
By mounting /export/home, but you need to have it fixed before.
Quote:
fsck prompt that specific file is inconsistent, and ask me to remove it.
is fsck attempt to erase data files??
fsck is trying to recover what it can, unrecoverable files need to be removed.
Quote:
you are very patient and affectionate
Thanks
 
Old 05-26-2007, 11:48 PM   #7
a.toraby
Member
 
Registered: Sep 2006
Location: tehran
Distribution: open suse & open solaris
Posts: 102

Original Poster
Rep: Reputation: 15
ok
i try to use it.
thanks for help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual file system fixing with e2fsck -- are my files permanently lost? the theorist Linux - Software 5 04-04-2007 01:18 AM
slowly fixing all the errors, please help :-\ y0shi Slackware 13 10-24-2004 08:25 PM
Fixing File System Error on Debian Box doctorcisco Linux - Software 0 05-21-2004 03:36 PM
File system with errors naski666 Linux - Newbie 18 06-25-2003 06:30 AM
Fixing HD errors in Knoppix KungFuHamster Linux - General 7 05-01-2003 05:13 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration