mount -o remount problems with ext3 and journal= options in /etc/fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



if you specify journal=update in /etc/fstab, then attempts to remount that 
point can be a bit painful

for example:
dd if=/dev/zero of=foo count=10000
mke2fs -F -j foo
mkdir foo-mount
echo $PWD/foo $PWD/foo-mount ext3 defaults,loop,journal=update >> /etc/fstab
mount foo-mount
mount foo-mount -o remount,ro

the last command will result in:
mount: /root/foo-mount not mounted already, or bad option
and the dmesg output will show us:
EXT3-fs: cannot specify journal on remount

so should mount be handling this ?  or should we update ext3 to only abort if 
the journal= option given at remount is different from the initial mount ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux