Re: Mounting root according to fstab the first time (fstab in initrd)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Im not sure why you would mask the remount service. He has the
space_cache option specified in his /etc/fstab. From what the mailing
list states (as Garmine put it), BTRFS is not mounted with this option
at boot by default and when the filesystem is remounted to rw, it will
not accept the space_cache parameter for some reason when it remounts.
I can't get to the mailing list right now to read the whole thing, the
site is blocked here at work.

Cheers from Colorado Springs by the way, I see you are in Boulder.

Devon

On Wed, Jan 20, 2016 at 1:18 PM, Leonid Isaev
<leonid.isaev@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, Jan 20, 2016 at 09:01:22PM +0100, Garmine 42 wrote:
>> There was a discussion on the linux-btrfs mailing list about this, and
>> for example the btrfs space_cache option can not be changed with a
>> remount - this causes the fstab file's space_cache option to be
>> basically ignored. I want to eliminate this kind of issue on my setup,
>> that's why I need to avoid root being remounted. Instead I want root
>> to be mounted with the options specified in fstab the first (and only)
>> time.
>
> Why is it ignored?
> /dev/sda4 on / type btrfs (ro,nodev,relatime,compress=zlib,ssd,space_cache,autodefrag,subvolid=257,subvol=/_root)
>                                                                ^^^^^^^^^^^
>
> Also, there is fstab in the initramfs:
> $ lsinitcpio /boot/initramfs-linux.img | grep fstab
> etc/fstab
>
> Have you tried masking the systemd-remount-fs.service?
>
> Cheers,
> --
> Leonid Isaev
> GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
>                   C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux