LinuxQuestions.org
Register a domain and help support LQ
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, 10: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, 11:40 PM   #2
ppesci
LQ Newbie
 
Registered: Sep 2007
Location: Caracas
Distribution: Fedora, CentOS, RedHat
Posts: 8

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, 09:08 AM   #3
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL5/6, Solaris 10/11, NetBSD, OpenBSD, FreeBSD, MacOS
Posts: 222

Rep: Reputation: 40
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, 04: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, 07:52 PM   #5
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL5/6, Solaris 10/11, NetBSD, OpenBSD, FreeBSD, MacOS
Posts: 222

Rep: Reputation: 40
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, 12:47 PM   #6
ppesci
LQ Newbie
 
Registered: Sep 2007
Location: Caracas
Distribution: Fedora, CentOS, RedHat
Posts: 8

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:29 AM
server hangs after "shutdown -r now" parad0xx Slackware 9 02-16-2006 06:40 AM
Fedora Core 3 hangs, freezes on "Starting sshd" ayrton Fedora 2 12-09-2004 10:11 PM
Fedora Core 3 hangs on "Updating Kernel Configuration" JaggedKey Linux - Distributions 1 11-21-2004 09: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 02:02 PM


All times are GMT -5. The time now is 03:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration