- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Re: VG / LV Help
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
09-18-2002 01:26 PM
09-18-2002 01:26 PM
From the new L2000 hpux 11i server, a vg01 is not able to be activated, but the lvol# are created and are in fstab. Startup is fine then.
pvdisply error is:
--------------------------
pvdisplay: Cannot display physical volume "/dev/dsk/c2t2d0".
--------------------------
/etc/fstab is: (omit /vg00)
-----------------------
/dev/vg01/lvol1 /disk1 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol2 /disk2 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg01/lvol3 /disk3 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
-------------------
I would like to know how to remove the LV and VG01 safely without damaging c2t2d0 physical drive. There are nothing in lv* for vg01 though.
Very appreciated if getting assistance here.
Steven
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 02:30 PM
09-18-2002 02:30 PM
SolutionExporting the volume group will not damage the drive in any way, but the previous contents will be lost. If your not worried about this, then you can proceed.
# vgexport /dev/vg01
To re-use the disk for another volume group, simply use the 'pvcreate' command.
# pvcreate -f /dev/rdsk/c2t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 08:18 PM
09-18-2002 08:18 PM
Re: VG / LV Help
You can either do it form the command line or the SAM .
command line
ensure that eithert the lvols are bacled up or not rquired
lvreduce /dev/vg01/lvolXX
then
pvreduce /dev/vg01 /dev/dsk/cxtydz where ther are more than one disk
and finally
vgexport /dev/vg01
after this you can do rmsf to remove the disk device file or do a pvcreate to include the disk in some other vg.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 11:23 PM
09-18-2002 11:23 PM
Re: VG / LV Help
to verify that the disk should be configured
then vgdisplay -v vg01
to see what is actually configured.
then ll /dev/vg01/lvol*
to see what lvols are/have been created
Only lvol1, 2, 3 are mounting - perhaps there's a forth lvol that's not.
(the ll will tell you, as will the vgdisplay)
The lvol4 (if exists) is possibly on the missing PV.
ioscan -fnkC disk to see if it shows up on the system.
If not, post up a full
ioscan -fnk
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 04:50 AM
09-19-2002 04:50 AM
Re: VG / LV Help
I am posting detail info for further diag. and inst.:
--------------------------
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/vg01
/dev/dsk/c4t0d1
/dev/dsk/c4t0d2
/dev/dsk/c4t0d3
/dev/dsk/c6t0d1
/dev/dsk/c6t0d2
/dev/dsk/c6t0d3
-----------------------------------------------------------------------------------
Very appreciated.
Steven
#vgdisplay -v vg01
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "vg01".
-----------------------------------------------------------------------------------
#ll /dev/vg01/lvol*
br--r----- 1 root sys 64 0x010001 Jun 20 15:47 /dev/vg01/lvol1
br--r----- 1 root sys 64 0x010002 Jun 20 15:47 /dev/vg01/lvol2
br--r----- 1 root sys 64 0x010003 Jun 20 15:47 /dev/vg01/lvol3
--------------------------------------------------------------------------------
#ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE FUJITSU MAJ3182MC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 6 0/7/0/0.8.0.108.0.0.0 sdisk CLAIMED DEVICE HP A6188A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 06:56 AM
09-19-2002 06:56 AM
Re: VG / LV Help
Check your 'etc/lvmrc' file. Make sure that:
AUTO_VG_ACTIVATE=1
If the variable is zero, this is your problem. Change it to one activate all volume groups by default at bootup. Read the commentary in this configuration file for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 07:30 AM
09-19-2002 07:30 AM
Re: VG / LV Help
AUTO_VG_ACTIVATE=1 is what I get on lvmrc file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 08:59 AM
09-19-2002 08:59 AM
Re: VG / LV Help
ie, either there's a scsi card failure, scsi id change, device powered off or vg was moved.
attach an
ioscan -fnk
to see if the c4 card shows at all.
Later,
Bill