Operating System - HP-UX
1753901 Members
9091 Online
108810 Solutions
New Discussion юеВ

Re: vg00 physical volume is my cdrom

 
kouadio
Occasional Advisor

vg00 physical volume is my cdrom

Hi expert,
I have install my system with a cdrom.
Now when I run vgdisplay -v vg00
I see that the physical volume of vg00 is /dev/disk/disk5_p2; and when I run ioscan -m dsf to map device file name I see that /dev/disk/disk5 correspond to c0t0d0. The problem is that when I run diskinfo c0t0d0 I see that this device is the cdrom. How can do to correct this problem
9 REPLIES 9
Torsten.
Acclaimed Contributor

Re: vg00 physical volume is my cdrom

Can you send the output of these commands?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pete Randall
Outstanding Contributor

Re: vg00 physical volume is my cdrom

Torsten - couldn't resist:

# these commands
sh: these: not found.


Pete

;^)

Pete
James R. Ferguson
Acclaimed Contributor

Re: vg00 physical volume is my cdrom

Hi:

> I see that the physical volume of vg00 is /dev/disk/disk5_p2; and when I run ioscan -m dsf to map device file name I see that /dev/disk/disk5 correspond to c0t0d0.

So what's wrong with that? On an 11.31 server of mine:

# ioscan -kfNnC disk
...
disk 5 64000/0xfa00/0x3 esdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/disk/disk5 /dev/rdisk/disk5

# ioscan -m dsf
...
/dev/rdisk/disk5 /dev/rdsk/c3t0d0


Regards!

...JRF...
kouadio
Occasional Advisor

Re: vg00 physical volume is my cdrom

Hi torsten,
vgdisplay -v vg00
...
...
...
-----Physical volume-----
PV Name /dev/disk/disk5_p2
PV status available
Total PE 4319
Free PE 2818
Autoswitch on
Proactive Polling On

ioscan -m dfs

Persistent DSF Legacy DSF
/dev/rdisk/disk5 /dev/rdsk/c0t0d0
/dev/rdisk/disk6 /dev/rdsk/c2t0d0
/dev/rdisk/disk6_p1 /dev/rdsk/c2t0d0s1
/dev/rdisk/disk6_p2 /dev/rdsk/c2t0d0s2
/dev/rdisk/disk6_p3 /dev/rdsk/c2t0d0s3
/dev/rdisk/disk7 /dev/rdsk/c2t1d0
/dev/rdisk/disk7_p1 /dev/rdsk/c2t1d0s1
/dev/rdisk/disk7_p2 /dev/rdsk/c2t1d0s2
/dev/rdisk/disk7_p3 /dev/rdsk/c2t1d0s3

diskinfo /dev/rdsk/c0t0d0
SCSI describe of /dev/rdsk/c0t0d0
Vendor: TEAC
Product ID: DV-28E-B
Type :CD-ROM
syze : 0 Kbyte
Byte per sector:0
James R. Ferguson
Acclaimed Contributor

Re: vg00 physical volume is my cdrom

Hi (again):

And, once again, what do you think is wrong here? What problem are you attempting to solve?

...JRF...
Patrick Wallek
Honored Contributor

Re: vg00 physical volume is my cdrom

Can you please post (attaching would be better) your full 'vgdisplay -v vg00' and the full 'ioscan' output.
kouadio
Occasional Advisor

Re: vg00 physical volume is my cdrom

hi,
the problem is that for me my physical volume in my vg00 volume group must be a SCSI disk not a CDROM, and when I try to use vgextend on vg00 I get this error:
Couldn't open physical volume "/dev/rdisk/disk5_p2"
Verification of unique LVM idon each diskin the volume group vg00 failed
Tingli
Esteemed Contributor

Re: vg00 physical volume is my cdrom

You can also show vgdisplay -v to find out whether those scsi disks have been put into Volume Group.
James R. Ferguson
Acclaimed Contributor

Re: vg00 physical volume is my cdrom

Hi (again):

> the problem is that for me my physical volume in my vg00 volume group must be a SCSI disk not a CDROM, and when I try to use vgextend on vg00 I get [an] error:

Post the exact command and command arguments you used, please. Guessing what your configuration looks like and/or guessing what arguments to commands you have supplied gets us no where fast.

Regards!

...JRF...