linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* syslog message repeated 3x
@ 2013-05-09  9:26 Toralf Förster
  2013-05-09 10:04 ` Hugo Mills
  2013-05-09 11:47 ` Wang Shilong
  0 siblings, 2 replies; 8+ messages in thread
From: Toralf Förster @ 2013-05-09  9:26 UTC (permalink / raw)
  To: linux-btrfs

I'm just curious why the last of the following 3 commands :

$> dd if=/dev/zero of=/mnt/ramdisk/disk1 bs=1M count=257
$> yes | /sbin/mkfs.btrfs /mnt/ramdisk/disk1
$> mount -o loop /mnt/ramdisk/disk1 /mnt/t

gives 3x the same log message :

2013-05-09T11:23:00.230+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
2013-05-09T11:23:00.581+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
2013-05-09T11:23:00.583+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: syslog message repeated 3x
  2013-05-09  9:26 syslog message repeated 3x Toralf Förster
@ 2013-05-09 10:04 ` Hugo Mills
  2013-05-09 10:37   ` Toralf Förster
  2013-05-09 11:47 ` Wang Shilong
  1 sibling, 1 reply; 8+ messages in thread
From: Hugo Mills @ 2013-05-09 10:04 UTC (permalink / raw)
  To: Toralf Förster; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]

On Thu, May 09, 2013 at 11:26:25AM +0200, Toralf Förster wrote:
> I'm just curious why the last of the following 3 commands :
> 
> $> dd if=/dev/zero of=/mnt/ramdisk/disk1 bs=1M count=257
> $> yes | /sbin/mkfs.btrfs /mnt/ramdisk/disk1
> $> mount -o loop /mnt/ramdisk/disk1 /mnt/t
> 
> gives 3x the same log message :
> 
> 2013-05-09T11:23:00.230+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
> 2013-05-09T11:23:00.581+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
> 2013-05-09T11:23:00.583+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1

   At a guess, two of those are probably from btrfs dev scan triggered
by udev.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
        --- Well, sir, the floor is yours.  But remember, the ---        
                              roof is ours!                              

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: syslog message repeated 3x
  2013-05-09 10:04 ` Hugo Mills
@ 2013-05-09 10:37   ` Toralf Förster
  2013-05-09 11:33     ` Hugo Mills
  0 siblings, 1 reply; 8+ messages in thread
From: Toralf Förster @ 2013-05-09 10:37 UTC (permalink / raw)
  To: Hugo Mills, linux-btrfs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/09/2013 12:04 PM, Hugo Mills wrote:
> At a guess, two of those are probably from btrfs dev scan
> triggered by udev.
Those messages do only appear for a btrfs, not if I choose ext4.


- -- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGLfHIACgkQhyrlCH22naPeEwCfcJxcJ3zGyeTiwdyYzKjIQlVG
a4YAoLwo/FM50Pewp57VnATwY8cVBsQU
=ti4S
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: syslog message repeated 3x
  2013-05-09 10:37   ` Toralf Förster
@ 2013-05-09 11:33     ` Hugo Mills
  0 siblings, 0 replies; 8+ messages in thread
From: Hugo Mills @ 2013-05-09 11:33 UTC (permalink / raw)
  To: Toralf Förster; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

On Thu, May 09, 2013 at 12:37:38PM +0200, Toralf Förster wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 05/09/2013 12:04 PM, Hugo Mills wrote:
> > At a guess, two of those are probably from btrfs dev scan
> > triggered by udev.
> Those messages do only appear for a btrfs, not if I choose ext4.

   They're from the btrfs kernel module, so that's hardly surprising. :)

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- You know... I'm sure this code would seem a lot better if I ---   
                         never tried running it.                         

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: syslog message repeated 3x
  2013-05-09  9:26 syslog message repeated 3x Toralf Förster
  2013-05-09 10:04 ` Hugo Mills
@ 2013-05-09 11:47 ` Wang Shilong
  2013-05-09 11:51   ` Wang Shilong
  2013-05-09 12:45   ` Toralf Förster
  1 sibling, 2 replies; 8+ messages in thread
From: Wang Shilong @ 2013-05-09 11:47 UTC (permalink / raw)
  To: Toralf Förster; +Cc: linux-btrfs

Hi,

I just try your steps, but only 1x log message.

Anyway, i use the latest btrfs-progs.
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git


Can you try this and see if it happens again?


Thanks,
Wang
> I'm just curious why the last of the following 3 commands :
> 
> $> dd if=/dev/zero of=/mnt/ramdisk/disk1 bs=1M count=257
> $> yes | /sbin/mkfs.btrfs /mnt/ramdisk/disk1
> $> mount -o loop /mnt/ramdisk/disk1 /mnt/t
> 
> gives 3x the same log message :
> 
> 2013-05-09T11:23:00.230+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
> 2013-05-09T11:23:00.581+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
> 2013-05-09T11:23:00.583+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
> 
> -- 
> MfG/Sincerely
> Toralf Förster
> pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: syslog message repeated 3x
  2013-05-09 11:47 ` Wang Shilong
@ 2013-05-09 11:51   ` Wang Shilong
  2013-05-09 12:45   ` Toralf Förster
  1 sibling, 0 replies; 8+ messages in thread
From: Wang Shilong @ 2013-05-09 11:51 UTC (permalink / raw)
  To: Toralf Förster; +Cc: linux-btrfs

Oh, My kernel version is btrfs-next.

This message gets from kernel..so you can try this url:
git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git


> Hi,
> 
> I just try your steps, but only 1x log message.
> 
> Anyway, i use the latest btrfs-progs.
> git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
> 
> 
> Can you try this and see if it happens again?
> 
> 
> Thanks,
> Wang
>> I'm just curious why the last of the following 3 commands :
>> 
>> $> dd if=/dev/zero of=/mnt/ramdisk/disk1 bs=1M count=257
>> $> yes | /sbin/mkfs.btrfs /mnt/ramdisk/disk1
>> $> mount -o loop /mnt/ramdisk/disk1 /mnt/t
>> 
>> gives 3x the same log message :
>> 
>> 2013-05-09T11:23:00.230+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
>> 2013-05-09T11:23:00.581+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
>> 2013-05-09T11:23:00.583+02:00 n22 kernel: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1
>> 
>> -- 
>> MfG/Sincerely
>> Toralf Förster
>> pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: syslog message repeated 3x
  2013-05-09 11:47 ` Wang Shilong
  2013-05-09 11:51   ` Wang Shilong
@ 2013-05-09 12:45   ` Toralf Förster
  2013-05-09 12:48     ` Hugo Mills
  1 sibling, 1 reply; 8+ messages in thread
From: Toralf Förster @ 2013-05-09 12:45 UTC (permalink / raw)
  To: Wang Shilong; +Cc: linux-btrfs

On 05/09/2013 01:47 PM, Wang Shilong wrote:
> Anyway, i use the latest btrfs-progs.

well, under Gentoo I used sys-fs/btrfs-progs-9999 which points always to the latest git version :
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git

My host kernel is stable 3.9.1

The mount command still gives :

2013-05-09T14:43:35.604+02:00 n22 kernel: device fsid 20a30a6b-a82f-429f-b426-00f1739e4d3d devid 1 transid 8 /dev/loop1
2013-05-09T14:43:35.604+02:00 n22 kernel: device fsid 20a30a6b-a82f-429f-b426-00f1739e4d3d devid 1 transid 8 /dev/loop1
2013-05-09T14:43:35.608+02:00 n22 kernel: btrfs: disk space caching is enabled
2013-05-09T14:43:35.660+02:00 n22 kernel: device fsid 20a30a6b-a82f-429f-b426-00f1739e4d3d devid 1 transid 8 /dev/loop1

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: syslog message repeated 3x
  2013-05-09 12:45   ` Toralf Förster
@ 2013-05-09 12:48     ` Hugo Mills
  0 siblings, 0 replies; 8+ messages in thread
From: Hugo Mills @ 2013-05-09 12:48 UTC (permalink / raw)
  To: Toralf Förster; +Cc: Wang Shilong, linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]

On Thu, May 09, 2013 at 02:45:00PM +0200, Toralf Förster wrote:
> On 05/09/2013 01:47 PM, Wang Shilong wrote:
> > Anyway, i use the latest btrfs-progs.
> 
> well, under Gentoo I used sys-fs/btrfs-progs-9999 which points always to the latest git version :
> git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
> 
> My host kernel is stable 3.9.1
> 
> The mount command still gives :
> 
> 2013-05-09T14:43:35.604+02:00 n22 kernel: device fsid 20a30a6b-a82f-429f-b426-00f1739e4d3d devid 1 transid 8 /dev/loop1
> 2013-05-09T14:43:35.604+02:00 n22 kernel: device fsid 20a30a6b-a82f-429f-b426-00f1739e4d3d devid 1 transid 8 /dev/loop1
> 2013-05-09T14:43:35.608+02:00 n22 kernel: btrfs: disk space caching is enabled
> 2013-05-09T14:43:35.660+02:00 n22 kernel: device fsid 20a30a6b-a82f-429f-b426-00f1739e4d3d devid 1 transid 8 /dev/loop1

   I guess the main question is... why is this a problem for you?

   The message is informational and doesn't indicate any kind of issue
with the FS. I'd just ignore it/them.

   (Also, are you running btrfs dev scan beforehand or not? It'd be
interesting to see the difference in your logs -- particularly with
timestamps -- when you do that.)

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
     --- "I am the author. You are the audience. I outrank you!" ---     

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-05-09 12:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09  9:26 syslog message repeated 3x Toralf Förster
2013-05-09 10:04 ` Hugo Mills
2013-05-09 10:37   ` Toralf Förster
2013-05-09 11:33     ` Hugo Mills
2013-05-09 11:47 ` Wang Shilong
2013-05-09 11:51   ` Wang Shilong
2013-05-09 12:45   ` Toralf Förster
2013-05-09 12:48     ` Hugo Mills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).