- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- special files screw up
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
Forums
Discussions
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
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
03-25-2003 11:50 AM
03-25-2003 11:50 AM
special files screw up
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
A ioscan -fn shows:
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
Now, as I see it, I have 2 options. I can try to do "rmsf -H 0/0/2/0.2.0", followed by "insf -H 0/0/1/1.20;insf -H 0/0/2/0.2.0" or I can do a vgexport/vgimport of /dev/vg00. In the past, if I had problems with the vgexport/vgimport I lost all my data. So I am reluctant to do the export/import. Especially, I not sure of the validity of my backups.
Any suggestions?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:00 PM
03-25-2003 12:00 PM
Re: special files screw up
So all four disks were originally part of vg00? It looks like you have a problem with one of them. Can you do a diskinfo on /dev/rdsk/c3t2d0?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:06 PM
03-25-2003 12:06 PM
Re: special files screw up
diskinfo /dev/rdsk/c3t2d0
SCSI describe of /dev/rdsk/c3t2d0:
vendor: SEAGATE
product id: ST318404LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
ttfux015# diskinfo /dev/rdsk/c1t2d0
SCSI describe of /dev/rdsk/c1t2d0:
vendor: SEAGATE
product id: ST318404LC
type: direct access
size: 17783240 Kbytes
bytes per sector: 512
NOTE: Disk 0/0/1/1.2.0 does not have any /dev/dsk/c?t?d? special files assigned to it. It is suppose to look like:
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:09 PM
03-25-2003 12:09 PM
Re: special files screw up
Did you try vgcfgrestore on c3t2d0?. It's a matter of restoring vgID so that the system will recognize it back under vg00.
vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t2d0
vgchange -a y vg00
vgsync
lvlnboot -v
(other lvlnboot commands if needed)
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:12 PM
03-25-2003 12:12 PM
Re: special files screw up
OK, I was focusing on the "couldn't query physical volume " message. If it's a case of missing device files, why not try insf -e before you start removing any and see what that gives you?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:17 PM
03-25-2003 12:17 PM
Re: special files screw up
I see your point now.
You could do a rmsf on the device file itself instead of the path to be safe.
rmsf /dev/dsk/c3t2d0
rmsf /dev/rdsk/c3t2d0
insf -e
vgchange -a y vg00
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:17 PM
03-25-2003 12:17 PM
Re: special files screw up
/dev/dsk/c3t2d0 is suppose to be assigned to 0/0/1/1.2.0. It is assigned to 0/0/2/0.2.0, which already has /dev/dsk/c1t2d0 assigned. I don't see how the vgcfgrestore will fix the incorrect special file assignments.
I am leary of just trying things, I don't want to end up with an unbootable system.
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:22 PM
03-25-2003 12:22 PM
Re: special files screw up
I'm considering the hardware path instead of "rmsf /dev/dsk/c3t2d0" to wipe the slate clean and start over manually with the insf.
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:24 PM
03-25-2003 12:24 PM
Re: special files screw up
What are the minor numbers of these two device files?.
ll /dev/dsk/c1t2d0
ll /dev/dsk/c3t2d0
Once you get rid of c3t2d0 device file, and recreate (either by mknod or insf -e)then your ioscan may find it good.
"The specified path..." sentence looked very familiar and I missed to notice your ioscan abnormality.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:24 PM
03-25-2003 12:24 PM
Re: special files screw up
"Note that most drivers do not support the ability to be removed from
the system."
Is this true for the /dev/dsk/c?t?d? special files?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:29 PM
03-25-2003 12:29 PM
Re: special files screw up
brw-r----- 1 bin sys 31 0x012000 Apr 8 2001 c3t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 12:43 PM
03-25-2003 12:43 PM
Re: special files screw up
Another query that I missed. How are the instance numbers looking?.
ioscan -fnC ext_bus
If you see them as supposed to, then I would remove the device file for c3t2d0 and recreate it probably by hand with the correct instance number for 0/0/1/1 path since you have other non-standard device files. If 0/0/1/1 is not showing up the instance of 3, then it will be little more mess in which case you will have to change the instance or export/import the VG through LVM maintenance mode.
My feeling is that the device file somehow got mis-created. Recreating it may fix the problem provided the instances match the previous configuration.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:27 PM
03-25-2003 02:27 PM
Re: special files screw up
Everything appears OK for now.
Marty