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

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

And disk with label, and 1 partition formatted ext4:
ubuntu@wildorange:~$ sudo mkfs.ext4 /dev/sdd1
mke2fs 1.42.13 (17-May-2015)
/dev/sdd1 contains a ext4 file system
 created on Wed Feb 15 15:27:09 2017
Proceed anyway? (y,n) y
Creating filesystem with 14648064 4k blocks and 3662848 inodes
Filesystem UUID: d6f65789-4702-4f9e-be5b-a76aeceb11cd
Superblock backups stored on blocks:
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
 4096000, 7962624, 11239424

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

ubuntu@wildorange:~$ sudo ./storage_test sdd
/dev/sdd is a block device
/dev/sdd reports a size of 147GB.
/dev/sdd is not mounted. It must be mounted before testing.
Mounting /dev/sdd into /tmp/drive/sdd...
mount: wrong fs type, bad option, bad superblock on /dev/sdd,
       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/sdd...
Putting scratch disk at
    Disk /dev/sdd 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")

this should have worked, but didn't.

« Back to merge proposal