On Nov 17, 2006  13:37 -0800, Nathaniel Rutman wrote:
> Adding a new OST that reuses the old index results in a valid but 
> truncated file:
> cfs21:~/cfs/b1_5/lustre/tests# ll /mnt/lustre
> total 4
> -rw-r--r--  1 root root    0 Nov 17 13:31 p2
> -rw-r--r--  1 root root 1699 Nov 17 12:53 passwd

Hmm, that shouldn't be possible.  What should instead happen is that
either this OST index is marked "do not use" or the "ost_gen" field
in the lov_tgts/lov_ost_data_v1 is incremented to indicate that while
the index is the same this is in fact a different OST (that avoids
the need to have potentially thousands of empty slots in lov_tgts).

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to