Solved

Redhat server not booting

Posted on 2014-02-07
6
187 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
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Multicast on 3750x cisco router 1 37
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 137
Can't ping New Linux Servers 40 65
awk sed 8 40
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 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