1. An apparatus, comprising:
a memory;
at least one processor; and
at least one non-transitory computer readable medium storing instructions translatable by the at least one processor to:
when a tape is mounted on a drive, write an index from an index partition of the tape into the memory such that the memory stores an in-memory version of the index;
after a predetermined amount of time has passed, after a predetermined condition has been met, or after a predetermined amount of data has been written to the tape, perform a synchronization operation to write the in-memory version of the index to a data partition of the tape such that the data partition of the tape stores a copy of the in-memory version of the index;
when the tape is to be unmounted, perform an unmount operation to write the in-memory version of the index from the memory into the index partition of the tape;
when the tape is to be mounted again, compare indexes most recently written to the index partition of the tape and to the data partition of the tape; and
if the indexes do not match, automatically perform a recovery operation to update the index partition of the tape with the copy of the in-memory version of the index from the data partition of the tape.
2. The apparatus of claim 1, wherein the predetermined amount of data comprises a block or group of files approximately two wraps of the tape or a multiple of two wraps of the tape in size.
3. The apparatus of claim 1, wherein the stored instructions are further translatable by the at least one processor to update the in-memory version of the index whenever a change is made to a file system mounted on the tape.
4. The apparatus of claim 3, wherein, prior to the synchronization operation, any changes to the file system are held only in the memory.
5. The apparatus of claim 1, wherein the synchronization operation comprises advancing an index generation number by a predetermined value.
6. The apparatus of claim 1, wherein the stored instructions are further translatable by the at least one processor to write a previous index from the data partition of the tape into the index partition of the tape.
7. The apparatus of claim 1, wherein the synchronization operation is a Linear Tape File System (LTFS) sync operation.
8. A method for writing data to tape, comprising:
when a tape is mounted on a tape drive, writing an index from an index partition of the tape into a memory of an archive node appliance connected to the tape drive such that the memory stores an in-memory version of the index;
after a predetermined amount of time has passed, after a predetermined condition has been met, or after a predetermined amount of data has been written to the tape, the archive node appliance performing a synchronization operation to write the in-memory version of the index to a data partition of the tape such that the data partition of the tape stores a copy of the in-memory version of the index;
when the tape is to be unmounted, the archive node appliance performing an unmount operation to write the in-memory version of the index from the memory into the index partition of the tape;
when the tape is to be mounted again, the archive node appliance comparing indexes most recently written to the index partition of the tape and to the data partition of the tape; and
if the indexes do not match, the archive node appliance automatically performing a recovery operation to update the index partition of the tape with the copy of the in-memory version of the index from the data partition of the tape.
9. The method according to claim 8, wherein the predetermined amount of data comprises a block or group of files approximately two wraps of the tape or a multiple of two wraps of the tape in size.
10. The method according to claim 8, further comprising:
updating the in-memory version of the index whenever a change is made to a file system mounted on the tape.
11. The method according to claim 10, wherein, prior to the synchronization operation, any changes to the file system are held only in the memory.
12. The method according to claim 8, wherein the synchronization operation comprises advancing an index generation number by a predetermined value.
13. The method according to claim 8, further comprising:
writing a previous index from the data partition of the tape into the index partition of the tape.
14. The method according to claim 8, wherein the synchronization operation is a Linear Tape File System (LTFS) sync operation.
15. A computer program product comprising at least one non-transitory computer readable medium storing instructions translatable by at least one processor to:
when a tape is mounted on a tape drive, write an index from an index partition of the tape into a memory of an archive node appliance connected to the tape drive such that the memory stores an in-memory version of the index;
after a predetermined amount of time has passed, after a predetermined condition has been met, or after a predetermined amount of data has been written to the tape, perform a synchronization operation to write the in-memory version of the index to a data partition of the tape such that the data partition of the tape stores a copy of the in-memory version of the index;
when the tape is to be unmounted, perform an unmount operation to write the in-memory version of the index from the memory into the index partition of the tape;
when the tape is to be mounted again, compare indexes most recently written to the index partition of the tape and to the data partition of the tape; and
if the indexes do not match, automatically perform a recovery operation to update the index partition of the tape with the copy of the in-memory version of the index from the data partition of the tape.
16. The computer program product of claim 15, wherein the predetermined amount of data comprises a block or group of files approximately two wraps of the tape or a multiple of two wraps of the tape in size.
17. The computer program product of claim 15, wherein the instructions are further translatable by the at least one processor to:
update the in-memory version of the index whenever a change is made to a file system mounted on the tape.
18. The computer program product of claim 17, wherein, prior to the synchronization operation, any changes to the file system are held only in the memory.
19. The computer program product of claim 15, wherein the synchronization operation comprises advancing an index generation number by a predetermined value.
20. The computer program product of claim 15, wherein the instructions are further translatable by the at least one processor to:
write a previous index from the data partition of the tape into the index partition of the tape.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A vital sign measurement robot comprising:
an input unit configured to receive a vital sign measurement instruction;
an image recognition unit configured to detect a three-dimensional shape of a body of a person having a vital sign to be measured, to detect a distance between the vital sign measurement robot and the person, and to detect a measurement portion of the body of the person from the detected three-dimensional shape, when the vital sign measurement instruction is received;
a control unit configured to control a hand of the vital sign measurement robot to move an electrode provided on the hand so as to locate the electrode at the measurement portion of the body of the person, in accordance with the distance between the vital sign measurement robot and the person and the measurement portion of the body of the person detected by the image recognition unit; and
a vital sign measurement unit configured to measure the vital sign via the electrode, when the electrode is located at the measurement portion of the body of the person.
2. The vital sign measurement robot according to claim 1, further comprising:
a pressure sensor configured to measure pressure applied by the electrode to the measurement portion of the body of the person,
wherein, when the electrode is located at the measurement portion of the body of the person, the control unit controls the hand to cause the electrode to be pressed onto the measurement portion of the body of the person at a predetermined pressure according to data transferred from the pressure sensor.
3. The vital sign measurement robot according to claim 1, wherein, when the electrode is located at the measurement portion of the body of the person, the control unit controls the hand to cause the electrode to be pressed onto the measurement portion of the body of the person at a predetermined pressure through impedance control.
4. The vital sign measurement robot according to claim 1, further comprising:
a tachometer configured to measure absolute positions of respective joints of the vital sign measurement robot, wherein
the tachometer senses joint angles of the joints and transfers the joint angles to the control unit, and
the control unit calculates absolute coordinates of the respective joints from the joint angles and controls the hand in accordance with the calculated absolute coordinates.
5. The vital sign measurement robot according to claim 1, further comprising:
a display unit,
wherein, the control unit receives data regarding the vital sign from the vital sign measurement unit, and outputs the received data through the display unit.
6. An apparatus comprising:
a robot hand having an electrode thereon; and
a computer configured for
detecting a three-dimensional shape of a body of a person having a vital sign to be measured,
detecting a measurement portion of the body of the person from the detected three-dimensional shape,
controlling the robot hand so that the electrode is moved to thereby be located on the detected measurement portion of the body, and
measuring the vital sign via the electrode located at the measurement portion of the body.
7. An apparatus according to claim 6, further comprising:
a sensor configured for sensing pressure applied by the electrode to the body,
wherein the computer controls the hand to control the applied pressure.