LinuxQuestions.org
Visit Jeremy's Blog.
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 02-12-2012, 09:37 PM   #1
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
will fsck work on lvm


I take it that fsck does not work in the same way on lvm as it does on 'real' partitions, e.g., fsck -fy /dev/sda1 will cause problems on something that has been installed from a recent Ubuntu installation disk, while accessing the drive from a live disk?

Fred.
 
Old 02-12-2012, 10:03 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,873
Blog Entries: 18

Rep: Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343
Yes, but you have to fsck the LVM, not the devices that comprise the LVM.

See this

http://www.azhowto.com/2010/01/20/fs...lvm-partition/

and this

http://defindit.com/readme_files/fsc...umes.html#toc2
 
1 members found this post helpful.
Old 02-12-2012, 10:51 PM   #3
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Yes fsck can work on LVM. Check these links:

http://www.kernelhardware.org/how-sh...x-file-system/
http://forums.fedoraforum.org/archiv.../t-139776.html
http://www.azhowto.com/2010/01/20/fs...lvm-partition/
 
2 members found this post helpful.
Old 02-13-2012, 09:31 AM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Original Poster
Rep: Reputation: 166Reputation: 166
fsck+lvm

Thanks for replies. I wont say it is solved as I've not tried the solutions. Have avoided LVM as I don't understand it but at least repairs are demystified. Some, long overdue, reading is needed.

Fred.
 
Old 02-13-2012, 11:49 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Maybe http://tldp.org/HOWTO/LVM-HOWTO/ and this http://sunoano.name/ws/public_xhtml/lvm.html for really in depth
 
  


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
LVM and fsck jagdip Linux - General 4 02-02-2012 12:11 PM
Is this Normal for RAID fsck LVM rusl Linux - Server 2 08-10-2008 11:57 PM
Problem running fsck on LVM Magmagal Fedora 3 05-19-2008 05:21 AM
fsck'ing LVM r3dh2t Linux - Software 1 06-12-2007 02:09 PM
Assistance using fsck to recover ext3 LVM partition fiberfarm Fedora 1 11-01-2006 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration