You are not logged in.

#1 2010-10-13 21:46:03

Thor@Flanders
Member
Registered: 2010-08-27
Posts: 266

(SOLVED)How do I repair the file system without damaging it?

Hi,

I've posted this question elsewhere, but I thought/hoped it was not an issue, I think (now) it is...

Every 23 times, the system does a file system check of sda3, it seems to be the root partition:

ls -l /dev/sda3
brw-rw---- 1 root disk 8, 3 Oct 13 23:26 /dev/sda3

It used to have 0.5 pct of non-contiguous blocks, today it reported 1.1 procent. Granted, still nominal (I think) but a growing number.

Should I attempt a repair? If so, where is the manual to do that safely?
It is a SATA 250 Gb, claimed to be new...

Thank you

Thor
Tnx Stebalien - I still need to get "into" this thing...

Last edited by Thor@Flanders (2010-10-14 09:07:30)

Offline

#2 2010-10-13 22:43:17

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: (SOLVED)How do I repair the file system without damaging it?

non-contigous blocks do NOT indicate a problem with the drive.

Files that use multiple blocks work best when all blocks are nicely stored next to each other and in the correct order.
Files of which the blocks are stored on different parts of the partition are known as fragmented or non-contiguous files.

Microsoft filesystems are known to have this problem bigtime, adn users need to run a defragmenting program to solve it.
*nix filesystems however suffer a lot less of this problem and i've never even seen a defragmenting program for *nix.

the only way i know to reduce fragmentation under *nix, is to copy files and delete the originals.

On all filesystems fragmentation gets worse when there's little free space left, how much free space do you have on sda3 ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2010-10-13 22:43:56

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: (SOLVED)How do I repair the file system without damaging it?

1.1 percent is REALLY no big deal! Don't do anything, your file system is perfectly fine!

Offline

#4 2010-10-13 22:54:40

Thor@Flanders
Member
Registered: 2010-08-27
Posts: 266

Re: (SOLVED)How do I repair the file system without damaging it?

Hi,

Thanks lone wolf, a huge relief...
Ok, no sweat, I hope, this is what df -h gave me

Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  196K  9.9M   2% /dev
/dev/disk/by-uuid/f38d3d40-b25d-45a5-b21a-8cf371fb5a58
                      7.3G  5.2G  1.7G  76% /
shm                   752M  168K  751M   1% /dev/shm
/dev/sda4             222G   24G  187G  12% /home
/dev/sda1              99M   14M   80M  15% /boot

Just want to keep my "lady" healthy...that's all big_smile

Tnx
To you too Army, I love this machine and the Distro, so I want to keep the love affair alive as long as I can...

Thor
(Marking this as closed)

Last edited by Thor@Flanders (2010-10-13 23:04:46)

Offline

#5 2010-10-13 23:17:44

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: (SOLVED)How do I repair the file system without damaging it?

You should probably mark this as solved instead of closed. The forum moderators don't like it when you mark your own thread as closed.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

Board footer

Powered by FluxBB