Code review comment for ~pieq/plainbox-provider-checkbox:1660386-mount-drive-before-storage-tests

Revision history for this message
Jeff Lane  (bladernr) wrote :

This is running against a disk that has a disk label, but no partitions:
ubuntu@wildorange:~$ sudo ./storage_test sdb
/dev/sdb is a block device
/dev/sdb reports a size of 147GB.
/dev/sdb is not mounted. It must be mounted before testing.
Mounting /dev/sdb into /tmp/drive/sdb...
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
Running bonnie++ on /dev/sdb...
Putting scratch disk at
    Disk /dev/sdb has MB available
    System has 56354MB RAM
    We need 112708MB of disk space for testing
    Insufficient disk space available for defaults.
    reducing memory footprint to be 1/2 of free disk space.
./storage_test: line 25: /2: syntax error: operand expected (error token is "/2")

Completely different error there...

« Back to merge proposal