On Tue, May 07, 2013 at 10:44:03AM +1000, Dmitry Smirnov wrote:
When mounting ext4 with external journal the journal is discovered by
using device number rather than UUID. Because of this mounting ext4
with external journal often fails after reboot because devices
/dev/sd[a-z] are not persistent. As such /dev/disk/by-* links can't
help either as they are merely symlinks to /dev/sd[a-z].
Please add support for ext4 external journal discovery using UUID.
This is technically not an e2fsprogs bug.
It is really up to the mount program (which is part of util-linux) or
the shell script which tries mounting the external journal to pass the
device number to the kernel via the journal_dev mount option. The way
to do this manually is via something like this:
devname=$(blkid -U $journal_uuid)
devno=$(stat -c -x%t%T $devname)
mount -t ext4 -O journal_dev=$devno /dev/$fsdev $mntpt
In the ideal work this is something that mount would be taught to do,
and mount is part of the util-linux package.
- Ted
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org