Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Systemd + LVM2: volumes not mounted
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
uhai
l33t
l33t


Joined: 23 Aug 2007
Posts: 970
Location: Eppingen, Germany

PostPosted: Wed Sep 11, 2013 8:50 pm    Post subject: Reply with quote

Same problem here...

lvm2-2.02.99-r2 seemde not to be in portage. Where can I get it?

uhai
_________________
Asus 4A785TD-M EVO mit AMD Phenom(tm) II X4 945
Dell Mini 10v
http://www.openstreetmap.org
Back to top
View user's profile Send private message
yarjie
n00b
n00b


Joined: 20 Dec 2013
Posts: 25

PostPosted: Sat Dec 28, 2013 9:28 am    Post subject: Reply with quote

After migratong from OpenRC to Systemd also encountered this problem now, although have already =sys-fs/lvm2-2.02.103 installed.

What configuration to lvm & systemd is needed to have all lvm logical volumes accessible for mounting not just root but also /home /tmp and so on?

Only is mounted what initram mounts (in init script):
Code:

mount -o ro /dev/mapper/svg-ROOT   /mnt/root


because after switch_root and trying to start the Systemd system
all items /dev/mapper/svg-* disappear somewhere (so no "mount -a" can succeed),
has anybody any idea where /dev/mapper/svg-* flee?
Back to top
View user's profile Send private message
unixbhaskar
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2007
Posts: 87
Location: India

PostPosted: Wed Feb 03, 2016 9:47 am    Post subject: stuck at it not able to see any light Reply with quote

yep it bugging me for the same reason.

My fs tab look like below :

Code:

cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda7     /       xfs  defaults         0  0
/dev/mapper/vghome-lvhome    /home    xfs  defaults   0 0
#UUID=b9771411-69c0-44b9-bd26-2e2ad81d8c43  /home     xfs    defaults  0 0


And while booting systemd "timed out" on the lvm...irk....pls shed some light
_________________
Musing with GNU/Linux :)

Lenovo Thinkpad x250
x86_64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz GenuineIntel GNU/Linux
RAM : 8 GB
Kernel :Linux GentooLinux 4.1.15-gentoo-r1
OS: Gentoo/Arch/Slackware/Debian/openSUSE/Fedora
Intel 965GM Chipset
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum