- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volume Groups won't stay active
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
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
тАО12-24-2003 03:03 AM
тАО12-24-2003 03:03 AM
Volume Groups won't stay active
mkdir /dev/vg##
mknod /dev/vg##/group c 64 0x??0000
vi mapfile - Edit the mapfile with logical volume names
vgimport -m mapfile -v /dev/vg## /dev/dsk/cXtXdX
vgchange -a y /dev/vg##
mkdir /mountpoint
mount -F vxfs /dev/vg##/lv_name /mountpoint
vgcfgbackup /dev/vg##
vi /etc/fstab - Edit fstab file to automount at reboot
The problem is, that every time I reboot the system I get the following error:
mountall: cannot mount /dev/vg05/lvol01
mountall: diagnostics from mount
mount - Cannot open /dev/vg05/lvol01: No such device or address
When I check, the vg's exist but are not "active". I can run the vgchange command to activate them, and use mount -a and they mount fine (after fsck).
I have used a similar process to upgrade another K370 and the disks mount fine on reboot. Did I miss something on this one?
Attached is /etc/fstab showing the vg's involved. The vg HDS_LU2.R0 is a FibreChannel attached disk array, vg03 and vg05 are SCSI attached local disks.
Thanks,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 03:08 AM
тАО12-24-2003 03:08 AM
Re: Volume Groups won't stay active
/dev/vg05/lvol_mars /u10 vxfs rw,suid,delaylog,datainlog 0 2
/dev/vg05/lvol_oracle /oracle vxfs rw,suid,delaylog,datainlog 0 2
/dev/vg05/lvol_baan /B4c3 vxfs rw,suid,delaylog,datainlog 0 2
/dev/vg05/lvol_baanDD /B4c3DD vxfs rw,suid,delaylog,datainlog 0 2
/dev/vg05/lvol_rmc /rmc vxfs rw,suid,delaylog,datainlog 0 2
Per the mount message:
Cannot open /dev/vg05/lvol01
Something went afoul during the import process using the mapfile.
If you know which LV's are which based on minor number, you could do a mv on the lvol0# files in /dev/vg05 or modify the fstab to match.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 03:09 AM
тАО12-24-2003 03:09 AM
Re: Volume Groups won't stay active
The error message listed is only a representation. I receive an error for each lv on a non-root vg.
Thanks,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 04:34 AM
тАО12-24-2003 04:34 AM
Re: Volume Groups won't stay active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 05:07 AM
тАО12-24-2003 05:07 AM
Re: Volume Groups won't stay active
I checked /etc/lvmrc and AUTO_VG_ACTIVATE = 1
I also checked the permissions on /etc/lvmrc to make sure it was readable.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 06:29 AM
тАО12-24-2003 06:29 AM
Re: Volume Groups won't stay active
Finally, try rebuilding the /etc/lvmtab file using vgscan.
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -av
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 06:34 AM
тАО12-24-2003 06:34 AM
Re: Volume Groups won't stay active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 07:07 AM
тАО12-24-2003 07:07 AM
Re: Volume Groups won't stay active
'til then... Happy Holidays to All!!
db