LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2008, 09:09 AM   #1
linux=future
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 154

Rep: Reputation: 30
Fedora Core 6 hangs at shutdown on "Synchronizing SCSI cache" with iSCSI


Hello all,

I have a box running Fedora Core 6, attached to a storage array via an ethernet cable. The two communicate via iSCSI. The problem is simple, but I can't think of a solution. At shutdown, Fedora stops eth0, which effectively terminates the iSCSI connection. However, it needs this connection to sync SCSI. I need Fedora to sync before shutting down eth0. Otherwise, the system hangs, and a hard reset is required.
 
Old 08-15-2008, 10:40 PM   #2
ppesci
LQ Newbie
 
Registered: Sep 2007
Location: Caracas
Distribution: Fedora, CentOS, RedHat
Posts: 12

Rep: Reputation: 1
I think you can change the shutdown sequence to flush cache before eth0 down.

Anyway, FC6 is outdated. I suggest you update at least to F8

HTH
 
Old 08-16-2008, 08:08 AM   #3
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
Exactly, make sure network is shutdown after the sync.

Personally I would look at moving when the network kill scripts run rather than anything else.

I don't believe there is any may to do this other than changing the order that the scripts run either. Anyway, it's pretty easy to change the order, and make sure you've got a backup!

Cheers,
Steve
 
Old 08-16-2008, 03:24 PM   #4
linux=future
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
In a very odd twist, it seems that several other people have the same problem as me, and they started a thread a few hours later on Google groups: http://groups.google.com/group/open-...fae3dfb6e6c68f

I don't think it's possible to put the shutdown of eth* devices after the sync. The sync is done not by shutdown scripts, but by the kernel itself right before restart. Maybe I'm wrong about that, but the words "Syncing" are not in any rc* scripts, with the exception of the system clock.

At the end of the thread I linked to, there is a patch which supposedly fixes the problem. Thanks for the help, though!

Quote:
Anyway, FC6 is outdated. I suggest you update at least to F8
The only thing that keeps me from doing this is fear. I have very bad luck with yum upgrade, and a reformat would make a number of people (including my bosses) unhappy.
 
Old 08-16-2008, 06:52 PM   #5
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
ah, of course I see what you mean now.

I think RHEL has it set up differently. Glad you got your issue sorted!

cheers,
Steve
 
Old 08-17-2008, 11:47 AM   #6
ppesci
LQ Newbie
 
Registered: Sep 2007
Location: Caracas
Distribution: Fedora, CentOS, RedHat
Posts: 12

Rep: Reputation: 1
Do not perform yum upgrade, do a clean install, and yes, I know about upgrade problems using yum because I had it.

Maybe you can atach a new disk to the server and install a more up to gate fedora version. If your server has a recent bios, you can start from USB drive or stick. F9 allows you to install it in USB drive with no destructive way (that is, you do not erase anything).

HTH
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 03:29 AM
server hangs after "shutdown -r now" parad0xx Slackware 9 02-16-2006 05:40 AM
Fedora Core 3 hangs, freezes on "Starting sshd" ayrton Fedora 2 12-09-2004 09:11 PM
Fedora Core 3 hangs on "Updating Kernel Configuration" JaggedKey Linux - Distributions 1 11-21-2004 08:19 AM
Fedora Core 1 SCSI CD-ROM Won't Mount (always get "is not a valid block device") jerrykuch Linux - Hardware 2 04-18-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration