From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 14:28:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F125106564A for ; Tue, 5 Oct 2010 14:28:10 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmmtao105.cox.net (fed1rmmtao105.cox.net [68.230.241.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3027A8FC2A for ; Tue, 5 Oct 2010 14:28:09 +0000 (UTC) Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao105.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20101005142809.GHFA16314.fed1rmmtao105.cox.net@fed1rmimpo01.cox.net>; Tue, 5 Oct 2010 10:28:09 -0400 Received: from asus64 ([72.220.91.53]) by fed1rmimpo01.cox.net with bizsmtp id F2U91f00H194WAG032U9WR; Tue, 05 Oct 2010 10:28:09 -0400 X-VR-Score: -100.00 X-Authority-Analysis: v=1.1 cv=PyPhBskYoaHflNqPyNkGzxEHMB/j16Lz16eTzQWlCdI= c=1 sm=1 a=kj9zAlcOel0A:10 a=kGT7vLq0O+GHAcZnhcuE1w==:17 a=kviXuzpPAAAA:8 a=mNL-uGBdAAAA:8 a=lXuoJryASOrovekeslsA:9 a=X_NClCc5GeoDpbYv5XQA:7 a=orCqaBdUTsUD861m5TXECwbJY5cA:4 a=CjuIK1q_8ugA:10 a=XZENvOEyztAA:10 a=jKRid43F7UoA:10 a=4vB-4DCPJfMA:10 a=kGT7vLq0O+GHAcZnhcuE1w==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Date: Tue, 5 Oct 2010 07:28:04 -0700 From: Robert To: Polytropon Message-ID: <20101005072804.1b7cc7f2@asus64> In-Reply-To: <20101005153441.2be39706.freebsd@edvax.de> References: <201010031319.o93DJaDE005892@mail.r-bonomi.com> <20101003100051.23e2cc77@asus64> <20101003194045.849d6419.freebsd@edvax.de> <20101003142935.3d751862@asus64> <20101004123413.8e7cf859.freebsd@edvax.de> <20101004070858.3a101fa3@asus64> <20101004163225.34099bb8.freebsd@edvax.de> <20101004075221.7709740c@asus64> <20101005062029.3355deed@asus64> <20101005153441.2be39706.freebsd@edvax.de> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: OT: fdisk 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: Tue, 05 Oct 2010 14:28:10 -0000 On Tue, 5 Oct 2010 15:34:41 +0200 Polytropon wrote: > On Tue, 5 Oct 2010 06:20:29 -0700, Robert wrote: > > Update > > > > [root@asus64] ~# dd if=/dev/da1 of=/1tb/disk500.img bs=1m > > 476940+1 records in > > 476940+1 records out > > 500107862016 bytes transferred in 47027.134085 secs (10634453 > > bytes/sec) > > > > ~ 14 hours later here is what I have. > > > > [root@asus64] ~# ls -l /1tb > > total 488625218 > > drwxrwxr-x 2 root operator 512 Jan 19 2010 .snap > > -rw-r--r-- 1 root wheel 500107862016 Oct 5 01:07 disk500.img > > ^^^^^^^^^^^^ > > You got a copy of the entire disk. This is GOOD as you're not > missing something important. > > > > > [root@asus64] ~# mdconfig -a -t vnode -u 12 -f /1tb/disk500.img > > [root@asus64] ~# ls -l /dev/md* > > crw-r----- 1 root operator 0, 129 Oct 4 06:43 /dev/md10 > > crw-r----- 1 root operator 0, 130 Oct 4 06:43 /dev/md10s1 > > crw-r----- 1 root operator 0, 131 Oct 5 05:55 /dev/md12 > > crw-r----- 1 root operator 0, 133 Oct 5 05:55 /dev/md12s1 > > crw------- 1 root wheel 0, 66 Oct 1 14:43 /dev/mdctl > > Erm... erm erm erm!!! After using a md file that is connected to > an image file, and you purge the image file, destroy the md file. > Use "mdconfig -d -u 10" for unit 10, for example. See details in > "man mdconfig". > > > > > [root@asus64] ~# mount_ntfs /dev/md12s1 /mnt > > mount_ntfs: /dev/md12s1: Invalid argument > > This is the 1st "primary partition" with NTFS content, this one > can't be mounted. As ntfs. > > > > > [root@asus64] ~# mount_ntfs /dev/md12 /mnt > > [root@asus64] ~# ls -l /mnt > > total 70044 > > -rwxr-xr-x 1 root wheel 2560 Dec 31 1600 $AttrDef > > -rwxr-xr-x 1 root wheel 0 Oct 1 09:09 $BadClus > > -rwxr-xr-x 1 root wheel 4194304 Dec 31 1600 $Bitmap > > -rwxr-xr-x 1 root wheel 8192 Oct 1 09:09 $Boot > > drwxr-xr-x 1 root wheel 0 Oct 1 09:09 $Extend > > -rwxr-xr-x 1 root wheel 67108864 Oct 1 09:09 $LogFile > > -rwxr-xr-x 1 root wheel 4096 Oct 1 09:09 $MFTMirr > > -rwxr-xr-x 1 root wheel 0 Dec 31 1600 $Secure > > -rwxr-xr-x 1 root wheel 131072 Oct 1 09:09 $UpCase > > -rwxr-xr-x 1 root wheel 0 Oct 1 09:09 $Volume > > -rwxr-xr-x 1 root wheel 45124 Aug 18 2001 NTDETECT.COM > > drwxr-xr-x 1 root wheel 0 Oct 1 17:29 System Volume > > Information > > -rwxr-xr-x 1 root wheel 193 Oct 1 09:12 boot.ini > > -rwxr-xr-x 1 root wheel 222368 Aug 18 2001 ntldr > > [root@asus64] ~# umount /mnt > > This is the second NTFS volume, can be mounted. Without any of the data. > > > > > [root@asus64] ~# mount /dev/md12s1 /mnt > > Why can the first one NOW be mounted??? As ufs!!!! > > > > > [root@asus64] ~# ls -l /mnt > > total 0 > > [root@asus64] ~# df -h > > Filesystem Size Used Avail Capacity Mounted on > > /dev/label/rootfs 989M 523M 387M 57% / > > devfs 1.0K 1.0K 0B 100% /dev > > /dev/label/home 9.7G 2.0G 6.9G 22% /home > > /dev/label/slice2 56G 53G -1.4G 103% /slice2 > > /dev/label/slice3 56G 4.0K 52G 0% /slice3 > > /dev/label/slice4 56G 39G 13G 76% /slice4 > > /dev/label/spare 20G 6.0K 18G 0% /spare > > /dev/label/tmp 484M 22M 423M 5% /tmp > > /dev/label/usr 20G 7.5G 11G 40% /usr > > /dev/label/var 989M 158M 752M 17% /var > > /dev/label/500ext 451G 153G 262G 37% /500ext > > /dev/label/1tb 902G 466G 364G 56% /1tb > > /dev/ad12s1d 226G 59G 149G 28% /250extra > > /dev/md12s1 451G 32G 383G 8% /mnt > > ^^^ > > This looks like "missing data". In terms of UFS file system, one > would say that there a inodes not referenced, but still occupied > as they are not marked as being free. > > Sadly, I have *zero* knowledge about NTFS to make an interpretation > about what we see here... > > Good luck! Thanks for that :-) > > >