Date: Sat, 18 Aug 2007 11:25:57 +0100 From: Vince <jhary@unsane.co.uk> To: Victor Sudakov <sudakov@sibptus.tomsk.ru>, User Questions <freebsd-questions@freebsd.org> Subject: Re: dump -L Message-ID: <46C6C935.1090309@unsane.co.uk> In-Reply-To: <20070818071753.GA44252@admin.sibptus.tomsk.ru> References: <20070724115401.GA1355@admin.sibptus.tomsk.ru> <20070724134431.GA57022@epia-2.farid-hajji.net> <20070807113147.O28568@wojtek.tensor.gdynia.pl> <20070818071753.GA44252@admin.sibptus.tomsk.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Victor Sudakov wrote: > Colleagues, > > Right now I am watching a dump: > > [root@admin ~] dump -b64 -5Lau /home > DUMP: Connection to big.sibptus.tomsk.ru established. > DUMP: Date of this level 5 dump: Sat Aug 18 14:02:16 2007 > DUMP: Date of last level 0 dump: Sun Aug 12 11:10:56 2007 > DUMP: Dumping snapshot of /dev/ad0s2f (/home) to /dev/nsa0 on host big > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 3249348 tape blocks. > > at the same moment: > > [root@admin ~] snapinfo -v /home > /dev/ad0s2f mounted on /home > no snapshots found > [root@admin ~] ll /home/.snap/ > total 0 > [root@admin ~] > > > Is this normal? Does it mean that dump is not really dumping a > snapshot though it says it is? > man dump (the section regarding -L) says "The snapshot is unlinked as soon as the dump starts, and is thus removed when the dump is complete." What this means to you is that the snapshot is only visible on the file system for as long as it takes dump to start reading from it, dump will have an open filehandle to the snapshot so it can be unlinked from the filesystem and as soon as dump closed its handle then the snapshot is removed. Similar to when you delete a large logfile a program has open and forget to HUP/stop/restart the program, the logfile's diskspace isnt released until the the program closes its file handle. Vince
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C6C935.1090309>