Mount information during boot.

The following text appears several times whilst booting. Its relatively
new (for the last couple of months). Any idea what does it? as it
doesn't appear to be when the main filesystems are mounted. I am
running Debian SID.

Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .

--
Alan Chandler
http://www.chandlerfamily.org.uk

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Mount information during boot.

On Wed, Jan 31, 2007 at 06:58:56PM +0000, Alan Chandler wrote:
> The following text appears several times whilst booting. Its relatively
> new (for the last couple of months). Any idea what does it? as it
> doesn't appear to be when the main filesystems are mounted. I am
> running Debian SID.
[snipped mount usage info]

do you have some stuff in your fstab that is out of date?

A

Mount information during boot.

On Wednesday 31 January 2007 19:12, Andrew Sackville-West wrote:
> On Wed, Jan 31, 2007 at 06:58:56PM +0000, Alan Chandler wrote:
> > The following text appears several times whilst booting. Its
> > relatively new (for the last couple of months). Any idea what does
> > it? as it doesn't appear to be when the main filesystems are
> > mounted. I am running Debian SID.
>
> [snipped mount usage info]
>
> do you have some stuff in your fstab that is out of date?
like what? only comments and filesystems that I want mounted - see
below

# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/md1 / reiserfs defaults 0 0
/dev/sda2 none swap sw 0 0
/dev/sdb2 none swap sw 0 0
/dev/md0 /boot ext2 defaults 0 2
/dev/raid/cache /var/cache reiserfs defaults 0 0
/dev/raid/ooffice /usr/lib/openoffice reiserfs defaults 0 0
/dev/raid/oclip /usr/share/openclipart reiserfs defaults 0 0
/dev/raid/src /usr/src reiserfs defaults 0 0
/dev/raid/alan /home/alan reiserfs defaults 0 0
/dev/raid/mydocs /home/alan/mydocs reiserfs defaults 0 0
/dev/raid/devel /home/alan/dev reiserfs defaults 0 0
/dev/raid/audio /home/alan/audio jfs defaults 0 3
/dev/raid/images /home/alan/images jfs defaults 0 3
/dev/raid/nobak /home/alan/nobak jfs defaults 0 3
/dev/raid/arch /bak/archive reiserfs defaults 0 0
/dev/raid/roo /bak/roo jfs defaults 0 2
/dev/raid/imap /bak/imap reiserfs defaults 0 0
# removed because hal will autoload if not here
#/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0
0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
#/dev/flash /media/flash vfat rw,user,noauto 0 0
#/dev/camera /media/camera vfat rw,user,noauto 0 0
#/dev/audioplayer /media/audioplayer vfat rw,user,noauto 0 0

--
Alan Chandler
http://www.chandlerfamily.org.uk

--

Mount information during boot.

On Wed, Jan 31, 2007 at 07:52:59PM +0000, Alan Chandler wrote:
> On Wednesday 31 January 2007 19:12, Andrew Sackville-West wrote:
> > On Wed, Jan 31, 2007 at 06:58:56PM +0000, Alan Chandler wrote:
> > > The following text appears several times whilst booting. Its
> > > relatively new (for the last couple of months). Any idea what does
> > > it? as it doesn't appear to be when the main filesystems are
> > > mounted. I am running Debian SID.
> >
> > [snipped mount usage info]
> >
> > do you have some stuff in your fstab that is out of date?
> like what? only comments and filesystems that I want mounted - see
> below

[snipped perfectly good fstab]

just a stab in the dark. shrug. what point in booting does this
happen? is it before or after pivot-root?

A

Mount information during boot.

On Wednesday 31 January 2007 20:40, Andrew Sackville-West wrote:
> On Wed, Jan 31, 2007 at 07:52:59PM +0000, Alan Chandler wrote:
> > On Wednesday 31 January 2007 19:12, Andrew Sackville-West wrote:
> > > On Wed, Jan 31, 2007 at 06:58:56PM +0000, Alan Chandler wrote:
> > > > The following text appears several times whilst booting. Its
> > > > relatively new (for the last couple of months). Any idea what
> > > > does it? as it doesn't appear to be when the main filesystems
> > > > are mounted. I am running Debian SID.
> > >
> > > [snipped mount usage info]
> > >
> > > do you have some stuff in your fstab that is out of date?
> >
> > like what? only comments and filesystems that I want mounted - see
> > below
>
> [snipped perfectly good fstab]
>
> just a stab in the dark. shrug. what point in booting does this
> happen? is it before or after pivot-root?

Its afterwards.

The first record I have is just after the hardware clock is set

Wed Jan 31 18:52:45 2007: Will now activate swap.
Wed Jan 31 18:52:45 2007: swapon on /dev/sda2
Wed Jan 31 18:52:45 2007: swapon on /dev/sdb2
Wed Jan 31 18:52:45 2007: Done activating swap.
Wed Jan 31 18:52:45 2007: /etc/rcS.d/S10checkroot.sh: line
379: /etc/init.d/mountvirtfs: No such file or directory
Wed Jan 31 18:52:45 2007: Setting the system clock..
Wed Jan 31 18:52:47 2007: System Clock set. Local time: Wed Jan 31
18:52:47 GMT 2007.
Wed Jan 31 18:52:47 2007: Usage: mount -V : print
version
Wed Jan 31 18:52:47 2007: mount -h : print this
help
Wed Jan 31 18:52:47 2007: mount : list mounted
filesystems
Wed Jan 31 18:52:47 2007: mount -l : idem,
including volume labels
...

Then later some sort of cleanup

Wed Jan 31 18:52:55 2007: Cleaning /tmp...done.
Wed Jan 31 18:52:56 2007: Cleaning /var/run...done.
Wed Jan 31 18:52:56 2007: Cleaning /var/lock...done.
Wed Jan 31 18:52:56 2007: Usage: mount -V : print
version
...

--
Alan Chandler
http://www.chandlerfamily.org.uk

--

Mount information during boot.

On Wed, Jan 31, 2007 at 09:40:44PM +0000, Alan Chandler wrote:
> On Wednesday 31 January 2007 20:40, Andrew Sackville-West wrote:
> > On Wed, Jan 31, 2007 at 07:52:59PM +0000, Alan Chandler wrote:
> > > On Wednesday 31 January 2007 19:12, Andrew Sackville-West wrote:
> > > > On Wed, Jan 31, 2007 at 06:58:56PM +0000, Alan Chandler wrote:
> > > > > The following text appears several times whilst booting. Its
> > > > > relatively new (for the last couple of months). Any idea what
> > > > > does it? as it doesn't appear to be when the main filesystems
> > > > > are mounted. I am running Debian SID.
> > > >
> > > > [snipped mount usage info]
> > > >
> > > > do you have some stuff in your fstab that is out of date?
> > >
> > > like what? only comments and filesystems that I want mounted - see
> > > below
> >
> > [snipped perfectly good fstab]
> >
> > just a stab in the dark. shrug. what point in booting does this
> > happen? is it before or after pivot-root?
>
> Its afterwards.
>
> The first record I have is just after the hardware clock is set
>
> Wed Jan 31 18:52:45 2007: Will now activate swap.
> Wed Jan 31 18:52:45 2007: swapon on /dev/sda2
> Wed Jan 31 18:52:45 2007: swapon on /dev/sdb2
> Wed Jan 31 18:52:45 2007: Done activating swap.
> Wed Jan 31 18:52:45 2007: /etc/rcS.d/S10checkroot.sh: line
> 379: /etc/init.d/mountvirtfs: No such file or directory

I wonder if this is where the problem starts, I suspect the system
clock setting below is concurrent with S10checkroot.sh.

I took a look at that script and there is a bunch of mount stuff going
on in there. The specific line reference (379) is just a call to the
do_start subroutine, so that's not much help. But I'm guessing the
problem is in there some where. You've got something in that script
that is calling mount incorrectly resulting in it producing the usage
text instead of doing anything useful.

> Wed Jan 31 18:52:45 2007: Setting the system clock..
> Wed Jan 31 18:52:47 2007: System Clock set. Local time: Wed Jan 31
> 18:52:47 GMT 2007.
> Wed Jan 31 18:52:47 2007: Usage: mount -V : print
> version
> Wed Jan 31 18:52:47 2007: mount -h : print this
> help
> Wed Jan 31 18:52:47 2007: mount : list mounted
> filesystems
> Wed Jan 31 18:52:47 2007: mount -l : idem,
> including volume labels
> ...

above is likely caused by a bad mount call in S10checkroot.sh

>
>
> Then later some sort of cleanup
>
> Wed Jan 31 18:52:55 2007: Cleaning /tmp...done.
> Wed Jan 31 18:52:56 2007: Cleaning /var/run...done.
> Wed Jan 31 18:52:56 2007: Cleaning /var/lock...done.
> Wed Jan 31 18:52:56 2007: Usage: mount -V : print
> version
> ...
>

either this is s10checkroot.sh still hanging around doing stuff, or
its another boot script having the same issue. I looked at
S36mountall-bootclean.sh and all it does is call /etc/init.d/bootclean
and that doesn't seem to have a mount at all so I doubt its
that. Though, that is what is going on on the first three lines there.

hth

A

Syndicate content