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


Groups > linux.debian.user > #202675

Re: Mounting LVM logical volumes in break=premount

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Mounting LVM logical volumes in break=premount
Date 2018-11-21 23:20 +0100
Message-ID <wWJ0J-3Fo-1@gated-at.bofh.it> (permalink)
References <wWwmR-44i-7@gated-at.bofh.it> <wWwmR-44i-5@gated-at.bofh.it> <wWGvU-20E-3@gated-at.bofh.it> <wWI4F-34H-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 21/11/2018 à 22:09, Sophie Loewenthal a écrit :
> 
>>> but when I ran ,
>>> % mount /dev/mapper/vg0-root /tmp/a
>>> I recall a message stating the fs count not be mounted because of
>> wrong file system type.
>>
>> 1) Make sure the LV is activated, e.g. with vgchange -ay
>> 2) The mount command in the initramfs may require to specify the
>> filesystem type explicitly with -t.
> 
> Hi Pascal,
> Thanks. I must have been alseep and missed the -t ext4 . makes sence hevause there is no fstab available for it to look up the fs type.

AFAIK mount does not look up fstab when both the device and the mount 
point are specified. The initramfs uses a different mount command (from 
klibc-utils) from the regular mount (from util-linux). Util-linux mount 
auto-detects the filesystem type when missing, klibc-utils mount does not.

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


Thread

Mounting LVM logical volumes in break=premount Sophie Loewenthal <sophie@klunky.co.uk> - 2018-11-21 09:50 +0100
  Re: Mounting LVM logical volumes in break=premount Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-21 20:40 +0100
    Re: Mounting LVM logical volumes in break=premount Sophie Loewenthal <sophie@klunky.co.uk> - 2018-11-21 22:20 +0100
      Re: Mounting LVM logical volumes in break=premount Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-21 23:20 +0100

csiph-web