Odd file in /lost+found after softupdate inconsistency in fsck

Peter Jeremy peterjeremy at optushome.com.au
Wed Mar 5 18:58:48 UTC 2008


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. 

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 
>ufs2+softupdates filesystem by losing its inode #5 containing snapshot 
>data?

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

-- 
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080305/3b228cf8/attachment.pgp


More information about the freebsd-stable mailing list