reserve(占用) : 这个命令由总线适配器发送用以获得或保留对SCSI设备的所有权。
reserve : This command is issued by a host bus adapter to obtain or maintain ownership of a SCSI device.
然后我们进行循环,重新扫描 SCSI 总线(通过将命令回送到 /proc pseudo-filesystem 中的特殊文件,并调用 devfsd ),直到出现根设备(我的例子中为 /dev/sda1)。
We then loop, rescanning the SCSI bus (by echoing a command to a special file in the /proc pseudo-filesystem and calling devfsd) until the root device (/dev/sda1 in my case) is present.
release(释放):当磁盘资源下线的时候,这个命令由拥有该磁盘的总线适配器发送。这个命令释放该SCSI设备供其他总线适配器占用。
Release: This command is issued by the owning host bus adapter when a disk resource is taken offline; it frees a SCSI device for another host bus adapter to reserve.
应用推荐