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


Groups > linux.debian.kernel > #57426 > unrolled thread

Bug#845302:

Started byGerardo Malazdrewicz <gerardo@malazdrewicz.com.ar>
First post2017-04-03 02:00 +0200
Last post2017-04-03 13:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#845302:  Gerardo Malazdrewicz <gerardo@malazdrewicz.com.ar> - 2017-04-03 02:00 +0200
    Bug#845302:  Ben Hutchings <ben@decadent.org.uk> - 2017-04-03 13:40 +0200

#57426 — Bug#845302:

FromGerardo Malazdrewicz <gerardo@malazdrewicz.com.ar>
Date2017-04-03 02:00 +0200
SubjectBug#845302:
Message-ID<trXzz-7sc-5@gated-at.bofh.it>

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

Got bit by this in and old laptop.

Have LVM on it, with /usr in its own partitition, and /usr/lib in its own
partition.

Fixed by adding

dep_add_modules_mount /usr/lib

to hook_functions, and

if read_fstab_entry /usr/lib; then
        log_begin_msg "Mounting /usr/lib file system"
        mountfs /usr/lib
        log_end_msg
fi

to init.
But I'm afraid any update will throw that away.

Any idea on how to fix in a more permanent fashion?

Thanks,
      Gerardo

[toc] | [next] | [standalone]


#57431

FromBen Hutchings <ben@decadent.org.uk>
Date2017-04-03 13:40 +0200
Message-ID<ts8uZ-6fU-9@gated-at.bofh.it>
In reply to#57426

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

On Sun, 2017-04-02 at 20:49 -0300, Gerardo Malazdrewicz wrote:
> Got bit by this in and old laptop.
> 
> Have LVM on it, with /usr in its own partitition, and /usr/lib in its own
> partition.
> 
> Fixed by adding
> 
> dep_add_modules_mount /usr/lib
> 
> to hook_functions, and
> 
> if read_fstab_entry /usr/lib; then
>         log_begin_msg "Mounting /usr/lib file system"
>         mountfs /usr/lib
>         log_end_msg
> fi
> 
> to init.
> But I'm afraid any update will throw that away.
> 
> Any idea on how to fix in a more permanent fashion?

Combine the two partitions.  Given that you can use LVM to grow
partitions and to add temporary storage while moving data around, this
shouldn't be too painful.

Ben.

-- 
Ben Hutchings
Tomorrow will be cancelled due to lack of interest.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web