Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-19-2004, 11:02 AM   #1
LQ Newbie
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
mount -r while fsck is running?

The subject pretty much sums it up: I have a 1.3TB ext3 filesystem which is undergoing an "fsck -y" and expect it to run for at least 3 days. The fsck process is finding lots of lost files that are being reconnected in lost+found. I don't want to stop the fsck since last time we did this it started back from scratch but I want to be able to have read access to the files on the system.

So my question is: can I mount the filesystem read-only while fsck is running? I know fsck does modify the filesystem as it runs, so will this screw things up with the ro mount? Will the OS even let us do that? Our system is RH8-based, kernel is 2.4.20-24.8bigmem, EXT2FS Library version 1.27.

TIA -- Alberto
Old 10-20-2004, 04:00 PM   #2
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Since you have gotton no replies, here's my best advice. At least, what I would do.

First off, I envied your 1.3TB drive until I heard of your 'issues' man, that must really suck ;-)

Anyhow, maybe it would be wise to break this drive up in to partitions.

Have the main parition (that has linux, and everything that goes with linux) on one partition.

Then, have a seperate parition (which is the bulk of the TB)

mount it as a second partition, then link to it with symbolic links


What on earth is on that system that is taking up 1.3TB of disk space?

Do you have a million user accounts (who's accounts are in the /home/) folder?

I'd try making a symbolic link...

for instance, if you have your big parition mounted under /mnt/bigass


rm /home
ln -s /mnt/bigass/home /home

That should, in theory, make all files from now on written to /home actually write to the "large" partition you created.

I don't know if you get paid enough to go through the trouble to do this, but it'd probably be the best way to do it.


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
How to fsck / while system running LinuxGeek Linux - Software 2 07-19-2005 10:43 AM
Running fsck clinton Linux - Software 2 01-25-2005 07:12 PM
fsck fails to mount filesystem GoatKing Linux - Software 6 01-26-2004 09:41 PM
What file contains auto-mount for fsck cbjhawks Linux - Software 1 09-18-2003 07:02 PM
running fsck rbrooks Linux - Newbie 1 05-16-2002 04:30 PM > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration