- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM error
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
Forums
Discussions
Discussions
Discussions
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
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-29-2003 05:06 AM
04-29-2003 05:06 AM
LVM error
when I execute vgdisplay -v /dev/vg_sv I see:
vgdisplay: Cannot open the control file "/dev/vg_sv/group":
No such device
vgdisplay: Cannot display volume group "vg_sv".
This is output of ll /dev/vg_sv
total 0
crw-rw-rw- 1 root sys 64 0x0e0000 Apr 29 10:01 group
brw-r----- 1 root sys 64 0x0e0001 Apr 29 10:06 lv_sv
brw-r----- 1 root sys 64 0x0e0002 Apr 29 10:08 lv_sv_app
crw-r----- 1 root sys 64 0x0e0001 Apr 29 10:06 rlv_sv
crw-r----- 1 root sys 64 0x0e0002 Apr 29 10:08 rlv_sv_app
Please help
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:13 AM
04-29-2003 05:13 AM
Re: LVM error
vgchange -a y /dev/vg
Is it/or was it part of any MC/SG package?
vgchange -c n /dev/vg
vgchange -a y /dev/vg
Just a quick thought to try,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:14 AM
04-29-2003 05:14 AM
Re: LVM error
Looks like corrupted lvmtab file
#mv /etc/lvmtab /etc/lbmtab.old
#vgscan -a -v
#vgdisplay -v /dev/vg_sv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:16 AM
04-29-2003 05:16 AM
Re: LVM error
by any chance lvmtab is corrupted.
1. vgchange -a y vgname.
2. mv /etc/lvmtab /etc/lvmtab.oriug.
3. vgscan -a -v -p (preview)
4. vgscan -a -v (recreate lvmtab)
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:18 AM
04-29-2003 05:18 AM
Re: LVM error
Verification of unique LVM disk id on each disk in the volume group
/dev/vg_sv failed.
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c6t2d0
/dev/dsk/c8t2d0
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c6t4d0
/dev/dsk/c8t4d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:21 AM
04-29-2003 05:21 AM
Re: LVM error
Your group file looks fine for that VG. Maybe you have a duplicate minor number for a group file on another VG? Try this:
ls -l /dev/*/group | sort -k6
and you should get a sorted list of all your group files. See if any have the same minor numbers.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:22 AM
04-29-2003 05:22 AM
Re: LVM error
What kind of storage do you have i..e is it an internal or external disk.
How many volume groups are there on this particular disk
device.
Are you able to mount the File systems with logical volumes on this vg_sv.
Thanks,
Lanke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:22 AM
04-29-2003 05:22 AM
Re: LVM error
# sysdef |grep maxvgs
Could it be that the maxvgs is set to low and this group 0x0e exceeds that value? 0x0e would be 15 (if I am counting correctly).
# ll /dev/vg* |grep group |wc -l
# ll /dev/vg*|grep group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:22 AM
04-29-2003 05:22 AM
Re: LVM error
you can vgimport if the activation doesn't work.
the vgscan can screw up all alternate path 'load balancing' that may have been configured. If you don't know what a pvlink is then the vgscan possibly won't screw this up, unless of course you didn't create the lvm conf!
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2003 05:33 AM
04-29-2003 05:33 AM
Re: LVM error
group files.
If you have the map file,
I would suggest you do the
vgexport and vgimport process
again to create vg_sv.
Thanks,
Lanke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 12:44 AM
04-30-2003 12:44 AM
Re: LVM error
a.) I assume your /dev/vg_sv
files are okay .
If not execute
mknod /dev/vg_sv/group c 64 0x0e0000
mknod /dev/vg_sv/lv_sv c 64 0x0e0001
mknod /dev/vg_sv/lv_sv_app c 64 0x0e0002
mknod /dev/vg_sv/rlv_sv c 64 0x0e0001
mknod /dev/vg_sv/rlv_sv_app c 64 0x0e0002
b.) Next do
vgdisplay /dev/vg_sv
If u get errors , then proceed to step c
b.) sam --> kernel configuration-->Configurable parameters
select "maxvgs" and set to 15
and modify Kernel .
System will automatically reboot
d.)Once system is up & running , then do
vgscan -v ( recreate -lvmtab )
e.) Now u can do
vgchange -a y /dev/vg_sv
f.)mount -a
This will mount your lvols .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 01:01 AM
04-30-2003 01:01 AM
Re: LVM error
I think this is the problem of having duplicate minor numbers for group files. run
ll /dev/*/group
this show group files for all VG's, check for any duplication and change it.
delete present group file and create a new one with different minor number
mknod /dev/vg_sv/group c 64 0x0006
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2003 01:18 AM
04-30-2003 01:18 AM
Re: LVM error
Using a unique group device will
not help at all because the physical volumes in "vg_sv" have PVRA & VGRA
areas which indicates the mapping
of 0x0e0000
rgds