QA Test checklist prior to release:

   1.0 Review Documentation
	-- Revision dates in index.html, README.txt, TODO.txt
done.
	-- Set version to pre-release one.
        -- build packages with pre-release version id.
   1.1 drobom status... check for accuracy.

done.

   1.2 drobom settime

done.

   1.3 drobom status... check for accuracy.

done.

   1.4 drobom fwload (something really old) 1.03

root@pepino:~/.drobo-utils# drobom -V                                                                       
0.6.2                                                                                                       
root@pepino:~/.drobo-utils# drobom fwload v1.03.tdf                                                         
Reading Firmware from = v1.03.tdf                                                                           
validateFirmware start...                                                                                   
header+body lengths validated.  Good.                                                                       
Magic number validated. Good.                                                                               
484 + 2748276 = 2748760 length validated. Good.                                                             
CRC from header: 358896933, calculated using python zlib crc32: 358896933                                   
CRC for body from header: 3943205637, calculated: 3943205637                                                
32 bit Cyclic Redundancy Check correct. Good.                                                               
validateFirmware successful...                                                                              
write is  1% done.                                                                                          
write is  2% done.                                                                                          
	.
	.
	.
write is 98% done.
write is 100% done.
root@pepino:~/.drobo-utils# drobom status
/dev/sdf - Drobo disk pack 00% full - (['New firmware installed'], 0)
root@pepino:~/.drobo-utils#


     1.4.1 drobom shutdown -- to run the firmware.

done.

     1.4.2 restart (unplug and replug usb)

done.

     1.4.3 run drobom status etc.. (make sure it is running 1.0.3)
       should say disk pack is un-readable or some such.

firmware too old to report capacity properly... or the drobo is empty...
/dev/sdf - TRUSTED DATA -1% full - (['Unknown version'], 0)
root@pepino:~/.drobo-utils# 

     1.4.4 hard reset to factory default 
        after downgrade, disk pack will no longer be recognized. need to reset to make Drobo
        look at the disks.
        (with the pin in the back and all that.)
        http://www.drobospace.com/article/10207/Resetting-the-Drobo/?highlight=reset+drobo

   did not bother...

     1.4.3 place a file on the Drobo. make sure it works.
     1.4.4 drobom status -- have a look.
   
   1.5 drobom fwupgrade


t@pepino:~/.drobo-utils# drobom fwcheck                  
looking for firmware for: armmarvell 1.172.9222 hw version: 1.00
This Drobo should be running:  raptor/firmware/armmarvell/v1.12.tdf
raptor/firmware/armmarvell/v1.12.tdf                               
root@pepino:~/.drobo-utils# drobom fwupgrade
looking for firmware for: armmarvell 1.172.9222 hw version: 1.00
This Drobo should be running:  raptor/firmware/armmarvell/v1.12.tdf
looking for: /root/.drobo-utils/armmarvell_1.00_v1.12.tdf          
local copy already present: /root/.drobo-utils/armmarvell_1.00_v1.12.tdf
Reading Firmware from = /root/.drobo-utils/armmarvell_1.00_v1.12.tdf    
validateFirmware start...                                               
header+body lengths validated.  Good.                                   
Magic number validated. Good.                                           
484 + 2942433 = 2942917 length validated. Good.                         
CRC from header: 1401631832, calculated using python zlib crc32: 1401631832 
CRC for body from header: 2717012571, calculated: 2717012571                
32 bit Cyclic Redundancy Check correct. Good.                               
validateFirmware successful...                                              
correct fw available                                                        
write is  1% done.                                                          
write is  2% done.                                                          
write is  3% done.                                                          
	.
	.
	.
write is 96% done.
write is 98% done.
write is 99% done.
write is 100% done.
root@pepino:~/.drobo-utils# drobom status
firmware too old to report capacity properly... or the drobo is empty...
/dev/sdf - TRUSTED DATA -1% full - (['Unknown version', 'New firmware installed'], 0)
root@pepino:~/.drobo-utils#

     1.5.1 drobom shutdown - to run the firmware.
     1.5.2 drobom status -- have a look.
     1.5.3 repeat 1.5 perhaps a second time (as needed to get to current)

1.0.3 -> 1.1.2 -> 1.3.0 -> 1.3.5

   1.7 drobom setlunsize 3 (should fail),1,2  

after mkmsdos...

   1.8 drobom create file systems, each type.
    msdos

root@pepino:~/.drobo-utils# drobom status
/dev/sdf - Drobo disk pack 00% full - ([], 0)
root@pepino:~/.drobo-utils# drobom status    
/dev/sdf - Drobo disk pack 00% full - ([], 0)
root@pepino:~/.drobo-utils# drobom format msdos
/dev/sdf - Drobo disk pack 00% full - ([], 0)  
preparing a format script for a msdos file system as you requested
OK, I built the script but nothing is erased yet...               
You can have a look at it with: cat /tmp/fmtscript                
If you are really sure, go ahead and do: sh /tmp/fmtscript        
WARNING: Ready to destroy all your data. Continue? (y/n) y        
ok... firing it off...                                            
Model: TRUSTED Mass Storage (scsi)                                
Disk /dev/sdf: 2199GB                                             
Sector size (logical/physical): 512B/512B                         
Partition Table: msdos                                            

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  2199GB  2199GB  primary               lba

mkdosfs 3.0.3 (18 May 2009)
Boot jump code is eb 58
Using 32 reserved sectors
536870170 sectors for FAT+data, starting with 32 sectors/cluster
Trying with 32 sectors/cluster:
FAT12: #clu=16776808, fatlen=6144, maxclu=4080, limit=4080
FAT12: too much clusters
FAT16: #clu=16776680, fatlen=8192, maxclu=65520, limit=65520
FAT16: too much clusters
FAT16: would be misdetected as FAT12
FAT32: #clu=16776168, fatlen=16383, maxclu=16776192, limit=268435440
Using sector 6 as backup boot sector (0 = none)
/dev/sdf1 has 255 heads and 63 sectors per track,
logical sector size is 4096,
using 0xf8 media descriptor, with 536870202 sectors;
file system has 2 32-bit FATs and 32 sectors per cluster.
FAT size is 16383 sectors, and provides 16776168 clusters.
Volume ID is fc74c0fd, volume label Drobo01    .
root@pepino:~/.drobo-utils#

then a set lunsize...

root@pepino:~/.drobo-utils# drobom set lunsize 1
/dev/sdf - Drobo disk pack 00% full - ([], 0)   
You asked to set the lunsize to 1               
WARNING: Ready to destroy all you data. Continue? (y/n) y
set lunsize to 1 TiB                                     
Done... Drobo is likely now rebooting.                   
                 In a few minutes, it will come back with the new LUN size.
root@pepino:~/.drobo-utils# 
root@pepino:~/.drobo-utils# drobom status
/dev/sdf:/dev/sdg - Drobo disk pack 00% full - ([], 0)
root@pepino:~/.drobo-utils#


    ntfs


t@pepino:~/.drobo-utils# drobom format ntfs                      
/dev/sdf:/dev/sdg - Drobo disk pack 00% full - ([], 0)              
preparing a format script for a ntfs file system as you requested   
OK, I built the script but nothing is erased yet...                 
You can have a look at it with: cat /tmp/fmtscript                  
If you are really sure, go ahead and do: sh /tmp/fmtscript          
WARNING: Ready to destroy all your data. Continue? (y/n) y          
ok... firing it off...                                              
Model: TRUSTED Mass Storage (scsi)                                  
Disk /dev/sdf: 1100GB                                               
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
 1      17.4kB  1100GB  1100GB               primary  msftres

Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.
Model: TRUSTED Mass Storage (scsi)
Disk /dev/sdg: 1100GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
 1      17.4kB  1100GB  1100GB               primary  msftres

Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.
root@pepino:~/.drobo-utils#


    ext3

root@pepino:~/.drobo-utils# drobom format ext3
expected 8, got 15 bytes                      
/dev/sdf:/dev/sdg - Drobo disk pack 00% full - ([], 0)
preparing a format script for a ext3 file system as you requested
OK, I built the script but nothing is erased yet...              
You can have a look at it with: cat /tmp/fmtscript               
If you are really sure, go ahead and do: sh /tmp/fmtscript       
WARNING: Ready to destroy all your data. Continue? (y/n) y       
ok... firing it off...                                           
Model: TRUSTED Mass Storage (scsi)                               
Disk /dev/sdf: 1100GB                                            
Sector size (logical/physical): 512B/512B                        
Partition Table: gpt                                             

Number  Start   End     Size    File system  Name     Flags
 1      17.4kB  1100GB  1100GB               primary       

mke2fs 1.41.9 (22-Aug-2009)
Filesystem label=Drobo01   
OS type: Linux             
Block size=4096 (log=2)    
Fragment size=4096 (log=2) 
4194304 inodes, 268435430 blocks
0 blocks (0.00%) reserved for the super user
First data block=0                          
8192 block groups                           
32768 blocks per group, 32768 fragments per group
512 inodes per group                             
Superblock backups stored on blocks:             
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,     
        102400000, 214990848                                                    

Writing inode tables: done                            
Creating journal (32768 blocks): done                 
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Model: TRUSTED Mass Storage (scsi)                                 
Disk /dev/sdg: 1100GB                                              
Sector size (logical/physical): 512B/512B                          
Partition Table: gpt                                               

Number  Start   End     Size    File system  Name     Flags
 1      17.4kB  1100GB  1100GB               primary       

mke2fs 1.41.9 (22-Aug-2009)
Filesystem label=Drobo01   
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
4194304 inodes, 268435430 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
8192 block groups
32768 blocks per group, 32768 fragments per group
512 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@pepino:~/.drobo-utils#

   1.9 drobom diags # verify that dumping diagnostics still works...

works

   2.0 with fw >= 1.30
     drobom set name 

works

note: message about:  "expected 8, got 15 bytes" show up...
no apparent ill-effect.


     drobom info...

   3.0 Re-build packages with final release id.


