LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-28-2017, 09:32 AM   #1
Bindairdundat
LQ Newbie
 
Registered: May 2014
Posts: 14

Rep: Reputation: Disabled
Unhappy WARNING: Ignoring duplicate config value: filter


Hi folks....

My RHEL server went sideways last friday... seems that the lv_home disappeared. I managed to get the server to boot to the point where services run again, but the logical volumes on this server are effed up. Running any LV command results in the subject error and no output.

[root@splk001 lock]# lvmdiskscan -d
WARNING: Ignoring duplicate config value: filter
0 disks
0 partitions
0 LVM physical volume whole disks
0 LVM physical volumes

but when I run df

[root@splk001 ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_splk001-lv_root 201585632 102552240 88793392 54% /
tmpfs 16425000 0 16425000 0% /dev/shm
/dev/sda2 495844 87751 382493 19% /boot
/dev/sda1 204580 264 204316 1% /boot/efi
/dev/mapper/3600<snip>6061ep1 10573620760 1372481432 8664030032 14% /opt/splunk/var/lib/splunk

the lv_root still exists.

to get my server to boot I had to comment out the home mount

/dev/mapper/vg_splk001-lv_root / ext4 defaults 1 1
UUID=72a70d0a-<snip> /boot ext4 defaults 1 2
UUID=B9C3-D00C /boot/efi vfat umask=0077,shortname=winnt 0 0
#/dev/mapper/vg_splk001-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_splk001-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/mapper/3600<snip>1ep1 /opt/splunk/var/lib/splunk ext4 defaults 1 1

Anyone have any ideas?

Last edited by Bindairdundat; 02-28-2017 at 09:34 AM.
 
Old 03-01-2017, 12:01 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Fail-over the server and back your data out.
From a command line type in lvmconfig --type current
Look for the keyword "filter" being entered twice or perhaps the same filter value being entered twice. Failing that, look for malformed filters
Quote:
WARNING: Ignoring duplicate config value: filter
You can also try lvmconfig --type diff to get a list of non-default values.
Take a look at the manual page (man lvm.conf)

Last edited by dijetlo; 03-01-2017 at 12:05 AM.
 
Old 03-01-2017, 10:03 AM   #3
Bindairdundat
LQ Newbie
 
Registered: May 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dijetlo View Post
Fail-over the server and back your data out.
From a command line type in lvmconfig --type current
Look for the keyword "filter" being entered twice or perhaps the same filter value being entered twice. Failing that, look for malformed filters
I wouldn't know a malformed filter if it slapped me across the face... I can paste the current here, but I don't wanna have anyone do a bunch of scrolling so I just added your second suggestion output below. I looked through it all and only see one "filters" section and it is below.

Quote:
You can also try lvmconfig --type diff to get a list of non-default values.
Take a look at the manual page (man lvm.conf)
devices {
obtain_device_list_from_udev=1
filter=["a|/dev/mapper/mpath*|","r|.*|"]
types=["device-mapper",253]
}
global {
thin_check_executable="/usr/sbin/thin_check"
thin_check_options="-q"
}


Now.. after reading the lvmconfig --type diff -withcomments command... I am looking at that filter and it seems to be rejecting all except the mpath devices... am I reading that right?
 
Old 03-01-2017, 04:46 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
I wouldn't know a malformed filter if it slapped me across the face
Just between you and me... I'd have to google the filter syntax.

Quote:
I am looking at that filter and it seems to be rejecting all except the mpath devices... am I reading that right?
It seems so based on your description of the issue. You could try
Quote:
filter = [ "a/.*/" ]
Which according to centOS is the same as no filter. Did you (or anybody else) make a change to the filters recently? That kind of thing doesn't normally go sideways on its own.
 
Old 03-16-2017, 02:52 PM   #5
Bindairdundat
LQ Newbie
 
Registered: May 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
what I eventually did was comment out the home mount... it allowed the server to boot up and work fine... this will do until such time as I move the services to a new environment...

thanks for the help.
 
  


Reply

Tags
dev, filter, home, logical volume



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
OpenSuSE on Pi ignoring /boot/config.txt lpwevers SUSE / openSUSE 2 02-22-2016 03:32 PM
warning: ignoring return value of ‘ssize_t write(... Error knobby67 Programming 7 11-01-2010 04:15 PM
[SOLVED] Nagios compiling warning: ignoring return value angel115 Linux - Software 2 09-29-2010 10:17 AM
Installpkg ignoring tar-1.13; throwing up warning while installing packages corbis_demon Slackware 2 09-07-2009 03:44 AM
Gtk-WARNING **: Ignoring the separator setting nagabioinfo Linux - Newbie 0 01-05-2008 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:57 PM.

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