Operating System - HP-UX
1836588 Members
1358 Online
110102 Solutions
New Discussion

device file missing /dev/rdsk/...

 
SOLVED
Go to solution
John McWilliams_1
Frequent Advisor

device file missing /dev/rdsk/...

Hi All

The problem showed up while increasing a logical volume size. The error was "A device is missing from lvmtab"

All devices have 4 paths to an EMC DMX

device file /dev/dsk/c15t1d5 exists but the device file /dev/rdsk/c15t1d5 does NOT exist.

All other device files are OK

I was thinking insf -e would fix this. Can someone please confirm this.
To fix the lvm issue, I have a copy of lvmtab before the problem occured. A diff between this file and the current running file shows this 1 device missing. Can I just copy this previous file back over the existing and all will be OK ?

Thanks John

7 REPLIES 7
Hasan  Atasoy
Honored Contributor

Re: device file missing /dev/rdsk/...

hi john ;

1. insf -C disk
if not solved
2. find hw path of this disk by ioscan -funC disk and "rmsf -H hw_path" and insf -C disk.

Hasan.
Murat SULUHAN
Honored Contributor

Re: device file missing /dev/rdsk/...

Hi

After you delete with rmsh, you should run ioscan -fnC disk before insf -C disk

Best Regards
Murat
Murat Suluhan
erics_1
Honored Contributor
Solution

Re: device file missing /dev/rdsk/...

John,

Get the device file recreated and then move the original lvmtab back in place of the newer one. Run vgdisplay -v against the vg to confirm all PV's are present.

Regards,
Eric
Mridul Shrivastava
Honored Contributor

Re: device file missing /dev/rdsk/...

Only raw device file is missing to you can just recreate it using the mknod command and then copy over the old copy of lvmtab file.. this should fix up the issue.

Please make sure that you are using the correctã major and minor no... please refer the block special file for the same disk for details on major and minor no.
Time has a wonderful way of weeding out the trivial
John McWilliams_1
Frequent Advisor

Re: device file missing /dev/rdsk/...

Thanks all for the replies so far. I ran insf -e and this re-created the device file. After close of business today I will copy the old lvmtab file back and update here.
Thanks John
John McWilliams_1
Frequent Advisor

Re: device file missing /dev/rdsk/...

Thanks again everyone. I have now copied the old lvmtab file over the current one and checked all is ok again with the volume group.
John McWilliams_1
Frequent Advisor

Re: device file missing /dev/rdsk/...

insf -e recreated the device file
Copied the backup lvmtab into place.
All ok