Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2008 05:58:41 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Tod McQuillin <devin@spamcop.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Odd file in /lost+found after softupdate inconsistency in fsck
Message-ID:  <20080305185841.GU68971@server.vk2pj.dyndns.org>
In-Reply-To: <20080305213442.A36748@plexi.pun-pun.prv>
References:  <20080305213442.A36748@plexi.pun-pun.prv>

next in thread | previous in thread | raw e-mail | index | archive | help

--kadn00tgSopKmJ1H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 05, 2008 at 09:43:15PM +0900, Tod McQuillin wrote:
>/home/lost+found# ls -lksh
>total 24432
>24432 -r--------  1 root  operator    40G Mar  5 20:12 #0000005
>
>It is 40G in size but only occupies 24432k on disk, so it is a sparse file=
=2E=20

The file permissions and sparseness matches a snapshot.  If your FS
is 40GB then it is a snapshot.

>/home/lost+found# rm \#0000005
>override r--------  root/operator snapshot for #0000005? n

The file itself is not writable so rm prompts.  This is normal.

>Is there a magic "shapshot" flag on the file?  Have I somehow damaged my=
=20
>ufs2+softupdates filesystem by losing its inode #5 containing snapshot=20
>data?

No and no.  You can have multiple snapshots in a filesystem.

--=20
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

--kadn00tgSopKmJ1H
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHzu1h/opHv/APuIcRArV4AJ4oeQpRnpzP4+y+gB2tvuSBlPv30wCfUE37
j0DsbemOLagl/uW+4kmk7rM=
=m46V
-----END PGP SIGNATURE-----

--kadn00tgSopKmJ1H--



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