From unknown Fri Mar 29 15:01:23 2024 X-Loop: owner@bugs.devuan.org Subject: bug#332: CephFS in fstab Reply-To: Geoffray Levasseur , 332@bugs.devuan.org Resent-From: Geoffray Levasseur Resent-To: devuan-bugs@lists.dyne.org Resent-CC: owner@bugs.devuan.org Resent-Date: Tue, 11 Jun 2019 11:03:01 UTC Resent-Message-ID: Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: report 332 X-Devuan-PR-Package: ceph-fs-common X-Devuan-PR-Keywords: Received: via spool by submit@bugs.devuan.org id=B.156025020529274 (code B ref -1); Tue, 11 Jun 2019 11:03:01 UTC Received: (at submit) by bugs.devuan.org; 11 Jun 2019 10:50:05 +0000 Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Tue, 11 Jun 2019 12:50:05 +0200 (CEST) Received: from smtp-out1.legos.obs-mip.fr (smtp-out1.legos.obs-mip.fr [195.220.93.51]) by vm6.ganeti.dyne.org (Postfix) with ESMTP id 09A59F60EB8 for ; Tue, 11 Jun 2019 12:48:34 +0200 (CEST) Received: from smtp.legos.obs-mip.fr (smtp.legos.obs-mip.fr [10.6.101.60]) by smtp-out1.legos.obs-mip.fr (Postfix) with ESMTP id 70ECC9962 for ; Tue, 11 Jun 2019 12:48:33 +0200 (CEST) Received: from pc-levasseur.localnet (pc-levasseur.legos.obs-mip.fr [10.3.1.52]) by smtp.legos.obs-mip.fr (Postfix) with ESMTPS id 6C0A9449 for ; Tue, 11 Jun 2019 12:48:33 +0200 (CEST) From: Geoffray Levasseur To: submit@bugs.devuan.org Date: Tue, 11 Jun 2019 12:48:33 +0000 Message-ID: <2559382.rRp93VLO8l@pc-levasseur> Organization: LEGOS User-Agent: KMail/4.14.1 (Linux/4.9.0-0.bpo.6-amd64; KDE/4.14.2; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: ceph-fs-common Version: 10.2.11-2 Hi, I'm running CephFS filesystem on Proxmox servers. Virtual machines runs Devuan ASCII or Devuan Beowulf. Almost all the virtual machines will need access to a CephFS storage, and services like Apache or nsd will require access to CephFS to run. So I've put CephFS entry in fstab with an existing mount point not forgetting the _netdev option. Manual mount with "mount /mountpoint" works just perfectly. At start-up, the mount is not done and services that depends on it are failing to start. I had the same issue with GlusterFS. NFS in an other hand works perfectly, thanks to a dedicated script called (as far as I remember) nfs-mount in /etc/init.d. I think the nfs-mount startup script should be renamed net-mount and any _netdev optioned entry in fstab should be mounted by it. Elsewhere, other network filesystem should come with dedicated mount script or a sample script in documentation. Thank you, -- Geoffray Levasseur Technicien UPS - UMR CNRS 5566 / LEGOS - Service Informatique http://www.geoffray-levasseur.org/ GNU/PG public key : C89E D6C4 8BFC C9F2 EEFB 908C 89C2 CD4D CD9E 23AA Quod gratis asseritur gratis negatur. From unknown Fri Mar 29 15:01:23 2024 X-Loop: owner@bugs.devuan.org Subject: bug#332: CephFS in fstab Reply-To: Mark Hindley , 332@bugs.devuan.org Resent-From: Mark Hindley Resent-To: devuan-bugs@lists.dyne.org Resent-CC: devuan-dev@lists.dyne.org X-Loop: owner@bugs.devuan.org Resent-Date: Thu, 16 Feb 2023 15:40:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: followup 332 X-Devuan-PR-Package: ceph-fs-common X-Devuan-PR-Keywords: References: <2559382.rRp93VLO8l@pc-levasseur> <2559382.rRp93VLO8l@pc-levasseur> Received: via spool by 332-submit@bugs.devuan.org id=B332.167656194522642 (code B ref 332); Thu, 16 Feb 2023 15:40:02 +0000 Received: (at 332) by bugs.devuan.org; 16 Feb 2023 15:39:05 +0000 Delivered-To: bugs@devuan.org Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612] by doc.devuan.org with IMAP (fetchmail-6.4.16) for (single-drop); Thu, 16 Feb 2023 15:39:05 +0000 (UTC) Received: from email.devuan.org by email.devuan.org with LMTP id sP4oGBRO7mOPTwAAmSBk0A (envelope-from ) for ; Thu, 16 Feb 2023 15:39:00 +0000 Received: by email.devuan.org (Postfix, from userid 109) id 598ACA0; Thu, 16 Feb 2023 15:39:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver= Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86]) by email.devuan.org (Postfix) with ESMTPS id 0BEF723 for <332@bugs.devuan.org>; Thu, 16 Feb 2023 15:38:59 +0000 (UTC) Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk) by mx.hindley.org.uk with smtp (Exim 4.84_2) (envelope-from ) id 1pSgLa-0006Tz-8I; Thu, 16 Feb 2023 15:38:58 +0000 Received: (nullmailer pid 16804 invoked by uid 1000); Thu, 16 Feb 2023 15:38:58 -0000 Date: Thu, 16 Feb 2023 15:38:58 +0000 From: Mark Hindley To: Geoffray Levasseur , 332@bugs.devuan.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2559382.rRp93VLO8l@pc-levasseur> Control: tags -1 moreinfo Geoffray, Sorry for the slow response to this. On Tue, Jun 11, 2019 at 12:48:33PM +0000, Geoffray Levasseur wrote: > Package: ceph-fs-common > Version: 10.2.11-2 > > Hi, > > I'm running CephFS filesystem on Proxmox servers. Virtual machines runs Devuan > ASCII or Devuan Beowulf. Almost all the virtual machines will need access to a > CephFS storage, and services like Apache or nsd will require access to CephFS > to run. > > So I've put CephFS entry in fstab with an existing mount point not forgetting > the _netdev option. Manual mount with "mount /mountpoint" works just > perfectly. Please could you share the fstab entry you have? Thanks Mark