def METHOD_NAME(session, device_target):
    """
    Checks that the partition table can be read
    with 'fdasd'
    :param session: guest session, run command on host if None
    :param device_target: the expected target device name, e.g. 'vdb'
    """
    cmd = "fdasd -p /dev/%s" % device_target
    err, out = cmd_status_output(cmd, shell=True, session=session)
    if err or not re.findall("reading vtoc.*ok", out):
        raise TestError("Couldn't get partition table. %s" % out)
    logging.debug("Confirmed partition table was read correctly:")
    logging.debug(out)