On Jan 9, 2007, at 1:09 AM, mark ryden wrote:
Thanks.
Log in as root and run the following command:
The thing is that it hangs ; it does not read the shell prompt or
start the xwindows.
This is why I asked about failsafe mode. Sorry that I forgot to
mention it before.
It sounds like there's a single target address in your configuration
that's not responding and the machine is hanging. Is that correct? Do
you have other targets configured for this machine that are needed
for a boot to succeed, e.g. an iSCSI device is used as a file system
or part of a ZFS pool?
Here's what I would suggest. Boot into fail-safe mode and mount your
root partition. Let's assume that the root partition is mounted on /
a. Go look in /a/etc/iscsi. There should be two files that start with
"iscsi". (I'm not at work right now so I can't give you the exact
names.) Rename both of these files to something else. Now reboot the
machine and it should come up. Once the machine is up see if the
iscsi driver is still loaded.
modinfo | grep iscsi
If it is, unload the driver using modunload. The syntax is something
like:
modunload -i <driver id>
The <driver id> is in the first column of modinfo (It usually a
number less than 200).
Now, go back to /etc/iscsi and rename the files to their original
names and then type:
iscsiadm list discovery-address
This will reload the driver and it's database. You'll see your bogus
IP address there. Now remove it with "iscsiadm remove discovery-
address <IP-addr>"
Hope this helps. If you've got filesystems that are needed during
boot. These same steps *should* work in single user mode. Since I've
not tried these steps myself, this information is coming from my
knowledge of how the iSCSI initiator works.
Regards,
Mark
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss
----
Rick McNeal
"If ignorance is bliss, this lesson would appear to be a deliberate
attempt on your part to deprive me of happiness, the pursuit of which
is my unalienable right according to the Declaration of
Independence. I therefore assert my patriotic prerogative not to
know this material. I'll be out on the playground." -- Calvin
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss