LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-20-2006, 10:01 AM   #1
mhammock
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?
Thanks....
 
Old 01-20-2006, 10:57 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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:
Quote:
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, 11:42 AM   #3
mhammock
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:49 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