Re: partition is NOT CHECKED before mounting

2003-01-28 Thread Joris Huizer

--- Alvin Oga [EMAIL PROTECTED]
wrote:
 
 
 On Mon, 27 Jan 2003, Joris Huizer wrote:
 
  Hello everybody,
  
  I've got this question: I recently added a
 partition
  to the /etc/fstab file so it's mounted during boot
  time. I haven't done that before and I probably
 made a
  mistake somewhere.
  
  The partition is NOT checked before mounting - and
 I
  get warnings on that. This is the /dev/hdb3
 partition
  where /tmp lives.
  
  How can I make it being checked before mounting ?
 
 hit the reset switch ... :-) ( just kidding )
 
 root# init 1
 root# umount /tmp
 root# e2fsck /dev/hda3
 root# mount /tmp
 root# init 3
 
 umount each of your partitions to manually run
 e2fsck on it
 
 if the system complans that the partition is in use,
 
 easiest for you to just properly reboot and go into
 single user
 on its boot up...  and manually e2fsck it
   and/or create the  /forcefsck(?) flag before
 rebooting
 
 c ya
 alvin
 

Well the prob is, the error occurs each time (it seems
the partition is simple missing in the list of
partitions to check or something)

This is the warning:



Mounting local filesystems
EXT2-fs warning: mounting unchecked fs, running e2fsck
is recommented



How will doing this solve the prob ?? It happens
during each boot !

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: partition is NOT CHECKED before mounting

2003-01-28 Thread Joris Huizer
Wow... that was easy in the end :-)

Thanks for the pointer!

By the way, what exactly does the 2 in that row mean
(or the 1 for the root partition) ? 

--- Seneca [EMAIL PROTECTED] wrote:
 On Mon, Jan 27, 2003 at 01:52:14PM -0800, Joris
 Huizer wrote:
  I've got this question: I recently added a
 partition
  to the /etc/fstab file so it's mounted during boot
  time. I haven't done that before and I probably
 made a
  mistake somewhere.
  
  The partition is NOT checked before mounting - and
 I
  get warnings on that. This is the /dev/hdb3
 partition
  where /tmp lives.
  
  How can I make it being checked before mounting ?
 
 Make sure the sixth (last) field of its line in
 /etc/fstab is 2.
 
 -- 
 Seneca
 [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: partition is NOT CHECKED before mounting

2003-01-28 Thread Seneca
On Tue, Jan 28, 2003 at 01:23:27AM -0800, Joris Huizer wrote:
 Wow... that was easy in the end :-)
 
 Thanks for the pointer!
 
 By the way, what exactly does the 2 in that row mean
 (or the 1 for the root partition) ? 

Take a look at fstab(5).

 The sixth field, (fs_passno), is used by the fsck(8) program to  deter-
 mine the order in which filesystem checks are done at reboot time.  The
 root filesystem should be specified with a fs_passno of  1,  and  other
 filesystems  should  have a fs_passno of 2.  Filesystems within a drive
 will be checked sequentially, but filesystems on different drives  will
 be  checked  at  the  same time to utilize parallelism available in the
 hardware.  If the sixth field is not present or zero, a value  of  zero
 is  returned  and fsck will assume that the filesystem does not need to
 be checked.

-- 
Seneca
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: partition is NOT CHECKED before mounting

2003-01-27 Thread nate
Joris Huizer said:

 The partition is NOT checked before mounting - and I
 get warnings on that. This is the /dev/hdb3 partition
 where /tmp lives.

I'm not 100% sure what message your seeing but I think
I know which one it is. Try to go to single user mode('init 1')
and unmount /tmp and run fsck on it manually, then mount it
again, and go back to default runlevel(logout, or 'init 2') and
you should be set to go.

if that doesn't do it, paste exactly what messages you see and
perhaps someone can help further.

nate




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]