Changes between Version 48 and Version 49 of Procedures/NewDataArrival


Ignore:
Timestamp:
Aug 26, 2008 5:23:17 PM (11 years ago)
Author:
mark1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/NewDataArrival

    v48 v49  
    55If in any doubt about something (e.g. a dataset has two project codes), contact Gary.
    66
    7 == Permissions fixing ==
    8 Ensure permissions on the SATA disk are correct and all files readable ("chmod a+rX /mnt/satadisk" as root)
     7== Mounting the SATA disk ==
     8To 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
     10mptsas: ioc0: attaching sata device, channel 0, id 1, phy 1
     11
     12scsi 0:0:1:0: Direct-Access     ATA      ST3500630AS      E    PQ: 0 ANSI: 5
     13
     14sd 0:0:1:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
     15
     16sd 0:0:1:0: [sdb] Write Protect is off
     17
     18sd 0:0:1:0: [sdb] Mode Sense: 73 00 00 08
     19
     20sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     21
     22sd 0:0:1:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
     23
     24sd 0:0:1:0: [sdb] Write Protect is off
     25
     26sd 0:0:1:0: [sdb] Mode Sense: 73 00 00 08
     27
     28sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     29
     30sdb: sdb1
     31
     32where 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
     33 `sudo less /var/log/messages`.
     34
     35To 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.  Then remount the disk using `sudo mount -o remount,rw /mnt/tmp` to make it read/write and run the commadn `chmod a+rX -R /mnt/tmp'.  Then re mount the SATA back as read only, `sudo mount -o remount,ro /mnt/tmp`
    936
    1037== Copying to PML data storage ==