Changes between Version 92 and Version 93 of Procedures/NewDataArrival


Ignore:
Timestamp:
Oct 9, 2009, 10:56:05 AM (15 years ago)
Author:
mggr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/NewDataArrival

    v92 v93  
    55If in any doubt about something (e.g. a dataset has two project codes), contact Gary.
    66
    7 == Mounting the SATA disk ==
    8 To mount the SATA disk, put it into the computer. Then ssh onto the machine. Run `dmesg` to show information on the device names, the kind of thing we would be look for is:
    9 {{{
    10 mptsas: ioc0: attaching sata device, channel 0, id 1, phy 1
    11 scsi 0:0:1:0: Direct-Access     ATA      ST3500630AS      E    PQ: 0 ANSI: 5
    12 sd 0:0:1:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
    13 sd 0:0:1:0: [sdb] Write Protect is off
    14 sd 0:0:1:0: [sdb] Mode Sense: 73 00 00 08
    15 sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    16 sd 0:0:1:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
    17 sd 0:0:1:0: [sdb] Write Protect is off
    18 sd 0:0:1:0: [sdb] Mode Sense: 73 00 00 08
    19 sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    20 sdb: sdb1
    21 }}}
    22 where the name of the disk is sdb (sata disk b) and the partion is sdb1. SATA disks will be 500GB in size.  If paranoid and want to look at a time stamped version run
    23  `sudo less /var/log/messages`.
     7== Copy the data onto the system ==
    248
    25 To mount the disk use command `sudo mount -o ro /dev/sdb1 /mnt/tmp`. This will mount it read only.  Then check the data looks ok.  If it does, remount the disk using `sudo mount -o remount,rw /mnt/tmp` to make it read/write and run the command `chmod a+rX -R /mnt/tmp` to ensure we have full read permission.  Finally, remount the SATA back as read only, `sudo mount -o remount,ro /mnt/tmp`.
    26 
    27 == Copy to unpacking ==
    28 
    29  * when copying from the source media, preserve timestamps with `cp -a` or `rsync -av`
     9 * [wiki:Procedures/NewDataArrival/Disk Data by SATA disk or DVD]
     10 * [wiki:Procedures/NewDataArrival/Network Data by network transfer]
    3011
    3112== Create entry on flight data status spreadsheet for each project ==