Unix Technical Forum

fstab.

This is a discussion on fstab. within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> hello, Have a problem with fstab, if I'm mounting disk manually: mount /dev/sda1 /dysk all is ok.: # df ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 06:18 PM
Ignorance
 
Posts: n/a
Default fstab.

hello,

Have a problem with fstab, if I'm mounting disk manually:

mount /dev/sda1 /dysk

all is ok.:

# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 3789212 1563360 2030264 44% /
/dev/sda1 17639220 32828 16710372 1% /dysk


but if adding line to fstab:

/dev/sda1 /dysk ext3 default 0 0

as last line, it don't work. Line is ignoring, but why?
There is nothing in logs.

Greetz:
I.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 06:18 PM
Thomas Overgaard
 
Posts: n/a
Default Re: fstab.


ignorance@interia.pl wrote :

> /dev/sda1 /dysk ext3 default 0 0


You are missing the last "s" in "defaults"-------------^
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 06:18 PM
Ignorance
 
Posts: n/a
Default Re: fstab.



Thomas Overgaard wrote:
> ignorance@interia.pl wrote :
>
>
>>/dev/sda1 /dysk ext3 default 0 0

>
>
> You are missing the last "s" in "defaults"-------------^


Sorry, I deleted it in message, correct version of this line is:

/dev/sda1 /dysk ext3 defaults 0 0


I tryed also:

/dev/sda1 /dysk ext3 auto 0 0

But it dsn't work, problem is that I haven't nothing in logs. Is it
possible?

I.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 06:18 PM
Glyn Millington
 
Posts: n/a
Default Re: fstab.

Ignorance <ignorance@interia.pl> writes:

>
> /dev/sda1 /dysk ext3 default 0 0

^^^^^^^

"default" should be "defaults" - does that help?

atb


Glyn
--
RTFM http://www.tldp.org/index.html
GAFC http://slackbook.lizella.net/
STFW http://groups.google.com/groups?hl=e...inux.slackware
GAFL http://www.xemacs.org http://www.gnus.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 06:18 PM
Ignorance
 
Posts: n/a
Default Re: fstab.



Glyn Millington wrote:

> Ignorance <ignorance@interia.pl> writes:
>
>
>>/dev/sda1 /dysk ext3 default 0 0

>
> ^^^^^^^
>
> "default" should be "defaults" - does that help?
>
> atb
>
>
> Glyn

nope, I wrote it in previous mail in topic, but thanx.
I.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 06:18 PM
Wim
 
Posts: n/a
Default Re: fstab.

Ignorance wrote:
>
> but if adding line to fstab:
>
> /dev/sda1 /dysk ext3 default 0 0
>
> as last line, it don't work. Line is ignoring, but why?
> There is nothing in logs.


Does the directory /dysk exist?

BTW. the last 0 should probably be a 2, but that has nothing to do with
your problem.

Wim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 06:18 PM
Cichlidiot
 
Posts: n/a
Default Re: fstab.

Ignorance <ignorance@interia.pl> wrote:
> /dev/sda1 /dysk ext3 default 0 0


First off, is the disk type ext3? Basic question I know, but worth
pointing out. Also, I believe the first 0 should be a 1. Finally, have you
checked /var/log/dmesg and other log files in /var/log for any error
messages?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 06:19 PM
Ignorance
 
Posts: n/a
Default Re: fstab.

Wim napisał(a):
> Ignorance wrote:
>
>>but if adding line to fstab:
>>
>>/dev/sda1 /dysk ext3 default 0 0
>>
>>as last line, it don't work. Line is ignoring, but why?
>>There is nothing in logs.

>
>
> Does the directory /dysk exist?


Yes of coz.
I.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 06:19 PM
Ignorance
 
Posts: n/a
Default Re: fstab.

Cichlidiot napisał(a):

> Ignorance <ignorance@interia.pl> wrote:
>
>>/dev/sda1 /dysk ext3 default 0 0

>
>
> First off, is the disk type ext3? Basic question I know, but worth
> pointing out. Also, I believe the first 0 should be a 1. Finally, have you
> checked /var/log/dmesg and other log files in /var/log for any error
> messages?


No, so I'm asking, it should it be. (grep sda1 * in /var/log dir.)
I.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 06:19 PM
Ignorance
 
Posts: n/a
Default Re: fstab.

Ignorance napisał(a):
> Cichlidiot napisał(a):
>
>> Ignorance <ignorance@interia.pl> wrote:
>>
>>> /dev/sda1 /dysk ext3 default 0 0

>>
>>
>>
>> First off, is the disk type ext3? Basic question I know, but worth
>> pointing out. Also, I believe the first 0 should be a 1. Finally, have
>> you
>> checked /var/log/dmesg and other log files in /var/log for any error
>> messages?

>
>
> No, so I'm asking, it should it be. (grep sda1 * in /var/log dir.)


Forgott to add information that this is ext3 for sure. After manually
mounting info in /etc/mtab:

/dev/sda1 /dysk ext3 rw 0 0


I.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com