[Ocfs2-users] No Space left on the device.

Brad Plant bplant at iinet.net.au
Thu Mar 4 22:58:40 PST 2010


Hi Tao,

On Fri, 05 Mar 2010 14:33:36 +0800
Tao Ma <tao.ma at oracle.com> wrote:

> Another way is that you can cp the file to another volume, remove it and 
> then cp back. It should be contiguous enough.

Assuming we *can* still write to the FS (i.e. as more of a preventative action), would the following do the same?

cp -a a b
mv b a

Can the above work as a *hack* online defrag? Will this reduce the amount of free space fragmentation and therefore stop (or reduce the chance of) this problem from occurring? Would we need to do it to the entire file system or just a few larger files?

Cheers,

Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-users/attachments/20100305/5af4eacf/attachment.bin 


More information about the Ocfs2-users mailing list