From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 17:05:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6031516A4DA for ; Wed, 2 Aug 2006 17:05:14 +0000 (UTC) (envelope-from freebsd@scottevil.com) Received: from relay.aplus.net (relay.aplus.net [216.55.128.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFA0443D53 for ; Wed, 2 Aug 2006 17:05:13 +0000 (GMT) (envelope-from freebsd@scottevil.com) Received: from [216.55.131.248] (helo=[192.168.191.103]) by relay.aplus.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1G8K9h-0009aw-HB for freebsd-questions@freebsd.org; Wed, 02 Aug 2006 10:05:13 -0700 Message-ID: <44D0DB47.5040301@scottevil.com> Date: Wed, 02 Aug 2006 10:05:11 -0700 From: Scott Oertel User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <44D0C36C.2050902@scottevil.com> <20060802162524.GB58585@dan.emsphone.com> <44D0D498.1030405@scottevil.com> <20060802165728.GC58585@dan.emsphone.com> In-Reply-To: <20060802165728.GC58585@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: removing large files (lost+found) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 17:05:14 -0000 Dan Nelson wrote: > In the last episode (Aug 02), Scott Oertel said: > >> Dan Nelson wrote: >> >>> In the last episode (Aug 02), Scott Oertel said: >>> >>>> Yesterday after an fsck a file was placed in the lost+found folder >>>> which size was exactly the size of the drive (450gb). What is the >>>> safest way to remove this file? >>>> >>> If its timestamp updates when you touch a file on the main >>> filesystem, it's most likely a snapshot file, either leftover from a >>> failed background fsck, or manually created by you with mksnap_ffs. >>> You can just delete it. >>> >> The time stamp doesn't update, it gives an error: touch: #00000005: >> Operation not permitted >> > > I mean touch some other file :) > > But I just remembered the correct way to determine if a file is a > snapshot: "ls -lo". If the flags field contains the word "snapshot" > for that file, it's a snapshot. > > Good call, yeah.. it is a snap shot file, I suppose I'll try and remove it, hopefully removing a 450GB file doesn't lock up the system.. # ls -lo -r-------- 1 root operator snapshot 482801995408 Jul 31 05:52 #00000005 Thanks, Scott Oertel