Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] fstab vs localmount
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Gladdle
Apprentice
Apprentice


Joined: 27 Jul 2008
Posts: 268
Location: Cleebronn, Germany

PostPosted: Sun Feb 07, 2016 11:40 am    Post subject: [solved] fstab vs localmount Reply with quote

Derzeitig habe ich ein Problem mit "localmount" und einer USB Festplatte, die aber nicht immer vorhanden ist. Hier meine fstab:
Code:
UUID="0AEA828FEA8276A5"       /mnt/inthd-daten           ntfs-3g   auto,user,users,nls=utf8,gid=500,umask=000          0 0

Ich weiss, das das Problem in der option "auto" steckt, aber mit "noauto" wird die HDD nicht automatisch eingebunden. Wenn ich die Option "auto" lasse, die HDD aber nicht eingesteckt ist, kommen beim Booten folghende Fehler:
Code:
 * Mounting local filesystems ...
mount: UUID="0AEA828FEA8276A5" kann nicht gefunden werden
 * Some local filesysyems failed to start
 * ERROR: localmount failed to start
 * ERROR: cannot start $PROGRAMM as localmount would not start

$PROGRAMM ist nacheinander: xdm-setup dbus syslog-ng konsolekit xdm
Irgendwie stehe ich auf dem Schlauch, ich haette die HDD gerne gemountet sofern Sie eingesteckt ist. Hat jemand eine Idee? Oder wo liegt mein Denkfehler?
_________________
Meine Gentoo Linux Konfiguration: Notebook (ACER Aspire 9920G)


Last edited by Gladdle on Sat Feb 13, 2016 1:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gladdle
Apprentice
Apprentice


Joined: 27 Jul 2008
Posts: 268
Location: Cleebronn, Germany

PostPosted: Sat Feb 13, 2016 1:26 pm    Post subject: Reply with quote

Hier ist eine Mitteilung von gentoo.org:
Quote:
Title: OpenRC-0.18 localmount and netmount changes
Author: William Hubbs <williamh@gentoo.org>
Content-Type: text/plain
Posted: 2015-10-07
Revision: 1
News-Item-Format: 1.0
Display-If-Installed: <=sys-apps/openrc-0.18

The behaviour of localmount and netmount is changing on Linux systems.
In the past, these services always started successfully. However, now they
will fail if a file system they attempt to mount cannot be mounted.

If you have file systems listed in fstab which should not be mounted at
boot time, make sure to add noauto to the mount options. If you have
file systems that you want to attempt to mount at boot time but failure
should be allowed, add nofail to the mount options for these file
systems in fstab.


Sprich folgender Eintrag ("nofail") löst das Problem:
Code:
UUID="0AEA828FEA8276A5" /mnt/inthd-daten ntfs-3g auto,nofail,user,users,nls=utf8,gid=500,umask=000 0 0

_________________
Meine Gentoo Linux Konfiguration: Notebook (ACER Aspire 9920G)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum