- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- vgchange -- no volume groups found
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 07:02 AM
тАО04-28-2005 07:02 AM
I created the volume groups to create lvm, and then delete lvm(s) and volume groups. Now I received the "vgchange -- no volume groups found" message at system startup.
Remounting root filesystem in read-write mode: [ OK ]
Setting up Logical Volume Management: [ OK ]
vgchange -- no volume groups found
Activating swap partitions: [ OK ]
Finding module dependencies: [ OK ]
Setting up Logical Volume Management: [ OK ]
vgchange -- no volume groups found
What should I do .. so that this message doesnt come/appear
and Althoug i received the above mentioned message during system startup, but when I issue "dmesg |less", or "less /var/log/messages" i didnt find the "vgchange -- no volume groups found" .. why ?
Any Help will be highly appreciated.
Thanks n Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 08:43 AM
тАО04-28-2005 08:43 AM
Re: vgchange -- no volume groups found
Trying to do the vgchange before the system startup reecognizes that LVM is installed.
Move the vgchange process after the LVM start process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 10:09 AM
тАО04-28-2005 10:09 AM
Re: vgchange -- no volume groups found
get the name of the volume group and try this:
vgchange -a y /dev/vg01
or -n
It should work.
There may be a daemon running for lvm on Linux that must be running before any lvm commands run.
LVM is a features port, not a code port of HP-UX LVM. The later is a proprietary HP product and few ever see the source code.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 01:40 PM
тАО04-28-2005 01:40 PM
SolutionLVM is initlized about a 3rd of the way through of 'rc.sysinit'. There's a few lines which look like this:
# LVM initialization
if [ -f /etc/lvmtab ]; then
[ -e /proc/lvm ] || modprobe lvm-mod > /dev/null 2>&1
if [ -e /proc/lvm -a -x /sbin/vgchange ]; then
action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y
fi
fi
Simply put, if '/etc/lvmtab' exists, poke LVM stuff. Otherwise, don't. So, move '/etc/lvmtab' out of the way if you no longer have any LVM's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 02:15 PM
тАО04-28-2005 02:15 PM
Re: vgchange -- no volume groups found
Yes Dear Stuart Browne u r right this is a RHL system.
one thing still remain ... why 'dmesg' didnt show me the "vgchange -- no volume groups found" I mean all startup messeges could be check via dmesg command.. but why not this message ?
I m highly grateful to u all.
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2005 03:20 PM
тАО04-28-2005 03:20 PM
Re: vgchange -- no volume groups found
'dmesg' shows kernel logging messages, of which may or may not have a tty to show themselves on.
'vgchange' is a shell-level command which has stdout. This is why it doesn't show up in 'dmesg', because it executes in user-space, not at the kernel-level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2005 07:12 AM
тАО04-29-2005 07:12 AM
Re: vgchange -- no volume groups found
plz clear one more thing, the diff b/w the messeges in /var/log/boot.log and dmesg
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2005 11:48 AM
тАО04-29-2005 11:48 AM
Re: vgchange -- no volume groups found
From my '/etc/syslog.conf':
local7.* /var/log/boot.log
The messages are sent there from a command called 'initlog' (which has it's faculty set in '/etc/initlog.conf'), which gets called from '/etc/init.d/functions' by the startup routines.
On RH/Fedora machines, one of the the last things that gets done from '/etc/rc.d/rc.sysinit' is to dump the content of the 'dmesg' buffer to '/var/log/dmesg', so that the 'dmesg' output from the boot-cycle isn't lost over time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2005 04:41 PM
тАО04-29-2005 04:41 PM
Re: vgchange -- no volume groups found
i just wana know the "nature/type" or the diff b/w the "info" save in /var/log/dmesg, and /var/log/boot.log.
I mean which "type" of messages saved in /var/log/dmesg, and /var/log/boot.log
Thanks
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2005 05:43 PM
тАО04-29-2005 05:43 PM
Re: vgchange -- no volume groups found
Daemons, and other user-space launched binaries have the ability to log either directly to the filesystem, or open TTY's, or to 'syslog'. They can write to their own log files, spit stuff to STDOUT or STDERR, or use the syslog systems to log to a 'facility.level' (i.e. mail.info). Also note that 'syslogd' is a process which runs a long time after the kernel first starts up.
The kernel isn't so lucky. The kernel will display things even before there's a filesystems available, possibly before there's any TTY's of any kind, and much before any processes are launched. So the kernel's output gets logged to the 'dmesg' buffer.