Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Redhat server not booting

Posted on 2014-02-07
6
Medium Priority
?
192 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 1000 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 40

Assisted Solution

by:noci
noci earned 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

618 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