[Pkg-iscsi-maintainers] Bug#664604: Bug#664604: open-iscsi: No auto-mounting of iscsi devices tagged as _netdev in /etc/fstab

Ritesh Raj Sarraf rrs at researchut.com
Tue Mar 20 07:37:28 UTC 2012


On Monday 19 March 2012 03:46 PM, Philipp Gysin wrote:
> I noticed that the init.d script is not mounting my iscsi device listed in fstab as a _netdev.
> The problem seems to be that the properly contacted target is not yet in the /dev tree when mount is called
>
> I added a tiny sleep 0.1 before the mount call and got rid of my problem
>
> Here the patch for /etc/init.d/open-iscsi:
> 128c128
> < 	if mount -a -O _netdev >/dev/null 2>&1; then
> ---
>> > 	if sleep 0.1 && mount -a -O _netdev >/dev/null 2>&1; then

That's an okay workaround but not the best solution. Do you have
/dev/.udev ?

I ask because the check we do in Squeeze is based on the presence of
/dev/.udev. Not the best one. If that path is not existent, we do not
settle for devices. Apart from that, I cannot see anything else causing
the issue.

Do you have the resources to check the same on the current version in
Wheezy / Sid ?

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20120320/6a9be697/attachment.pgp>


More information about the Pkg-iscsi-maintainers mailing list