- 论坛徽章:
- 0
|
修改instance number对于安装系统和mc来说有一定作用。。再说因为曾经的case印象深刻。。
1. Extract a configuration template from the current ioscan output.
Execute the following command:
# ioscan -f | grep -e INTERFACE -e DEVICE | \
grep -v target | \
awk '{print $3, $1, $2}' > /infile
2. Edit /infile and change the ext_bus and lan instances as desired.
No class is allowed to get more than one line for the same instance!
3. Bring down the system gracefully to run level 1.
# init 1
4. Apply the ioconfig change:
# /sbin/ioinit -f /infile -r
The system will reboot immediately if the change is successful.
Warnings like 'Input is identical to kernel' can be ignored.
If unsuccessful, the most likely error to happen is:
"ioinit: Instance number X already exists for class XXX"
The problem is that your desired instance assignment conflicts with
an existing instance number.
5. Once the system reboots, verify that all the instance numbers
were changed as expected. It may be necessary to re-import volume
groups to ensure that /etc/lvmtab contains the correct
entries. The lan configuration may need to be changed also.
[ 本帖最后由 lu407 于 2006-6-2 01:18 编辑 ] |
|