Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-30 Thread Giorgos Keramidas
On 2004-11-30 10:31, Kevin Smith <[EMAIL PROTECTED]> wrote:
> Kris K. explained the problem earlier in the thread.
>
> The correct entry in your /etc/fstab should be somethig like bellow. I
> had a "2" in the 6th field (instead of "0" or leave it out); this causes
> the file system to be checked on bootup which fails with the ntfs file
> system. If you have this in your fstab, you should not need to mount it
> in your rc files. Mine mounts automatically with no problem with the
> following line:
>
> /dev/ad0s1 /windows ntfs ro 2 0

Hi Kevin,

Since the second from the last column is the "dump frequency" and I
wouldn't really expect anyone to take backups of NTFS volumes with
dump(8) and restore(8), you can safely use a second zero there too:

/dev/ad0s1 /windows ntfs ro 0 0

Regards,
Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-30 Thread Kevin Smith
Kris K. explained the problem earlier in the thread.
The correct entry in your /etc/fstab should be somethig like bellow. I 
had a "2" in the 6th field (instead of "0" or leave it out); this causes 
the file system to be checked on bootup which fails with the ntfs file 
system. If you have this in your fstab, you should not need to mount it 
in your rc files. Mine mounts automatically with no problem with the 
following line:

/dev/ad0s1 /windows ntfs ro 2 0
CHris Rich wrote:
On Fri, 26 Nov 2004 01:53:11 -0800, Kevin Smith <[EMAIL PROTECTED]> wrote:
 

I am able to mount my windows partition manually by either:
   

mount -t ntfs /dev/ad0s1 /windows
 

or by putting an entry in by /dev/fstab that looks like:
/dev/ad0s1 /windows  ntfs ro  2   2
and using command:
   

mount /windows
 

-however,
If I leave this entry in my /etc/fstab, the OS reports inconsistency
errors on bootup when it tries to mount and goes into single-user mode.
I then had to remount / for read-write and delete the line in the fstab
before it would boot again.
   

I put a script in /usr/local/etc/rc.d/ that mounts my windows partition for 
me
not sure if it is the best way to do it but it works for me
Regards
 

Am I using the wrong syntax for the fstab entry  ?- also, why does it
mount manually with no error - but complain at boot time ?
-K
   

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-30 Thread CHris Rich
On Fri, 26 Nov 2004 01:53:11 -0800, Kevin Smith <[EMAIL PROTECTED]> wrote:
> I am able to mount my windows partition manually by either:
> 
> > mount -t ntfs /dev/ad0s1 /windows
> 
> or by putting an entry in by /dev/fstab that looks like:
> 
> /dev/ad0s1 /windows  ntfs ro  2   2
> 
> and using command:
> 
> > mount /windows
> 
> -however,
> 
> If I leave this entry in my /etc/fstab, the OS reports inconsistency
> errors on bootup when it tries to mount and goes into single-user mode.
> I then had to remount / for read-write and delete the line in the fstab
> before it would boot again.

I put a script in /usr/local/etc/rc.d/ that mounts my windows partition for me
not sure if it is the best way to do it but it works for me

Regards

> 
> Am I using the wrong syntax for the fstab entry  ?- also, why does it
> mount manually with no error - but complain at boot time ?
> 
> -K
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kris Kennaway
On Fri, Nov 26, 2004 at 02:16:45AM -0800, Kevin Smith wrote:
> Yes, putting a "0" in the sixth field takes care of the problem and the 
> /windows file system is now mounted. thanks.
> 
> >P.S. It's usually helpful to transcribe the exact error, instead of
> >describing vague symptoms.
> 
> 
> 
> Yes,I agree. I was not able to retreive the exact error message from 
> dmesg on boot as I had rebooted again and lost that. If you can tell me 
> where I can get previous boot messages (dmesg.today didn have it 
> either), I will post the message for the benefit of others in case they 
> have this problem.

Thanks for the offer, although it may not be logged so you'd have to
have transcribed it by hand during boot (e.g. pause the display with
the pause key to give you time to copy it down, or use the scroll lock
and then page up back to it after the system has booted)

Kris


pgpNFDA1gMlYQ.pgp
Description: PGP signature


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kevin Smith
Yes, putting a "0" in the sixth field takes care of the problem and the 
/windows file system is now mounted. thanks.

P.S. It's usually helpful to transcribe the exact error, instead of
describing vague symptoms.

Yes,I agree. I was not able to retreive the exact error message from 
dmesg on boot as I had rebooted again and lost that. If you can tell me 
where I can get previous boot messages (dmesg.today didn have it 
either), I will post the message for the benefit of others in case they 
have this problem.

Thanks again.
-K
Kris Kennaway wrote:
On Fri, Nov 26, 2004 at 01:53:11AM -0800, Kevin Smith wrote:
 

I am able to mount my windows partition manually by either:
   

mount -t ntfs /dev/ad0s1 /windows
 

or by putting an entry in by /dev/fstab that looks like:
/dev/ad0s1 /windows  ntfs ro  2   2
and using command:
   

  ^^^ 

The sixth field, (fs_passno), is used by the fsck(8) program to determine
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 filesys-
tems 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 is zero, a value of zero is returned
and fsck(8) will assume that the filesystem does not need to be checked.
Since you don't want to run fsck on the ntfs volume, set this to zero.
 

If I leave this entry in my /etc/fstab, the OS reports inconsistency 
errors on bootup when it tries to mount and goes into single-user mode.  
I then had to remount / for read-write and delete the line in the fstab 
before it would boot again.
   

P.S. It's usually helpful to transcribe the exact error, instead of
describing vague symptoms.
Kris
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kris Kennaway
On Fri, Nov 26, 2004 at 01:53:11AM -0800, Kevin Smith wrote:
> I am able to mount my windows partition manually by either:
> 
> > mount -t ntfs /dev/ad0s1 /windows
> 
> or by putting an entry in by /dev/fstab that looks like:
> 
> /dev/ad0s1 /windows  ntfs ro  2   2
> 
> and using command:
   ^^^ 

 The sixth field, (fs_passno), is used by the fsck(8) program to determine
 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 filesys-
 tems 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 is zero, a value of zero is returned
 and fsck(8) will assume that the filesystem does not need to be checked.

Since you don't want to run fsck on the ntfs volume, set this to zero.

> If I leave this entry in my /etc/fstab, the OS reports inconsistency 
> errors on bootup when it tries to mount and goes into single-user mode.  
> I then had to remount / for read-write and delete the line in the fstab 
> before it would boot again.

P.S. It's usually helpful to transcribe the exact error, instead of
describing vague symptoms.

Kris


pgpuxfgXZStFZ.pgp
Description: PGP signature


mount ntfs (windows) file system in /etc/fstab fails at boot

2004-11-25 Thread Kevin Smith
I am able to mount my windows partition manually by either:
> mount -t ntfs /dev/ad0s1 /windows
or by putting an entry in by /dev/fstab that looks like:
/dev/ad0s1 /windows  ntfs ro  2   2
and using command:
> mount /windows
-however,
If I leave this entry in my /etc/fstab, the OS reports inconsistency 
errors on bootup when it tries to mount and goes into single-user mode.  
I then had to remount / for read-write and delete the line in the fstab 
before it would boot again.

Am I using the wrong syntax for the fstab entry  ?- also, why does it 
mount manually with no error - but complain at boot time ?

-K
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"