Re: SATA hotplug from the user side ?

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

 



Soeren Sonnenburg wrote:
> It is true it detects a removal and newly plugged devices immediately...
> However it still prints warnings and errors that it could not
> synchronize SCSI cache for the disks. Then it prints regular 'rejects
> I/O to dead device' warning messages and on replugging the disks puts
> them to the next free sd device (e.g. sdc -> sdd).

You need to stop using the devices before unplugging.  If you have no
pending IO to the device, there won't be 'rejects IO to dead device'
messages.  You can ignore the SCSI cache sync failure if the device is
properly closed before being unplugged.

> These messages sound eval - so now the question is should I care ?
> ( On the other hand it did not crash the machine )

So, no, you don't really have to care.  Just make sure the device is
unmounted prior to unplugging.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux