Partitions/volumes doesn't mounted at boot

Bug #435690 reported by Ervin Hegedüs on 2009-09-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Undecided
Unassigned

Bug Description

Description: Ubuntu karmic (development branch)
Release: 9.10 (alpha-6 up-to-date)

There are two chrooted environments: /srv/apache and /srv/mysql. I would like to mount the volume which already mounted /tmp to these environments, also as /tmp (/srv/apache/tmp and /srv/mysql/tmp).
Here is the relevant part of /etc/fstab:

UUID=22304730-ff6f-425e-91b6-ba27ca3d8f8e /tmp ext3 noexec,nodev,nosuid 0 2
UUID=22304730-ff6f-425e-91b6-ba27ca3d8f8e /srv/apachetmp ext3 noexec,nodev,nosuid 0 2
UUID=22304730-ff6f-425e-91b6-ba27ca3d8f8e /srv/mysql/tmp ext3 noexec,nodev,nosuid 0 2

When system is starting, it displays twice it wants to run fsck on a mounted partition. If I comment out two last lines, the problem has solved.

I've created two new volumes as tmp partitions for chrooted environments, now fstab looks like this:

/dev/vg00/mysqltmp /srv/mysql/tmp ext3 noexec,nodev,nosuid 0 2
/dev/vg00/apachetmp /srv/apache/tmp ext3 noexec,nodev,nosuid 0 2

Then the system is booting, there aren't any fsck or other FS error report, but volumes doesn't mounted after boot. If I log in and give the command:

# mount -a

these volumes has been mounted.

Workaround: I put a line to /etc/rc.local:

/bin/mount -a

Thanks:

a.

Gabe Gorelick (gabegorelick) wrote :

This looks like a duplicate of bug #431040. If it turns out this isn't a duplicate, then feel free to unmark.

Ervin Hegedüs (airween) wrote :

Hello,

may be this is a duplicated report of that, but I'm not sure - in more reports the affected filysystem type is tmpfs - but in my case there are ext3 FS on LVM or normal partition.

I can't award is this same bug or not.

Thanks:

a.

Gabe Gorelick (gabegorelick) wrote :

Yeah, sorry I got a little confused, I don't think it's a duplicate anymore. That bug has to do more with having a virtual filesystem mounted with non-virtual ones.

Can you post your entire fstabs for what works and what doesn't? Also, can you post the entire error messages?

Changed in ubuntu:
status: New → Incomplete
tags: added: ubuntu-boot
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers