Re: [libvirt] [PATCH] Add TCK script for verifying disk based storage pools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Blake wrote:
...
>> +# List of host block devices that the test suite can trash all
>> +# data on, for purposes of testing. You have been warned !
>
> Indeed!

The intrepid souls who run these tests might appreciate a crosscheck.
Let them specify more than just a block device name, where it's
way too easy to introduce a typo and clobber something important.

Potential crosscheck-able data:
  - device size
  - device "model"
Both are reported by parted -s $device.

In clobbering a device via Parted's test suite, I require a
<device_name,size> pair.  Then, when I clobber things on my 1 or 2GB
USB key, there's no risk I'll accidentally destroy data on "real" disks,
since the real ones are all far larger.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]