vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Our Oracle DBA is doing some DR testing and has rm'd /dev/r**** which was the character special file (raw volume). The other, matching /dev/ entries are there, but that one is gone. Any way to recreate it? I've never had to create just the character file, usually a whole LV which makes it automagically. TIA. |
| |||
| John Hillman wrote: > Our Oracle DBA is doing some DR testing and has rm'd /dev/r**** which > was the character special file (raw volume). The other, matching /dev/ > entries are there, but that one is gone. Any way to recreate it? I've > never had to create just the character file, usually a whole LV which > makes it automagically I'd say you've shifted from doing DR testing to DR |
| |||
| John Hillman wrote: > Our Oracle DBA is doing some DR testing and has rm'd /dev/r**** which > was the character special file (raw volume). The other, matching /dev/ > entries are there, but that one is gone. Any way to recreate it? I've > never had to create just the character file, usually a whole LV which > makes it automagically. > So he just remvoe ONE entry and not executed /dev/r****. Solution Get the major and minor number of the device Example: ( /dev/rsuselv ) was deleted $ ls -l /dev/*suse* # crw-rw---- 1 root system 10, 20 Jul 06 15:28 /dev/rsuselv brw-rw---- 1 root system 10, 20 Aug 16 13:45 /dev/suselv Recreate device ( man mknod Name { b | c } Major Minor ) $ mknod /dev/rsuselv c 10 20 hth Hajo |
| |||
| "John Hillman" <john.hillman@gmail.com> writes: >Our Oracle DBA is doing some DR testing and has rm'd /dev/r**** which >was the character special file (raw volume). The other, matching /dev/ >entries are there, but that one is gone. Any way to recreate it? I've >never had to create just the character file, usually a whole LV which >makes it automagically. man mknod can help if you can find out the major and minor device numbers... -Mike |
| |||
| That command has saved my job twice! We were doing migrations....nuff said. --flossy jthomp1515@yahoo.com wrote: synclvodm vgname can be run live -- 0 downtime involved. |
| |||
| I'd say it's time to fire that DBA. John Hillman wrote: > Our Oracle DBA is doing some DR testing and has rm'd /dev/r**** which > was the character special file (raw volume). The other, matching /dev/ > entries are there, but that one is gone. Any way to recreate it? I've > never had to create just the character file, usually a whole LV which > makes it automagically. > > TIA. |
| ||||
| Dave wrote: > I'd say it's time to fire that DBA. > > > John Hillman wrote: > >>Our Oracle DBA is doing some DR testing and has rm'd /dev/r**** which >>was the character special file (raw volume). The other, matching /dev/ >>entries are there, but that one is gone. Any way to recreate it? I've >>never had to create just the character file, usually a whole LV which >>makes it automagically. >> >>TIA. > > I'd certainly hope that the DBA in question did this testing on a test box and didn't try it with a db that mattered. -- Coy Hile hile@cse.psu.edu |