Fsck ques


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Fsck ques
# 1  
Old 11-29-2008
Fsck ques

hy guys

I got a ques
I cant acess root, i tried to fsck it, but gets errors to read file systems. What steps do you take to recover the host before you see if there is any data corruption on the root drive?


Regards
Charneet
# 2  
Old 12-01-2008
I speak from experience on this one: run fsck on an unmounted root partition. You must boot the system from a cdrom (or dvd) with:

Code:
ok boot cdrom -s

and then run fsck.

If you run fsck on a mounted root partition you WILL corrupt it beyond repair. Your only option will be to reinstall the OS or try a restore from a backup.

HTH
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UNIX ques!! Ans URGENT!!

hello guys!! need 1 favour from u all.. Can u jst tell me the answers for these ques?? 1. ls - l _____ : command to return all files that end with single digit and those with TXT extension 2. ls -l report* _______ : command to return all files that start with the word RPT except those with LOG... (1 Reply)
Discussion started by: Gan_7
1 Replies

2. Solaris

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

What can I fix this issue? I have ran below commands but everything is same.:confused: WARNING: Last shutdown is later than time on time-of-day chip: check date. The / file system (/dev/rdsk/c1t0d0s0) is being checked WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies

3. UNIX for Dummies Questions & Answers

about fsck

i want to know what does it mean by doing a consistentcy check fsck on a disk and why journaling filesystems dont need to do it and what is meant by disk is in a consistent state when writing because entries are recorded in a journal and then to the metadata and then removed from journal (1 Reply)
Discussion started by: farhan_t49
1 Replies

4. UNIX for Dummies Questions & Answers

Service ques

hi, Can someone tell me what commands do you use to start service back upin solaris ? Regards Charneet (1 Reply)
Discussion started by: charneet
1 Replies

5. Shell Programming and Scripting

Field separator Ques.

Hello... Im trying to use "- " as field separator... I used awk -F"- " '{print $3}' input_file ... but it's not working, it assumes that the field separator is "-" and not "- " ... Any ideas ?? :( Thanks (6 Replies)
Discussion started by: yahyaaa
6 Replies

6. UNIX for Dummies Questions & Answers

ques regarding date command

i have couple of my assignment questions What command results in adding today's date and time to the file yesterday.txt What command results in creation of a new file named yesterday.txt that contains yesterday's date but no time (3 Replies)
Discussion started by: doomed47
3 Replies

7. UNIX for Dummies Questions & Answers

fsck - what should be done?

I want to use fsck to check and repair my linux system. When I use this command, what do I need to pay attention to or what should I do to make job running successfully. Thanks for your inputs for a newbie. (3 Replies)
Discussion started by: duke0001
3 Replies

8. Solaris

fsck

OS: Solaris 5.8 Everytime I run fsck -y I get: FILE SYSTEM STATE IN SUPERBLOCK IS WRONG; FIX? yes Do I need to run fsck with the backup superblock option or is there some other option I should use. I have tried the format->analyze->read option but that does not report any corrupt blocks.... (5 Replies)
Discussion started by: run_time_error
5 Replies

9. Shell Programming and Scripting

Ques

If a file is compressed, how can i uncompress on the fly using pipes(handling this in the shell script depending on the command line arguments passed to the script) ex: ex_pr.sh -d disable -f ex_pr_1212.log.Z (6 Replies)
Discussion started by: dreams5617
6 Replies

10. Filesystems, Disks and Memory

fsck -y

Once in a while, I would think it advisable to run fsck -y to check the disk. Should I sign in as su or sudo? What is the difference and which is preferred? Thank you in Advance! (4 Replies)
Discussion started by: rpatrick
4 Replies
Login or Register to Ask a Question