1835218 Members
2345 Online
110078 Solutions
New Discussion

ioconfig replaced

 
FTSE SysAdmin
Frequent Advisor

ioconfig replaced

In a process of server recovery from CD (cold install).

By mistake I've replaced the new ioconfig with the one restored from backup

Would you know a way to invert the ioconfig? Or fix the current one? Thanks

Miguel Ribeiro
1 REPLY 1
Florian Heigl (new acc)
Honored Contributor

Re: ioconfig replaced

boot to single user mode and issue ioinit -c

Quote the ioinit manpage:
If /etc/ioconfig is corrupted or missing when the system reboots,
ioinitrc brings the system up in single-user mode. The user should
then restore /etc/ioconfig from backup or invoke the ioinit with the
-c option to recreate /etc/ioconfig from the kernel.

If the -f option is given, ioinit reassigns instance numbers to
existing devices within a given class based on infile. Reassignment
takes effect when the system reboots. If ioinit finds no errors
associated with the reassignment, and the -r option is given, the
system is rebooted. (See the WARNINGS section.)



and please, start doing Your recovers a bit more carefully ;)
yesterday I stood at the edge. Today I'm one step ahead.