Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#271366 - 02/12/2005 21:57 How long does it take to fsck an 80GB hard drive?
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
How long does it take to fsck an 80GB hard drive?

I am in the middle of manually fsck-ing my dual 80GB MK-IIA, and need to know if it is going to be done before I get off work.

Anyone?

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#271367 - 02/12/2005 22:02 Re: How long does it take to fsck an 80GB hard drive? [Re: tanstaafl.]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Moved from Off Topic. Because it's not.
_________________________
Bitt Faulk

Top
#271368 - 02/12/2005 23:09 Re: How long does it take to fsck an 80GB hard drive? [Re: tanstaafl.]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
How long does it take to fsck an 80GB hard drive?


Apparently there is no firm answer to this. It probably depends on how many files you have on each drive.

The first drive took about an hour to fsck. The second one took 20 minutes.

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#271369 - 03/12/2005 00:28 Re: How long does it take to fsck an 80GB hard drive? [Re: tanstaafl.]
jimhogan
carpal tunnel

Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
Quote:
The first drive took about an hour to fsck. The second one took 20 minutes.

It is entirely dependent on how fsck'd up your drives are.
_________________________
Jim


'Tis the exceptional fellow who lies awake at night thinking of his successes.

Top
#271370 - 03/12/2005 14:27 Re: How long does it take to fsck an 80GB hard drive? [Re: jimhogan]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Well, it certainly depends on how full they are. A full 80GB drive can take up to about an hour (from memory). This is improved if the drive is not completely full, if you have more memory / swap enabled and if there are no errors.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#271371 - 04/12/2005 22:08 Re: How long does it take to fsck an 80GB hard drive? [Re: tanstaafl.]
Mataglap
enthusiast

Registered: 11/06/2003
Posts: 384
Too long, unless you formatted with the spare superblock according to Roger's site.

I think it's between 10 and 20 minutes.

Also, since you've a dual drive, you should be able to run the fsck on each drive in parallel. Make sure fsck pass numbers are set up in /etc/fstab ( / = 1, and everything else = 2) and add a "-A" to your fsck, "fsck -faAy" fsck is smart enough to not check multiple partitions on the same drive simultaneously.

--Nathan


Edited by Mataglap (04/12/2005 22:17)

Top
#271372 - 04/12/2005 22:29 Re: How long does it take to fsck an 80GB hard drive? [Re: Mataglap]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Quote:
I think it's between 10 and 20 minutes.

Huh? My 3/4 full 60GB takes longer than that and I know it is good.

Top
#271373 - 05/12/2005 00:20 Re: How long does it take to fsck an 80GB hard drive? [Re: tman]
Mataglap
enthusiast

Registered: 11/06/2003
Posts: 384
Quote:
Quote:
I think it's between 10 and 20 minutes.

Huh? My 3/4 full 60GB takes longer than that and I know it is good.

Code:

mataglap:/empeg/bin# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15M 11M 4.4M 72% /
/dev/hda2 34M 19M 13M 59% /programs0
/dev/hdc2 15M 11M 4.4M 72% /programs1
/dev/hda4 74G 58G 16G 78% /drive0
/dev/hdc4 15M 11M 4.4M 72% /drive1
/dev/hdc5 15M 11M 4.4M 72% /root1
mataglap:/empeg/bin# ro
mataglap:/empeg/bin# rom
mataglap:/empeg/bin# umount /drive0
mataglap:/empeg/bin# cat /proc/mounts
/dev/root / ext2 ro 0 0
/dev/hda2 /programs0 ext2 ro 0 0
none /proc proc rw 0 0
mataglap:/empeg/bin# time fsck -fay /dev/hda4
Parallelizing fsck version 1.19 (13-Jul-2000)
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda4: 43863/610304 files (2.4% non-contiguous), 15265873/19510942 blocks

real 5m30.844s
user 0m40.230s
sys 0m30.470s
mataglap:/empeg/bin#



Don't know what to say. Did you format with the sparse superblock?

--Nathan

Top
#271374 - 05/12/2005 14:21 Re: How long does it take to fsck an 80GB hard drive? [Re: Mataglap]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Yeah, but your filesystem was unmounted cleanly. I don't know about Doug's or what situation Trevor was referring to.
_________________________
Bitt Faulk

Top
#271375 - 05/12/2005 20:58 Re: How long does it take to fsck an 80GB hard drive? [Re: wfaulk]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5549
Loc: Ajijic, Mexico
I don't know about Doug's or what situation Trevor was referring to.

My situation was caused by an emplode failure during re-synch (lost network connection) so it got corrupted while it was in RW mode.

The manual fsck (on each drive) and manual database rebuild fixed everything. SInce the first drive took about an hour, and the second one only 20 minutes, I suspect that both Bitt and Jim (Hogan) are correct -- the first disk is the primary and is nearly full; the second was added later and is perhaps 25% full. (just guessing -- since the first one was nearly full when I added the second, and I haven't deleted anything) Probably the corruption was on the first disk.

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top