LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2020, 08:47 AM   #1
rbarden22
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Rep: Reputation: Disabled
Latency with filesystems ending with _netdev attached to them


Users are complaining about super slow response times when they are copying data from Oracle server over to the storage device where these filesystems sit. Checked Storage and Network and both are clean, no issues in the logs.
I have filesystems listed below that show _netdev at the end of each line in /etc/fstab

/dev/helixoravg/oracle_data2_lv /oracle_data2 xfs _netdev 0 0
/dev/helixoravg/oracle_redo2_lv /oracle_redo2 xfs _netdev 0 0
/dev/orabackupvg/oracle_archive2_lv /oracle_archive2 xfs _netdev 0 0
/dev/orabackupvg/oracle_backup2_lv /oracle_backup2 xfs _netdev 0 0

I was told these should not be transferring over the network and using ISCI only. Anyone know how to fix this?
 
Old 12-10-2020, 02:25 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,327

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
What distro and version are you using?
Are those logical volumes local on the server or remote? If local then _netdev would probably not be correct as a mount option.

It looks like you are missing the options field in those fstab entries. Since you posted without using the code tags I can see no space between xfs and _netdev. Is it "xfs_netdev" or "xfs _netdev"? Can't tell.
The lines would be much more readable if they looked like this
Code:
/dev/mapper/fedora-root /                       ext4    defaults        1 1
instead of this
/dev/mapper/fedora-root / ext4 defaults 1 1

That is the same line posted with code tags and without.
 
Old 12-10-2020, 04:01 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
computersavvy, just hit the "Quote" button on the OP - you'll see the full layout as it was posted.

The mount manpage states that _netdev is only to wait for the network to come up before the mount is attempted. Can't see why it would affect operations after that.
 
Old 12-10-2020, 06:53 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,327

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Quote:
Originally Posted by rbarden22 View Post
Users are complaining about super slow response times when they are copying data from Oracle server over to the storage device where these filesystems sit.
syg00
Right and the above is ambiguous and implies data is being transferred across the network. I asked for additional information as well as suggesting the use of code tags, although I did misunderstand the man page.

Last edited by computersavvy; 12-10-2020 at 06:55 PM.
 
Old 12-10-2020, 07:10 PM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by rbarden22 View Post
I was told these should not be transferring over the network and using ISCI only. Anyone know how to fix this?
If you mean iSCSI, then network transfers do occur (except if you import an iSCSI device on the same server where it is exported, which is not a usual configuration).

To fix performance problems like slow storage, I'd do something like this:
  • Check if it has always slow. If not, check if any relevant configuration change took place when it started to be slow. Also check if the way the storage devices are used has changed (e.g., new or updated application).
  • Run performance measurement tests myself. In the case of storage, vary parameters like I/O block sizes.
  • If satisfied that the problem is caused by storage and not something else, start looking into storage-specific parameters.
  • In the case of iSCSI, check system performance on client and server side. In particular IO performance on the server side. Also check network metrics such as high amount of retransmissions.
  • Learn about parameters that might impact iSCSI performance and apply those.

Last edited by berndbausch; 12-10-2020 at 07:15 PM.
 
1 members found this post helpful.
Old 12-14-2020, 11:24 AM   #6
rbarden22
LQ Newbie
 
Registered: Mar 2020
Posts: 18

Original Poster
Rep: Reputation: Disabled
Awesome information. Thank you all!!
 
  


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
LXer: Dropbox Ending Sync Support for Uncommon Filesystems, Google Tracks Your Location, NVIDIA Unveils Its First Turing Architecture-Based LXer Syndicated Linux News 0 08-15-2018 03:03 AM
Is there a _netdev equivalent for autofs? anon3001 Linux - Newbie 2 05-03-2018 12:41 PM
fstab _netdev - Reg rajsrmc Linux - Server 1 07-28-2011 01:16 PM
[OpenSUSE] nfs _netdev in fstab Barry1 Linux - Server 1 12-14-2010 02:37 AM
pl2303 attached to ttyUSB0 but driver attached to device is "serial" sheeluh Linux - Software 4 03-12-2007 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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