LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02: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, 08:18 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,969

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


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

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

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