Date: Tue, 19 Jul 2005 23:03:36 -0500 From: Skylar Thompson <skylar@cs.earlham.edu> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: mksnap_ffs takes 4-5 minutes? Message-ID: <20050720040336.GA69292@quark.cs.earlham.edu> In-Reply-To: <42DD64AB.3000605@centtech.com> References: <42DD64AB.3000605@centtech.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Jul 19, 2005 at 03:38:03PM -0500, Eric Anderson wrote: > Last week, I tried making a snapshot of one of my NFS servers' > partitions. I've done this one other machines before, with smaller > barely used partitions, and it has always been relatively snappy. > > This time, when I ran mksnap_ffs, the command took nearly 5 minutes, in > which time all NFS traffic was suspended, as well as all disk access on > the machine. After reading in the FreeBSD Implementation book > (McKusick), it claims it should be very very fast. > > Anyone know why it should take so long to do this snapshot? Is this > expected normal behaviour, or should I expect faster snapshots? > > Here's some info on the filesystem: > Filesystem 1K-blocks Used Avail Capacity iused ifree > %iused Mounted on > /dev/da1s1d 406234604 91799154 281936682 25% 1300303 51197103 > 2% /scr03 > > /dev/da1s1d on /scr03 (ufs, NFS exported, local, soft-updates) Does that filesystem have a lot of open files? I believe all busy inodes have to be copied in the snapshot process. -- -- Skylar Thompson (skylar@cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC3c0Ysc4yyULgN4YRAv1pAJ9dpYB9F7MYQJmou8u+YtkLeJEbTwCbBx8x vZbCjmJh71bPh/iTgFRP4hg= =nBPW -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050720040336.GA69292>
