FS#17887 - [initscripts] Add ",noopts=_netdev" to the NETFS list in /etc/rc.sysinit
Attached to Project:
Arch Linux
Opened by Yannick Loth (yannick555) - Monday, 18 January 2010, 13:14 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 19 May 2010, 16:01 GMT
Opened by Yannick Loth (yannick555) - Monday, 18 January 2010, 13:14 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 19 May 2010, 16:01 GMT
|
Details
Description:
When using iscsi (with the package open-iscsi, from AUR), at start, the filesystem checks fail (as the device is not accessible through iscsi as long as open-iscsi is not started...) if the iscsi-device is defined in /etc/fstab. Adding ",noopts=_netdev" to the NETFS list in /etc/rc.sysinit implies that fsck won't check filesystems of devices with the _netdev option set. This solution works for me... NB: I think this is an issue with every type of networked filesystem device and as such is not specific to iscsi or the open-iscsi package! Additional info: * package version(s) 2.0.871.2-1 * config and/or log files etc. my NETFS list: NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,noshfs,nofuse,nofuseblk,noglusterfs,noopts=_netdev" Steps to reproduce: Use Archlinux as an iscsi-initiator with open-iscsi, add the remote iscsi-device in fstab for automatic mounting at boot and reboot. During boot-filesystem-checks, the error should show up. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 19 May 2010, 16:01 GMT
Reason for closing: Not a bug
Additional comments about closing: see comments
Wednesday, 19 May 2010, 16:01 GMT
Reason for closing: Not a bug
Additional comments about closing: see comments
That's why I didn't put the bug report in AUR bugs...
FS#11437we have this code:/bin/mount -a -t $NETFS -O no_netdev
Shouldn't that do exactly the same thing?
(BTW, man mount is silent about noopts)
Still, I see an issue:
since noopts is for fsck it should not be passed to mount,
so it is better to add noopts=_netdev explicitly to the fsck line instead of putting it in $NETFS
Is it finally possible to disable fsck from checking iscsi disks at boot, and to put the solution in the right package, so that an update doesn't break systems which use iscsi?
Thanks
http://projects.archlinux.org/initscripts.git/commit/?id=6931135f3b243ea76cae70bec4070ce2c6ddd6fd
I completely ignored this fact.