Solved

Redhat server not booting

Posted on 2014-02-07
6
190 Views
Last Modified: 2014-03-24
Hi I am trying to get a redhat server to boot that lost connection to an iscsi san.
The ip address on the san was changed. when the server was rebooted udev errored out because it couldn't find the drives now the server is stuck at a (filesystem repair)#1 prompt. there are only a handful of things im capable of doing in this state. i tried to rediscover the iscsi drives using  iscsiadm but it won't allow me to run it. Is there a file i can edit and change the the portal address the targets are pointing to?

Thanks fo the help,
Mike
0
Comment
Question by:MikeMercer77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 40

Expert Comment

by:noci
ID: 39844104
iscsi settings are stored in /var/lib/iscsi/
as files under the ifaces, nodes and send_targets
You should remove the old stuff.

Best is to boot from the rescue CD/DVD (install CD, Recue mode).
mount and chroot to your local disk and the rediscover the iscsi parameters.
0
 
LVL 13

Accepted Solution

by:
Sandy earned 250 total points
ID: 39846520
ON FS maintanince mode ==>


#mount -o remount,rw /
#vim /etc/fstab


<now put a comment "#" on every FS except system FS's.. I mean those FS which are being created on iscsi's one>

:wq

#exit
#exit

System will up normally and now you can continue with further steps..

TY/SA
0
 

Author Comment

by:MikeMercer77
ID: 39857109
Thanks for the suggestions. Unfortunately all of the files are read only. it wont let me make any changes. I'm pretty new to linux so i have that working against me too :) It looks like i'm stuck in a basic recovery mode with out many rights to do much.

thanks
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 40

Assisted Solution

by:noci
noci earned 250 total points
ID: 39857562
you can use
mount -o rw,remount /

to remount the rootfs r/w. Then add the /var partition if it is on a different FS etc.
and go from there.
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39858242
That is what i mentioned at above..

Mike, if all are readonly then start your system in rescue mode and perform these operation by mount "/" on any temp directory.


TY/SA
0
 

Author Comment

by:MikeMercer77
ID: 39951190
Sorry for the delay. I got tied up with another project. the mount -o rw,remount / worked great to allow me to edit the fstab. Thanks a lot!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question