Re: [URGENT] Add-bricks to a volume corrupted the files

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

 



On 20/10/2016 9:48 AM, Joe Julian wrote:
Personally, with logrotate I use copytruncate. If I want to truncate the whole shebang manually:

    find -type f -exec truncate --size=0 {} \;

Eeep! that looks scary, I just see me running that from root at 3am.

--
Lindsay Mathieson

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux