LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2009, 05:19 PM   #1
383gene
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
file system check


Hi - I'm not sure how to implement the fsck command. I want to practice using the it - I am using Fedora. I visited the man pages looking for an example. I have two partitions /dev/sda1 (boot) and /dev/sda2.

These are the two commands and the results
#umount /dev/sda2
umount: /dev/sda2: not mounted
#fsck /dev/sda2
fsck 1.40.8 (13-Mar-2008)
fsck: fsck.lvm2pv: not found
fsck: Error 2 while executing fsck.lmv2pv for /dev/sda2


Thank you, Gene
 
Old 01-29-2009, 05:23 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
this command is ran by the system. It requires the drive to be unmounted. In short it is ran upon bootup not during a live system. I believe I have seen that it can be ran on a system that is up but is highly discouraged.

Last edited by jstephens84; 01-29-2009 at 05:25 PM.
 
Old 01-29-2009, 05:41 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
what filesystem is this?
LVM?
 
Old 01-29-2009, 05:48 PM   #4
383gene
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Yes

The partition /dev/sda2 is 8e Linux LVM
 
Old 01-29-2009, 06:02 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
FSCK has no way to figure out what is in such partition.
it is just an errormessage
make sure you fsck the path of the volume and not the actual physical partition.
eq if it is ext3
Code:
fsck.ext3 /dev/VolGroup00/LogVol00
 
Old 01-29-2009, 06:08 PM   #6
383gene
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you

I have to figure how to send a thank you reply in the post
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 08:38 PM
How To Check File System??? nirmit Linux - Server 3 11-04-2008 11:59 PM
File system check ashley75 Linux - General 4 05-04-2004 07:26 PM
file system check nakkaya Linux - Software 5 03-15-2003 12:28 AM
How to check what is your file system? Alinuxnoob Linux - Newbie 2 03-31-2002 02:37 AM


All times are GMT -5. The time now is 08:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration