Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] swaps mounted randomly
Date: Tue, 17 Mar 2020 12:43:02
Message-Id: ae27263c-9c70-41ec-0f46-e1c4d6dd5c76@web.de
In Reply to: [gentoo-user] swaps mounted randomly by n952162
1 There's new information on this, and new questions...
2
3 I discovered that not only are my swaps not mounted, but the other
4 filesystems listed in /etc/fstab aren't, either.
5
6 These are, apparently, mounted by the localmount RC service.
7
8 Its status is *started*.  But if I /restart/ it, then my fstab
9 filesystems get mounted.
10
11 Question: /etc/init.d/localhost says:
12
13 description="Mounts disks and swap according to /etc/fstab."
14
15 but I can't see where that script mounts swaps.  Is the description
16 obsolete?
17
18 Question 2: how can one see the output from the RC "e-trace" statements
19 (e.g. ebegin/eend)?
20
21 I don't find it in /var/log/*
22
23
24 On 2020-03-04 09:09, n952162 wrote:
25 > Hi,
26 >
27 > I have 3 swap devices and files.  At boot, it seems indeterminate
28 > which ones get "mounted" (as swap areas).
29 >
30 > Does anyone have an idea why they're not all mounted?
31 >
32 > Here are the swap lines from my fstab:
33 >
34 > #LABEL=swap        none        swap        sw        0 0
35 >
36 >  /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_xxxxxxxx-part1    none swap   
37 > sw,pri=10    0 0
38 >
39 > /swap    none    swap    sw,pri=5    0 0
40 >
41 > /lcl/WDC_WD20EFRX-68EUZN0_WD-yyyyyyyyyy/1/swap        none swap
42 > sw,pri=1    0 0
43 >

Replies

Subject Author
Re: [gentoo-user] swaps mounted randomly Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] swaps mounted randomly [RESOLVED] n952162 <n952162@×××.de>