Re: Help - I can't create device files.

From: Beardy (beardy_at_beardy.net)
Date: 10/28/03


Date: Tue, 28 Oct 2003 06:42:20 +0000

Dr. David Kirkby wrote:
> Tim Bradshaw wrote:
>
>>* David Kirkby wrote:
>>
>>
>>>Perhaps there is a conflict here. The file you said is saying the
>>>device files should be created as c5 and another file is saying c3, so
>>>they don't get created at all.
>>
>>I'd truss devfsadm (or whatever it calls) and try and work out what
>>it's doing, or not doing.
>>
>>Alternatively can't you just restore /dev and /devices from backup and
>>try and start afresh?
>>
>>--tim
>
>
> Thanks Tim,
> I tooke your advice and restored from a slightly older tape just
> /devices and /dev and all was okay!!!! I noticed that on the tape
> there were devices for /dev/dsk/c3* and /dev/dsk/c5*, although I'd
> noticed before. Anyway, I successfully mounted the file systems using
> the /dev/dsk/c3* devices files. However, when I run
>
> # devfsadm -Cvs
>
> it reported it wanted to remove the /dev/dsk/c3* files, which I was
> using. Fearing that this would happen if the system needed a boot -r
> at some time, I felt I needed to sort it out. Anyway, I unmounted the
> file systems, run devfsadm -C and it left me with only the
> /dev/dsk/c5* files. The file systems mounted okay using them. I've
> since done a boot -r and find the system is okay. So I will remain
> using the /dev/dsk/c5*. I can live with that.
>
> Anyway, its all okay now. Before retiring to bed I'll boot from CD and
> back up /, /usr and /var.
>
> Thanks for your advice. I'm glad that one is over!!!
>
> dave k

IMO its not "over", its just temporarily dormant; and will bite you on
the arse again just when you're not expecting it to... ;^}



Relevant Pages

  • Re: Help - I cant create device files.
    ... Tim Bradshaw wrote: ... I successfully mounted the file systems using ... Fearing that this would happen if the system needed a boot -r ... The file systems mounted okay using them. ...
    (comp.sys.sun.admin)
  • Re: Adding a new HDD - how do I move / everything ?
    ... Boot your old system with the new drive at hdb. ... Observe your old partition table with fdisk -l. ... Build file systems and a swap area on the new drive. ... Insert your Debian install CD and reboot. ...
    (Debian-User)
  • [opensuse] Co-existing in a dynamic network Howto?
    ... I have several computers running SuSE and use fstab to do a number of automounts of file systems that exist on other computers within our network. ... I use fstab to define what I want automounted, so as to be able to run some scripts that access available remote file systems during boot up. ... during boot up, if the automount process finds one computer that does not exist, it times out and seems to give up on mounting any of the rest of the computers in the list. ...
    (SuSE)
  • Re: AIX 5.2 -> 5.3 Migration
    ... To diagnose and fix these typical problems, you must boot from bootable media, run logform on /dev/hd8, and run fsck to fix any file systems that may be corrupted. ... If you are running the Andrew File System, use the following commands to find out whether you have more than one version of the v3fshelper file. ...
    (AIX-L)
  • recovering garbled boot message/which partition is giving me problems?
    ... On boot my screen reads: ... I believe I've checked all of the individual file systems, ... Matt Price ...
    (Ubuntu)