Re: compressed HDD image using dd...clearing unused blocks

看板FB_chat作者時間18年前 (2007/07/24 10:54), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/8 (看更多)
Michael Eubanks wrote: > Hello all, > > I am updating a system that has been around for some > time now. I would like to make a compressed disk > image after the final setup is complete, although, I'm > guessing that the unused blocks will not allow me to > compress the image as well as I could with a > previously clean disk (considering the disk has been > in use for some time now). Is there a way to do this > - zero out unused blocks to optimize compression? I > generally do this with Windows machines using the > cipher command (killing cipher after it has finished > writing zeroes). After running cipher I use dd to > create a compressed HDD image for later use. I'd like > to be able to do the same with FreeBSD. In my experience, using dd to create images of UFS/UFS2 volumes is problematic, though I can't qualify that. It's better to use an archival program like dump or tar, IMO. That approach also gets you a restored volume with no fragmentation. _______________________________________________ freebsd-chat@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-chat To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
文章代碼(AID): #16fMdl00 (FB_chat)
討論串 (同標題文章)
文章代碼(AID): #16fMdl00 (FB_chat)