Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-20-2006, 11:01 AM   #1
LQ Newbie
Registered: Dec 2004
Location: Marietta, GA
Posts: 5

Rep: Reputation: 0
LVM: more than 405 LVs and they start disappearing

(I'm trying to assist a coworker at a different location, so my description may not be 100% accurate..) This on a SuSE 9.3 system with LVM2.
We need to create a system with about 450 logical volumes (application requires LVs). Because of an earlier problem with LVM and >64K metadata, we broke the config into two 'partitions' (actually, RAID logical drives, but don't worry about that) and created a Volume Group on each partition/Physical Volume. We have scripts that create the LV, one VG at a time. The first VG goes fine, with about 240 volumes created. The 2nd VG seems to go OK also, creating the 215 volumes. But, upon rebooting (or running vgscan -ay ) many of the LVs in the first VG have disappeared. They are not in /dev/vg1 and the entries are not in /dev/mapper. Other testing has indicated that the VGs are actually scanned in the 'reverse' order and it's the last VG scanned that gets 'truncated'. Looking at the mapper minor nmumbers, it looks like "something" happens at about LV 405. Any LVs after that do not get activated. We can manually activate them (lvchange) but then some other LVs disappear.
Anyone seen anything like this?? Any suggestions?
Old 01-20-2006, 11:57 AM   #2
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,285

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
It sounds like you're pretty familiar with LVM, so I hate to state something that is probably obvious, but I will anyway!

You *did* name each volume group uniquely, didn't you? They weren't BOTH named "vg1" by mistake?

I'm not too sure what you're meaning with this comment, so I'll ask:
Originally Posted by mhammock
We have scripts that create the LV, one VG at a time.
This almost implies to me that LV's contain VG's ... which is backwards. Maybe you just meant "create the LV's (plural), one VG at a time"? I'm not trying to imply lack of knowledge on your part, just looking for clarification. If you have something set up with 405 LV's you're WAY more advanced than I am with LVM. I basically use LVM with one LV per mountpoint, which generally equates to one LV per filesystem, but I do have a few exceptions. I have nowhere near 405 filesystems!!!
Old 01-20-2006, 12:42 PM   #3
LQ Newbie
Registered: Dec 2004
Location: Marietta, GA
Posts: 5

Original Poster
Rep: Reputation: 0
I welcome any ideas/suggestions.....

I asked my coworker to verify that all LV names are unique and he said "yes, they are". I may have him send me a copy of the scripts to make sure. From his other info, I can verify the two VGs are definitely uniquely named.
And speaking of the scripts.... yes, I should have made it clearer.. the scripts (one per VG) are creating lots of LVs (lvcreate) within each VG.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LVM problems (VGs found, but not LVs) jimisola Linux - Software 2 12-11-2005 12:59 PM
405 Method Not Allowed (PHP Problem) paul_dundee Programming 2 03-08-2005 08:07 AM
Power PC 405 kernel stack overflow jeff_fellin Linux - General 0 01-04-2005 02:39 PM
405 Method Not Allowed - Help 360 Linux - Networking 1 03-25-2002 07:22 AM
Http 405 Error? Ricardo77uk Linux - Networking 2 06-20-2001 02:53 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 PM.

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