lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 25 Jun 2014 17:31:15 +0800
From:	Chin Tzung Cheng <chintzung@...il.com>
To:	linux-ext4@...r.kernel.org
Subject: About changing the UUID of external journal device

Hi,
I have problem while I create a ext4 volume with external journal device.
The UUID of external journal device is not the one I specify.

First, I create a journal device(/dev/sda4).

[root@...alhost sbin]# ./mke2fs -O journal_dev /dev/sda4
[root@...alhost sbin]# ./blkid /dev/sda4
/dev/sda4: UUID="1313c286-7803-4a40-9010-74964554d13f" TYPE="jbd"

I use tune2fs to change the UUID of journal device. blkid shows the
UUID is changed.

[root@...alhost sbin]# ./tune2fs  /dev/sda4 -U
aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
[root@...alhost sbin]# ./blkid /dev/sda4
/dev/sda4: UUID="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" TYPE="jbd"

Make an ext4 volume with external journal device (dev/sda4)

[root@...alhost sbin]# ./mke2fs /dev/sda3 -t ext4 -J device=/dev/sda4

[root@...alhost sbin]# ./dumpe2fs -h /dev/sda3 | grep UUID
dumpe2fs 1.42.10 (18-May-2014)
Filesystem UUID:          d8f038e5-9539-4b1d-8ccb-63cc56771fc5
Journal UUID:             1313c286-7803-4a40-9010-74964554d13f

However, the journal device UUID of ext4 volume is still the old one.
It's not the new one.

Test environment
Kernel version: 3.12.10
e2fsprogs version: 1.42.10

Any help would be appreciated.

Thanks,
chintzung
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ