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."
signature.asc
Description: OpenPGP digital signature

