Skip to contentSkip to conversation

remounting with "errors=remount-ro" in fstab fails.

DISCUSSION Jan Vales 2 participants 4 messages May 26, 2016

lore
Share & tools
lore

Jan Vales

author
#0 lore raw

Hi there,

I just updated to 4.6 kernel, and now i cannot remount / rw anymore.

root@... # mount / -o remount,rw
mount: / not mounted or bad option

root@... # dmesg
[...]
XFS (md2): unknown mount option [errors=remount-ro]. [...]

root@... # cat /etc/fstab
[...]
/dev/sda / xfs ro,noatime,logbufs=8,errors=remount-ro,inode64 0 1 [...]

Was that change intentional?
As in: shall i remove errors=... from fstab or is it a mistake?

cheers,
Jan Vales
--
I only read plaintext emails.

Someone @ irc://irc.fsinf.at:6667/tuwien
webIRC: https://frost.fsinf.at/iris/

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#1 lore raw
Quoted 12 lines · Jan Vales

Hi there,

I just updated to 4.6 kernel, and now i cannot remount / rw anymore.

root@... # mount / -o remount,rw
mount: / not mounted or bad option

root@... # dmesg
[...]
XFS (md2): unknown mount option [errors=remount-ro]. [...]

Quoted 4 lines

root@... # cat /etc/fstab
[...]
/dev/sda / xfs ro,noatime,logbufs=8,errors=remount-ro,inode64 0 1 [...]

/dev/md2, my fail, I removed the uuid here for readability.

Quoted 4 lines

Was that change intentional?
As in: shall i remove errors=... from fstab or is it a mistake?

cheers,
Jan Vales
--
I only read plaintext emails.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#3 lore raw
Quoted 10 lines · Christoph Hellwig

The option was never actually supported. We used to ignore unknown options for remount only, I guess that's why it used to work for you.

So yes, you can safely remove the option.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

ty.

cheers,
Jan Vales
--
I only read plaintext emails.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs