The USB disk on S12 died over the weekend.  The rsyncs of s12 from barolo started to fail, and then upon logging into s12 found that the sda disk no longer showed up in lsusb.  So it looks like the disk has just died.  I have changed vertex.xml to comment out the <mount> element, and instead created a link from /media/usbdisk/projects to /home/daq/data/projects, so now the raw archive files are being written to the home partition:

daq@s12:~/isfs/projects/VERTEX/ISFS/config$ lsu
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p2  856M  2.4M  793M   1% /home
total 780
-r--r--r-- 1 daq eol 795677 Sep 26 23:01 s12_20160926_225143.dat

With almost 800M available and writing 54M per 12 hours, that means there is room for 7 days of data.  If I change the rsync configuration to remove more data and only leave the most recent 2 days of data at the site, then S12 could be offline for almost 5 days before it starts losing data.  So maybe you'd prefer to go without a new USB disk, it certainly seems feasible.

If you choose to replace it with another 8GB disk, then once you insert it, it can be formatted remotely on the DSM, and then the configuration needs to be switched back to using the mount option.

 

  • No labels

1 Comment

  1. Gary Granger AUTHOR

    For the record, here are the error messages seen after rebooting the DSM in an attempt to get the USB disk back.  These are similar to the messages seen when the disk first failed.

    [Sep26 22:26] usb 1-2: reset full-speed USB device number 2 using pxa27x-ohci
    [Sep26 22:27] usb 1-2: reset full-speed USB device number 2 using pxa27x-ohci
    [  +0.212704] usb 1-2: device firmware changed
    [  +0.003286] usb 1-2: USB disconnect, device number 2
    [  +0.024110] sd 0:0:0:0: [sda] Unhandled error code
    [  +0.003503] sd 0:0:0:0: [sda]  
    [  +0.001836] Result: hostbyte=0x01 driverbyte=0x00
    [  +0.003525] sd 0:0:0:0: [sda] CDB:
    [  +0.002274] cdb[0]=0x2a: 2a 00 00 44 17 f0 00 00 20 00
    [  +0.003926] end_request: I/O error, dev sda, sector 4462576
    [  +0.066037] Aborting journal on device sda1-8.
    [  +0.003645] JBD2: Error -5 detected when updating journal superblock for sda1-8.
    [  +0.023634] EXT4-fs error (device sda1): ext4_journal_check_start:56: Detected aborted journal
    [  +0.007473] EXT4-fs (sda1): Remounting filesystem read-only
    [  +0.004313] EXT4-fs (sda1): previous I/O error to superblock detected
    [  +0.128551] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 130325 (offset 0 size 0 starting block 33980)
    [  +0.010926] Buffer I/O error on device sda1, logical block 33723
    [  +0.004710] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 130325 (offset 0 size 0 starting block 33981)
    [  +0.010875] Buffer I/O error on device sda1, logical block 33724
    [  +0.004683] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 130325 (offset 0 size 0 starting block 33982)
    [  +0.010876] Buffer I/O error on device sda1, logical block 33725
    [  +0.004684] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 130325 (offset 0 size 0 starting block 33983)
    [  +0.010875] Buffer I/O error on device sda1, logical block 33726
    [  +0.004684] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 130325 (offset 0 size 0 starting block 33984)
    [  +0.010875] Buffer I/O error on device sda1, logical block 33727
    [  +0.004695] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 130325 (offset 0 size 0 starting block 33985)
    [  +0.010875] Buffer I/O error on device sda1, logical block 33728
    [  +0.004682] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 130325 (offset 0 size 0 starting block 33986)
    [  +0.010879] Buffer I/O error on device sda1, logical block 33729
    [  +0.171313] EXT4-fs (sda1): previous I/O error to superblock detected
    [  +0.005566] EXT4-fs error (device sda1): ext4_put_super:792: Couldn't clean up the journal
    [  +0.489885] usb 1-2: new full-speed USB device number 5 using pxa27x-ohci                                                                                                                                                                  
    [ +15.178828] usb 1-2: device descriptor read/64, error -110                                                                                                                                                                                 
    [Sep26 22:28] usb 1-2: device descriptor read/64, error -110                                                                                                                                                                                 
    [  +0.289987] usb 1-2: new full-speed USB device number 6 using pxa27x-ohci                                                                                                                                                                  
    [ +15.178760] usb 1-2: device descriptor read/64, error -110                                                                                                                                                                                 
    [ +15.288865] usb 1-2: device descriptor read/64, error -110                                                                                                                                                                                 
    [  +0.289830] usb 1-2: new full-speed USB device number 7 using pxa27x-ohci                                                                                                                                                                  
    [  +5.029793] usb 1-2: device descriptor read/8, error -110                                                                                                                                                                                  
    [  +5.129971] usb 1-2: device descriptor read/8, error -110                                                                                                                                                                                  
    [  +0.289522] usb 1-2: new full-speed USB device number 8 using pxa27x-ohci                                                                                                                                                                  
    [  +5.030485] usb 1-2: device descriptor read/8, error -110                                                                                                                                                                                  
    [  +5.128998] usb 1-2: device descriptor read/8, error -110                                                                                                                                                                                  
    [  +0.109747] usb usb1-port2: unable to enumerate USB device