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

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

So just for comparison, this is what happens when you run this against a disk with no partition table:
ubuntu@wildorange:~$ sudo ./storage_test sdc
/dev/sdc is a block device
Error: /dev/sdc: unrecognised disk label
Error: /dev/sdb: unrecognised disk label
Error: /dev/sdc: unrecognised disk label
Error: /dev/sdd: unrecognised disk label
/dev/sdc reports a size of 147GB.
/dev/sdc is not mounted. It must be mounted before testing.
Error: /dev/sdc: unrecognised disk label
/dev/sdc has no partition table. Test on this drive cannot proceed.

There's a lot of stderr there that makes reading the output confusing...

« Back to merge proposal