LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-03-2019, 01:58 PM   #1
partha.nayak
LQ Newbie
 
Registered: Dec 2019
Posts: 1

Rep: Reputation: Disabled
network interfaces brought down before fsync to iSCSI target completes


######
OS : CentOS7
Kernel : 4.9.37

#######
Issue
#######

On graceful shutdown of Centos 7 , Network target is stopped before we sync the filesystems and block devices thereby leading to the following error
Synching filesystem and block devices - timed out
>> INFO: task <> blocked for more than 120 seconds.
>> Not tainted <> #1
>> kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
#######
Log
#######

<<<<<log>>>>>>
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Shutting down.
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd-shutdown[1]: Syncing filesystems and block devices.
Dec 02 13:04:06 NTNX-10-44-10-134-FAVM kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4294725853, last ping 4294731264, now 4294736384
02 13:03:55 NTNX-10-44-10-134-FAVM systemd[1]: Stopped target Network.
Dec 02 13:03:55 NTNX-10-44-10-134-FAVM systemd[1]: Stopping Network.
Dec 02 13:03:55 NTNX-10-44-10-134-FAVM systemd[1]: Stopping LSB: Bring up/down networking...
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM network[2736]: Shutting down interface eth0: [ OK ]
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM network[2736]: Shutting down loopback interface: [ OK ]
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Stopped LSB: Bring up/down networking.
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Stopping IPv4 firewall with iptables....
.
.
.
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Starting Shutdown.
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Reached target Final Step.
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Starting Final Step.
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Starting Power-Off...
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd[1]: Shutting down.
Dec 02 13:03:56 NTNX-10-44-10-134-FAVM systemd-shutdown[1]: Syncing filesystems and block devices.
Dec 02 13:04:06 NTNX-10-44-10-134-FAVM kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4294725853, last ping 4294731264, now 4294736384
Dec 02 13:04:06 NTNX-10-44-10-134-FAVM kernel: connection1:0: detected conn error (1022)
Synching filesystem and block devices - timed out
>> INFO: task <> blocked for more than 120 seconds.
>> Not tainted <> #1
>> kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
<<<<<log>>>>>>

#######
Comments
#######


Is it a bug ? Why would network interfaces brought down before fsync completes and unmount complete on a graceful shutdown ? What is the best way to resolve it ?

Current kernel version is 4.9.37 and OS is CentOS7
 
Old 12-03-2019, 07:18 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
How are your iSCSI shares mounted? Via systemd?
 
  


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
Need Help with Installion...Freezing before it completes rez001 Ubuntu 1 10-17-2011 12:52 PM
rtorrent - Move when download completes. Move again after seeding completes. Calab Linux - Software 1 01-29-2009 01:47 AM
Does Kornshell wait until one command completes before running the next command? ShaqDiesel Programming 4 09-10-2008 11:49 PM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM
KPilot broken--crashes before sync completes apachedude Linux - Software 0 02-12-2005 05:20 PM

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

All times are GMT -5. The time now is 01:17 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