delaylog in mount options

945 views
Skip to first unread message

Charlie Nugent

unread,
Jan 24, 2014, 5:39:01 AM1/24/14
to kiwi-...@googlegroups.com
Hi

During our OEM installation of SLES 11 SP3 we're mounting internal disks with the following options in /etc/fstab:
rw,noatime,nodiratime,attr2,noquota,allocsize=4m,inode64,nobarrier

However, a mount command will produce:
/dev/sdb2 on /data1 type xfs (rw,noatime,nodiratime,attr2,delaylog,nobarrier,inode64,allocsize=4096k,noquota)

We have not included the delaylog option.  How was this added, what effect does it have and how can we remove it?

rgds, Charlie


Marcus Schäfer

unread,
Jan 24, 2014, 10:19:32 AM1/24/14
to kiwi-...@googlegroups.com
Hi,

> However, a mount command will produce:
> /dev/sdb2 on /data1 type xfs
> (rw,noatime,nodiratime,attr2,delaylog,nobarrier,inode64,allocsize=4096k
> ,noquota)
> We have not included the delaylog option. How was this added, what
> effect does it have and how can we remove it?
> rgds, Charlie

I'm not an xfs expert but what I know from delaylog is that the entry
to the journal is hold in memory as long as possible before it's actually
written. Thus it's a performance option and as far as I know it's the
default when you just mount an xfs.

I don't know whether it's a compiled in option or if the default mount
behavior can be influenced by a config file. All I know for sure is
that kiwi does not handle this explicitly :)

Regards,
Marcus
--
Public Key available
gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2
-------------------------------------------------------
Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH
Tel: 0911-740 53 0 Maxfeldstrasse 5
FAX: 0911-740 53 479 D-90409 Nürnberg
GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer
HRB: 21284 (AG Nürnberg) Germany
http://www.suse.de
-------------------------------------------------------

Charlie Nugent

unread,
Feb 6, 2014, 8:24:05 AM2/6/14
to kiwi-...@googlegroups.com
Hi Marcus

thanks for your response

We're concerned that "delaylog" mount option may adversely affect our systems.  Is there someone in SUSE who
you could recommend as an XFS expert?

thanks, Charlie

Marcus Schäfer

unread,
Feb 7, 2014, 6:47:09 AM2/7/14
to kiwi-...@googlegroups.com
Hi,

> We're concerned that "delaylog" mount option may adversely affect our
> systems. Is there someone in SUSE who
> you could recommend as an XFS expert?

Hmm, I don't know a direct candidate but Robert(here on the list) uses XFS,
I'm sure he know a bit about it and if not he might know more people
around XFS

Regards,
Marcus
--
Public Key available
gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2

Robert Schweikert

unread,
Feb 10, 2014, 3:24:48 AM2/10/14
to kiwi-...@googlegroups.com


On 02/07/2014 12:47 PM, Marcus Schäfer wrote:
> Hi,
>
>> We're concerned that "delaylog" mount option may adversely affect our
>> systems. Is there someone in SUSE who
>> you could recommend as an XFS expert?
>
> Hmm, I don't know a direct candidate but Robert(here on the list) uses XFS,
> I'm sure he know a bit about it and if not he might know more people
> around XFS

yup, I do not know why delaylog would show up. Following up with the
filesystem experts.

Will respond when I have more details.

Later,
Robert

--
Robert Schweikert MAY THE SOURCE BE WITH YOU
SUSE-IBM Software Integration Center LINUX
Tech Lead
rjsc...@suse.com
rsch...@ca.ibm.com
781-464-8147

Charlie Nugent

unread,
Feb 10, 2014, 6:27:43 AM2/10/14
to kiwi-...@googlegroups.com
Hi Robert,

thanks for your help.  Looking forward to your response

rgds, Charlie




--
You received this message because you are subscribed to a topic in the Google Groups "kiwi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kiwi-images/4mrjI5oGuDI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kiwi-images+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
rgds, Charlie Nugent

Robert Schweikert

unread,
Feb 12, 2014, 3:56:23 AM2/12/14
to kiwi-...@googlegroups.com
Hi,

Heard back from one of our filesystem experts, I will paraphrase.

On 02/10/2014 12:27 PM, Charlie Nugent wrote:
> Hi Robert,
>
> thanks for your help. Looking forward to your response

delaylog is a default mount option and thus it shows up in mount options
even if you did not set it. It can be disabled with "nodelaylog" (no
quotes.)

It does have performance implications but they should be entirely
positive ones. Delayed logging saves some space in the journal and thus IO.

HTH,
Robert

--
Robert Schweikert MAY THE SOURCE BE WITH YOU
Public Cloud Architect LINUX
SUSE-IBM Software Integration Center

Charlie Nugent

unread,
Feb 12, 2014, 5:07:07 AM2/12/14
to kiwi-...@googlegroups.com
Excellent news, thanks very much folks
We intend to run tests to evaluate on our systems and the ability to disable 
delaylog may come in handy

thanks again, Charlie



--
You received this message because you are subscribed to a topic in the Google Groups "kiwi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kiwi-images/4mrjI5oGuDI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kiwi-images+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
rgds, Charlie Nugent
Reply all
Reply to author
Forward
0 new messages