Let X be a projective variety (say, irreducible) and E a vector bundle on X or rank r. Is it true that there exists a codimension 2 closed subset Z in X such that restriction of E to U = X - Z has a trivial sub-bundle of rank (r-1)? Is this written somewhere? What happens when X varies in a flat family over a base S?