From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CCA34138206 for ; Sun, 31 Dec 2017 16:28:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84BE8E0863; Sun, 31 Dec 2017 16:28:04 +0000 (UTC) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1ECB1E083B for ; Sun, 31 Dec 2017 16:28:03 +0000 (UTC) Received: by mail-pf0-x233.google.com with SMTP id j28so23956594pfk.8 for ; Sun, 31 Dec 2017 08:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=UsIm0777WjnZg+BLyePWXARPGcS7lZdegXZhqi32C34=; b=LgWe8I0puBD00iOPzIn7r9UNkWHBU4Wfb6AKplr5XEEPdzy0FzppPVAiMlMRl097l3 uYie8wk5tAWQZLmeU/4QF5pjY4c93ywaTCqYCniuCHlJgrNPlUtnKB2KUITR6tovF3lx WCouWz1t5zq3le2qLqe/Nw74AgwCP3tuKG/SLG48UBbcy69APCjlL5z9ty7KhPJg16PY ve4FLpuie/pMv8k6iz7ivNrwfBQpy67rK6GkJ+aF9h7evacjMsJmL07lN+jgl/0glVZK WoRYy5IGsVK9TLas1Y9sGlsDZEhyWKT9QmkNbMfCTXX14SGVGYnm5GOnNGpZDwKHPEqy ysTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UsIm0777WjnZg+BLyePWXARPGcS7lZdegXZhqi32C34=; b=UTOf2C4K+ppzmzQPh7YAjWarCsB8gg+9EEbvZ/Xiin6XIBXpXN2LdbDLbWnkIgBgBh KDRyR1e28wITsbXQyHngci0pos0kR7rNmAgRkRABz0CmCUb9LNaFQKR4a/+5BTisJz9a oeyYCfSbcvMbjTfZ6G17xjwddL5zZwNLFtzcJFG9PkTQ/jmz7bD200DU8bL+ragR+tOt f8Gco+ZQGFRjKU9AxpGsL5kHWZY/HxdFxoNzEinRPhRxoWrngOZ0WHKK0G4mycIr6/sp R3kyfbyhKG1LK1Nc3vcdNzyCeCxeB+20aeDBVdgpMDlMmaDe5flEgRpZC+DsKu58D+bz TJRA== X-Gm-Message-State: AKGB3mKuf9gByLWby2FPVpzYQTW9wcReyYsM77bEMw0fgqxrrlYyn/Ec g8nnO21vGBrFll5ozUcIbJMGQuF5 X-Google-Smtp-Source: ACJfBovwiEEzLkBmaIIYsekqlnXvKosg7o8DhYeTlGcUawsDP8lz4WKqq/0Vz6su5MoSNWCU6ZDg9w== X-Received: by 10.101.90.70 with SMTP id z6mr32286190pgs.109.1514737682734; Sun, 31 Dec 2017 08:28:02 -0800 (PST) Received: from [192.168.247.60] (d108-172-176-6.bchsia.telus.net. [108.172.176.6]) by smtp.gmail.com with ESMTPSA id h10sm7045769pgv.26.2017.12.31.08.28.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Dec 2017 08:28:01 -0800 (PST) Subject: Re: [gentoo-user] Troubleshooting mounting local filesystems To: gentoo-user@lists.gentoo.org References: From: Daniel Frey Message-ID: Date: Sun, 31 Dec 2017 08:28:01 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 67a64628-34d9-4681-b47d-008cd2764726 X-Archives-Hash: dd21267491978d6871de31c1d2aa7d77 On 12/30/17 19:32, Adam Carter wrote: > On Sun, Dec 31, 2017 at 2:22 PM, Daniel Frey > wrote: > > Some background: > > A little while back I had a drive drop out of my hardware RAID. I > don't think this has anything to do with the problem I'm having, but > I thought I should mention it. The RAID health is fine and I can see > there's not any delay in dmesg (the RAID array is detected as /dev/sdc). > > On startup, I share the RAID, and hence I mount it locally under > /mnt, then again under /nfs4exports. > > Note: I'm using openrc. > > For some reason, the entry under /mnt does not mount on startup. > There's no error or any indication of anything going wrong during > startup (nothing in dmesg or /var/log/messages regarding any sort of > mount trouble.) > > So what happens is nfs starts up but it's missing the one export. I > have to stop nfs, unmount the entry under /nfs4exports, unmount the > entry under /mnt, then mount /dev/sdc1 to /mnt, the mount the entry > under /nfs4exports. After this, everything is mounted properly and I > restart nfs. > > I looked at the /etc/init.d/localmount script and it's supposed to > spit out a message if something cannot mount but it does not report > any error. > > Is there any sort of logging I can enable to tell me exactly what's > happening? Other local filesystems (total of three) all mount fine. > > What does the fstab entry look like? > The fstab entry is just: /dev/sdc1 /mnt/raid ext4 noatime 0 0 The first thing I did was check localmount and it is in the boot runlevel (some snipped): # rc-update show boot .... localmount | boot .... Other filesystems mounted OK. It does list as started: # rc-status boot Runlevel: boot localmount [ started ] > Can you cut and paste the terminal session of the post boot fixes? What are you asking for here? Part of the problem is I restart this machine so infrequently I usually forget about the mounting problems until I try to access it remotely. Dan