⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rvd.4p

📁 早期freebsd实现
💻 4P
字号:
.\".\" 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1986,1987,1988.\" LICENSED MATERIALS - PROPERTY OF IBM.\" REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083.\".\"$Header:rvd.4p_ca 11.0$.\"$ACIS:rvd.4p_ca 11.0$.\"$Source: /ibm/acis/usr/man/man4/RCS/rvd.4p_ca,v $.\"This file contains -man macros..TH RVD 4P "July 1987" "Space overwritten by .AC macro" " ".AC 1 0.SH NAMErvd \- Remote Virtual Disk protocol.SH DESCRIPTIONRVDis a network service which allows severalphysical machines to share onephysical mass storage device such as a hard disk.  The basicconcept is to have the machine to which the device is physically attachedact as a server to read and write blocks for all the othermachines desiring use of the resource..PPThe server program apportions thephysical blocks into \*(lqvirtual disk packs\*(rq based on atable maintained with.IR vddb (8).The packs can then be used separately by clients.  There arethree modes of use: read-only, shared, and exclusive.Exclusive mode is used forread-write access, while read-only mode is as it sounds.Shared mode is not supported under IBM/4.3.If a disk pack is \*(lqspun up\*(rq in read-only mode,several clients may share the pack and read its information.  Inexclusive mode, one client has exclusive use of the disk pack..PPPacks are \*(lqspun up\*(rq and \*(lqspun down\*(rq with the .I upand.I downcommands (see.IR up (1)).This can be done at reboot time within.I /etc/rc.local(see.IR rc (8))orat login time within.I ~/.login(see.IR csh (1)).Once a pack is spun up, it behaves like a disk physically attached tothe local machine (excepting network latency).The client can do anything desired with the pack;both MS-DOS and UNIX operating system file systems have been used on the same physicaldrive at the same time (on separate packs, of course)..PPRVDis implemented in two parts: server code and client code.  The servercode is written as a.IR "user process" ,i.e. it does not require any specialprivileges beyond read/write access to the disks it manages.  The serveropens a network socket and listens for UDP connections.  It also acceptsallRVDpackets and acts on them.RVD is a protocol different from bothUDP and TCP,although similar in nature to the former..PPThe client code is implemented as a pseudo-device and correspondingdevice driver in the kernel.  It can handle up to 10remote virtual diskssimultaneously, which are associated with the pseudo-devices below..SH FILES.DT/dev/vd[0-9]a		block special file pseudo-device.br/dev/rvd[0-9]a		character special file pseudo-device.SH "SEE ALSO"up(1), rvddb(5), rvdtab(5),rvdflush(8), rvdchlog(8), rvddown(8),rvdexch(8), rvdflush(8), rvdlog(8), rvdsend(8), rvdshow(8),rvdshut(8), rvdsrv(8), savervd(8), spinup(8), vddb(8), vdstats(8).br``The Remote Virtual Disk System'' in Volume II, Supplementary Documents

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -