Operating System - HP-UX
1847129 Members
5822 Online
110263 Solutions
New Discussion

Re: HELPHELP /dev/dsk and /dev/rdsk

 
SOLVED
Go to solution
Andrew medhurst1
Frequent Advisor

HELPHELP /dev/dsk and /dev/rdsk

guys big help needed.
i was running some maintenence and one of the scripts rm -r the /dev/dsk and /dev/rdsk directory will insf -e put them back or is there something something else i need to do i.e restore file.
all responses very very welcome.
haveing blonde day should have seen this as going to happen.
regards
andrew
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: HELPHELP /dev/dsk and /dev/rdsk

Hi Andrew,

Just running insf should take care of it. Do you have a listing of what was there before so you can compare results?


Pete

Pete
Andrew medhurst1
Frequent Advisor

Re: HELPHELP /dev/dsk and /dev/rdsk

thanks
i ran the insf -e and it worked but i don't have a listing of the file before removal apart from on backup but i will possible get it restored somewhere else to compare.
regards
andrew
Prashanth Waugh
Esteemed Contributor

Re: HELPHELP /dev/dsk and /dev/rdsk

Hi Andrew,

Pls check you have taken any backup of /etc/lvmtab. I think it will help to sort out the problem to some extent...

Regards
Atul
For success, attitude is equally as important as ability
Pete Randall
Outstanding Contributor
Solution

Re: HELPHELP /dev/dsk and /dev/rdsk

Andrew,

A quick check might be to run "vgdisplay -v" and compare all the physical volumes it shows with the device files you now have. As long as they are the same, you should not have any problems.


Pete

Pete
Deepak Kr
Respected Contributor

Re: HELPHELP /dev/dsk and /dev/rdsk

insf -e should work here. Do you have any previous system backup with you.

If yes, then you can restore these two directories from backup taken.

Also, if you have similar box in your setup then you can see that to compare.

"There is always some scope for improvement"
Mustafa Gulercan
Respected Contributor

Re: HELPHELP /dev/dsk and /dev/rdsk

hi;
and after insf -e;
don't forget to check /etc/lvmconf and vgdisplay -v for all physical volumes like cxtxdx.

regards,
mustafa
Mustafa Gulercan
Respected Contributor

Re: HELPHELP /dev/dsk and /dev/rdsk

sorry for mistake,i try to say lvmtab, not lvmconf;

#strings /etc/lvmtab
Andrew medhurst1
Frequent Advisor

Re: HELPHELP /dev/dsk and /dev/rdsk

files seem to be ok