LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-09-2015, 12:02 AM   #1
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo~amd64, CentOS-7, Slackware64-current, FreeBSD-11.1, Arch
Posts: 229

Rep: Reputation: Disabled
eudev-3.1.1 breaks LVM snapshot mounting


I have spent some time on this and tested all permutations. My evaluation is that eudev-3.1.1 is the agency responsible for breaking the mounting of an LVM snapshot, to wit:

Code:
lvcreate --snapshot --name lfs3snap --size 8G vg01/lfs3
Logical volume "lfs3snap" created.

mount /dev/mapper/vg01-lfs3snap /mnt/other/
mount: /dev/mapper/vg01-lfs3-real is already mounted or /mnt/other busy
The mount error only occurs with eudev-3.1.1. Rolling back to the prior eudev-3.1 revision resolves the problem. I'm not sure how widely used LVM is in the LFS world but this is a heads up for those who may run across this.

Given that using the SVN branch of LFS/BLFS yields a rapidly moving target, it took quite some to isolate the possible software packages involved. For the record, LVM is 2.02.120 in use here, that's the latest.
 
Old 06-09-2015, 01:52 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You should be using the mounting scripts to load lvm drives and partitions, not udev. Can you manually mount lvms still?
 
Old 06-09-2015, 01:57 AM   #3
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo~amd64, CentOS-7, Slackware64-current, FreeBSD-11.1, Arch
Posts: 229

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
You should be using the mounting scripts to load lvm drives and partitions, not udev. Can you manually mount lvms still?
I mount only snapshots manually on an as-needed basis. All other (non-snapshot) LVM devices mount faultlessly regardless of the eudev version.
 
Old 06-09-2015, 02:07 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I wonder if it also is anything with lvm2? Is the dmeventd daemon working?
 
Old 06-09-2015, 02:16 AM   #5
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo~amd64, CentOS-7, Slackware64-current, FreeBSD-11.1, Arch
Posts: 229

Original Poster
Rep: Reputation: Disabled
Yep...dmeventd is up and running. To reiterate, the problem appeared only when 3.1.1 was installed. I've been using LVM since shortly after it came onto the landscape years ago. And my sole problem was with mounting a snapshot. Rolling back eudev by one-dot version was the remedy. All other aspects of my SVN/LFS/BLFS system are the very latest versions.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backupping with LVM snapshot tao_0077 Linux - Server 8 11-25-2012 10:43 AM
[SOLVED] what is a LVM snapshot? aceone Red Hat 6 05-22-2010 12:08 PM
LVM Snapshot eldo Linux - Server 2 11-20-2009 04:10 AM
lvm snapshot Ammad Linux - General 1 02-18-2009 07:03 AM
About LVM Snapshot geethusari LinuxQuestions.org Member Intro 1 12-03-2007 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration