Something strange is happening in my attempts to write to fstab. I have added, for instance,
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2
then umounted the manual mount of /mnt/data and run
[root@david ~]# mount -a mount: mount point does not exist
However, the mount occurs and /mnt/data is readable in konqueror.
Clearly there is some sort of problem, but what?
Anne
Anne Wilson wrote:
Something strange is happening in my attempts to write to fstab. I have added, for instance,
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2
then umounted the manual mount of /mnt/data and run
[root@david ~]# mount -a mount: mount point does not exist
However, the mount occurs and /mnt/data is readable in konqueror.
Clearly there is some sort of problem, but what?
There appears to be two lines:
LABEL=/OldData
This line does not have enough fields and is the one mount complains about.
/dev/hdb9 /mnt/data ext3 users 1 2
This line has the right number of fields and hence works.
Paul.
On Wednesday 22 February 2006 10:56, Paul Howarth wrote:
Anne Wilson wrote:
Something strange is happening in my attempts to write to fstab. I have added, for instance,
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2
then umounted the manual mount of /mnt/data and run
[root@david ~]# mount -a mount: mount point does not exist
However, the mount occurs and /mnt/data is readable in konqueror.
Clearly there is some sort of problem, but what?
There appears to be two lines:
LABEL=/OldData
This line does not have enough fields and is the one mount complains about.
/dev/hdb9 /mnt/data ext3 users 1 2
This line has the right number of fields and hence works.
Hi, Paul. I copied from the existing entries, not realising that the display had split the lines. However, I not get
[mntent]: line 9 in /etc/fstab is bad [mntent]: line 10 in /etc/fstab is bad [mntent]: line 11 in /etc/fstab is bad [mntent]: line 12 in /etc/fstab is bad
These are my entries:
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2 LABEL=/home_july05 /dev/hdb7 /mnt/home_july05 ext3 users 1 2 LABEL=/mnt/home_dec05 /dev/hdb11 /mnt/home_dec05 ext3 users 1 2 LABEL=OldVideo /dev/hdb8 /mnt/video ext3 users 1 2
In each case KWrite is highlighting the final parameter. I know that these parameters concern checking, but I don't much much else, so again I copied from the existing /home line.
Advice, please?
Anne
Anne Wilson wrote:
On Wednesday 22 February 2006 10:56, Paul Howarth wrote:
Anne Wilson wrote:
Something strange is happening in my attempts to write to fstab. I have added, for instance,
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2
then umounted the manual mount of /mnt/data and run
[root@david ~]# mount -a mount: mount point does not exist
However, the mount occurs and /mnt/data is readable in konqueror.
Clearly there is some sort of problem, but what?
There appears to be two lines:
LABEL=/OldData
This line does not have enough fields and is the one mount complains about.
/dev/hdb9 /mnt/data ext3 users 1 2
This line has the right number of fields and hence works.
Hi, Paul. I copied from the existing entries, not realising that the display had split the lines. However, I not get
[mntent]: line 9 in /etc/fstab is bad [mntent]: line 10 in /etc/fstab is bad [mntent]: line 11 in /etc/fstab is bad [mntent]: line 12 in /etc/fstab is bad
These are my entries:
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2 LABEL=/home_july05 /dev/hdb7 /mnt/home_july05 ext3 users 1 2 LABEL=/mnt/home_dec05 /dev/hdb11 /mnt/home_dec05 ext3 users 1 2 LABEL=OldVideo /dev/hdb8 /mnt/video ext3 users 1 2
In each case KWrite is highlighting the final parameter. I know that these parameters concern checking, but I don't much much else, so again I copied from the existing /home line.
Advice, please?
The LABEL= syntax is an alternative to specifying the device/partition. So you'd use
LABEL=/OldData
*instead of*
/dev/hdb9
rather than in addition to it. The filesystem can be labelled using e2label. This syntax can help when actual device names are prone to changing (more often the case with SCSI drives than IDE ones).
You're probably better off just dispensing with the LABEL= field altogether in this case.
Paul.
On Wednesday 22 February 2006 11:18, Paul Howarth wrote:
Anne Wilson wrote:
On Wednesday 22 February 2006 10:56, Paul Howarth wrote:
Anne Wilson wrote:
Something strange is happening in my attempts to write to fstab. I have added, for instance,
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2
then umounted the manual mount of /mnt/data and run
[root@david ~]# mount -a mount: mount point does not exist
However, the mount occurs and /mnt/data is readable in konqueror.
Clearly there is some sort of problem, but what?
There appears to be two lines:
LABEL=/OldData
This line does not have enough fields and is the one mount complains about.
/dev/hdb9 /mnt/data ext3 users 1 2
This line has the right number of fields and hence works.
Hi, Paul. I copied from the existing entries, not realising that the display had split the lines. However, I not get
[mntent]: line 9 in /etc/fstab is bad [mntent]: line 10 in /etc/fstab is bad [mntent]: line 11 in /etc/fstab is bad [mntent]: line 12 in /etc/fstab is bad
These are my entries:
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2 LABEL=/home_july05 /dev/hdb7 /mnt/home_july05 ext3 users 1 2 LABEL=/mnt/home_dec05 /dev/hdb11 /mnt/home_dec05 ext3 users 1 2 LABEL=OldVideo /dev/hdb8 /mnt/video ext3 users 1 2
In each case KWrite is highlighting the final parameter. I know that these parameters concern checking, but I don't much much else, so again I copied from the existing /home line.
Advice, please?
The LABEL= syntax is an alternative to specifying the device/partition. So you'd use
LABEL=/OldData
*instead of*
/dev/hdb9
rather than in addition to it. The filesystem can be labelled using e2label. This syntax can help when actual device names are prone to changing (more often the case with SCSI drives than IDE ones).
You're probably better off just dispensing with the LABEL= field altogether in this case.
That seems to have fixed it, Paul. Thanks. Time for more reading ;-)
Anne
Anne Wilson wrote:
On Wednesday 22 February 2006 11:18, Paul Howarth wrote:
[snip]
rather than in addition to it. The filesystem can be labelled using e2label. This syntax can help when actual device names are prone to changing (more often the case with SCSI drives than IDE ones).
You're probably better off just dispensing with the LABEL= field altogether in this case.
That seems to have fixed it, Paul. Thanks. Time for more reading ;-)
May I suggest that part of your reading be
$ man fstab
?
:-)
Mike
On Wednesday 22 February 2006 17:41, Mike McCarty wrote:
May I suggest that part of your reading be
$ man fstab
?
:-)
Been there, done that, Mike :-) As so often happens, though, I only understand part of it. I've done more reading since then, and understand a bit more. Man pages are great for refreshing the memory on switches once you understand the principles, but often are not the best first read.
Anne
Anne Wilson wrote:
On Wednesday 22 February 2006 17:41, Mike McCarty wrote:
May I suggest that part of your reading be
$ man fstab
?
:-)
Been there, done that, Mike :-) As so often happens, though, I only understand part of it. I've done more reading since then, and understand a bit more. Man pages are great for refreshing the memory on switches once you understand the principles, but often are not the best first read.
I'll second that. Some of this stuff is just plain hard to find, too.
I've got a 600+ page book on Linux admin, and it only has 3 pages in it devoted to fstab. In its defense, I'll say that it has sections on "The Red Hat Way" and "The Debian Way", and has a fairly complete table of what can be used in the "options" column.
Mike
On Wed, 2006-02-22 at 18:16 +0000, Anne Wilson wrote:
As so often happens, though, I only understand part of it. I've done more reading since then, and understand a bit more. Man pages are great for refreshing the memory on switches once you understand the principles, but often are not the best first read.
Perhaps you should get one of those pocketbooks that they flog off with Linux discs with in newsagents? They used to have the basics involved in getting started with Linux, enough to install and start experimenting, sometimes with primers about how to use man files and commands (explaining the syntax of examples, etc).
On Thursday 23 February 2006 02:12, Tim wrote:
On Wed, 2006-02-22 at 18:16 +0000, Anne Wilson wrote:
As so often happens, though, I only understand part of it. I've done more reading since then, and understand a bit more. Man pages are great for refreshing the memory on switches once you understand the principles, but often are not the best first read.
Perhaps you should get one of those pocketbooks that they flog off with Linux discs with in newsagents? They used to have the basics involved in getting started with Linux, enough to install and start experimenting, sometimes with primers about how to use man files and commands (explaining the syntax of examples, etc).
Once again my problem stems from differences between distros. I would have expected fstab to be identical in form across all distros, but certainly Mandriva use a different format.
These are teething troubles for me. I am quickly coming to terms with changes and have achieved a lot in the last few weeks, since I came to FC4. Bear with my silly questions just a bit longer - they will soon stop.
Once again, thanks to all who have helped and are still helping me to migrate.
Anne
On Thu, 2006-02-23 at 10:32 +0000, Anne Wilson wrote:
and have achieved a lot in the last few weeks, since I came to FC4. Bear with my silly questions just a bit longer - they will soon stop.
I'm not saying "don't ask such questions," but those little books are quite cheap, and make a handy start-up guide. And you can hand them onto the next person you try to wean off Windows... ;-)
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2
Never gonna work Anne. You have too many fields. Either drop the "LABEL=/OldData" or the "/dev/hdb9". They both refer to the same type of thing, a disk partition.
{^_^}
----- Original Message ----- From: "Anne Wilson" cannewilson@tiscali.co.uk
On Wednesday 22 February 2006 21:52, jdow wrote:
LABEL=/OldData /dev/hdb9 /mnt/data ext3 users 1 2
Never gonna work Anne. You have too many fields. Either drop the "LABEL=/OldData" or the "/dev/hdb9". They both refer to the same type of thing, a disk partition.
Yes, a complete misunderstanding of the situation ;-) However, it's fixed now. Thanks for replying.
Anne