Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2007 21:22:48 +0800
From:      LI Xin <delphij@delphij.net>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        stable@freebsd.org
Subject:   Re: running mksnap_ffs
Message-ID:  <459BAE28.5070300@delphij.net>
In-Reply-To: <459ABB40.7050603@digiware.nl>
References:  <459ABB40.7050603@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA16E0A95EA09DBDD90D1573B
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Willem Jan Withagen wrote:
> Hi,
>=20
> I got the following Filesystem:
> Filesystem    Size    Used   Avail Capacity iused     ifree %iused
> /dev/da0a     1.3T    422G    823G    34%  565952 182833470    0%
>=20
> Running of a 3ware 9550, on a dual core Opteron 242 with 1Gb.
> The system is used as SMB/NFS server for my other systems here.
>=20
> I would like to make weekly snapshots, but manually running mksnap_ffs
> freezes access to the disk (I sort of expected that) but the process
> never terminates. So I let is sit overnight, but looking a gstat did no=
t
> reveil any activity what so ever...
> The disk was not released, mksnap_ffs could not be terminated.
> And things resulted in me rebooting the system.
>=20
> So:
>  - How long should I expect making a snapshot to take:
>     5, 15, 30min, 1, 2 hour or even more???

This depends how much cylinder groups do you have.  If you have a lot of
large files, using "newfs -b 32768" instead of the default settings
would speed up the process drastically.  Note that this might be
unfeasable because you already have data on the disk.

Another suggestion is to separate the volume into smaller slices, this
would reduce the impact.

BTW.  Our experience with a semi full 1.3T volume is that the snapshot
would take about 1 hour on FreeBSD 5.x, but I doubt that it is not
really comparable to your situation as the hardware is very different.

>  - How do I diagnose the reason why it is not terminating?

This might be somewhat complicated.  Check out the developers' handbook.

Cheers,
--=20
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!


--------------enigA16E0A95EA09DBDD90D1573B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFm64oOfuToMruuMARA148AJ9n/zFEbqXAaGk178NEizOlxtuorwCfSOye
A7iQGPedfxTRDmAPLrLx/jA=
=bJlV
-----END PGP SIGNATURE-----

--------------enigA16E0A95EA09DBDD90D1573B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?459BAE28.5070300>