Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236529

Re: add disk to LVM

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: add disk to LVM
Date 2021-06-27 13:50 +0200
Message-ID <CuBsu-2M3-5@gated-at.bofh.it> (permalink)
References <CuzqF-1q4-5@gated-at.bofh.it> <CuzqF-1q4-7@gated-at.bofh.it> <CuzqF-1q4-3@gated-at.bofh.it> <CuBiN-2Iy-3@gated-at.bofh.it> <CuBiN-2Iy-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Du, 27 iun 21, 13:30:06, tomas@tuxteam.de wrote:
> On Sun, Jun 27, 2021 at 11:10:21AM +0100, mick crane wrote:
> 
> > and mount it on a directory at boot ?
> 
> Wait: this is orthogonal to the above. Usually, whatever you want
> mounted at boot is in /etc/fstab (or, perhaps, in some systemd
> unit files, although I'm more-than-hazy on this one). But this
> wouldn't make much sense with removable media, I guess.

While systemd does have .mount units, according to systemd.mount(5) the 
preferred approach is to use /etc/fstab.

For a removable drive make sure to add 'nofail' to the entry, otherwise 
the system won't boot if the drive is not present.


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: add disk to LVM <tomas@tuxteam.de> - 2021-06-27 11:40 +0200
  Re: add disk to LVM <tomas@tuxteam.de> - 2021-06-27 13:40 +0200
    Re: add disk to LVM Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-27 13:50 +0200

csiph-web