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 12-07-2017, 04:35 PM   #16
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: SLACKWARE 96 -> SUSE 6.2 & REDHAT -> Gentoo & ARCH-Linux & Linux-Mint
Posts: 290

Rep: Reputation: Disabled

Quote:
Originally Posted by ss1100 View Post
What you're saying makes a lot of sense, but gparted isn't aware of the logical partition when booted as liveusb (iso) and I'm not sure how else to be able to run a check on the partition containing / because it's mounted...

Code:
[root@localhost ~]# xfs_repair -n /dev/mapper/centos-root
xfs_repair: /dev/mapper/centos-root contains a mounted and writable filesystem

fatal error -- couldn't initialize XFS library
EDIT: I am attempting to do this again after finding how to boot in single user mode.
The reason why live-cds exists. So you can file system check a not mounted file system.

XFS is not that bad, quite outdated and old, and very slow in comparison with ext3 in my point of view.

--

slight hint, always have enough inodes => tune2fs

tune2fs is not that bad to check how you have setup your file systems, or adjust it a bit.

and only because guys say xfs is awesome just do not use it. same with apple phones.
stick to the stuff the mayority uses, and thats as of now ext4.

--

I doubt you can do any file system checks on any linux file system when it is mounted. was always the case.

--

File system checks are overrated. i nuke my file system every 5 weeks. Linux has no tool for fragmentation. During my backup process the file systems are nuked, the faster wipe approach.
When you can not trust your file systems you are doomed anyway. => data corruption as in the old days with suse 6.2 and the buggy reiserfs.

Last edited by _roman_; 12-07-2017 at 04:41 PM.
 
Old 12-07-2017, 06:14 PM   #17
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Knoppix, Debian, Mageia, Fedora, more
Posts: 326

Rep: Reputation: 86
Quote:
Originally Posted by _roman_ View Post
Linux has no tool for fragmentation.
It would have had one many moons ago if there was a real rather than imaginary need. FOSS filesystems used as recommended and born in the past couple of decades or more avoid the need.
 
  


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
WEBCAM: Stickam shows black screen when Cheese shows cam 449 Linux - Software 16 08-04-2009 04:23 AM
free -m shows 2GB used but gnome-system-monitor shows 1GB anjanesh Linux - General 1 03-04-2009 05:49 AM
df shows disk almost full, can't see why mhath Linux - General 6 12-14-2005 09:55 PM
snmp staus shows it running but on trying MRTG, it shows public@ipaddr not giving res swati220781 Linux - Networking 3 07-08-2004 06:32 PM
root partition shows 100% full in RH 7.2 dmcmurray5 Red Hat 2 05-18-2004 04:24 PM

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

All times are GMT -5. The time now is 09:10 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