Solved

Redhat server not booting

Posted on 2014-02-07
6
186 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Destination host unreachable 12 63
i can not do linux commands in cygwin windows 10 6 59
Virtualizing very old guest OS 4 77
How to find Linux Server's last patch date 9 37
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

948 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now