From owner-freebsd-stable@FreeBSD.ORG Sun Nov 25 14:48:52 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5973E16A418 for ; Sun, 25 Nov 2007 14:48:52 +0000 (UTC) (envelope-from mattboll@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id D01EA13C469 for ; Sun, 25 Nov 2007 14:48:51 +0000 (UTC) (envelope-from mattboll@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so951069uge for ; Sun, 25 Nov 2007 06:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=lL6OcdBaXOg88T+u1hQ2QpHzWB01IFm+cRRU3oQecRs=; b=Zvy6IDc/uNANdaKa3j7RPQhPp4iDzYifDq7MDhWXkooK6gNfYfMngo229XJUOp0fxpsBZEsnYKvs3Ceg01H/qqFr9Z2TYdP2eUfeTmUMZ1aoyFiyRPQtet3PZ2YCcVvLUfDc6WuVzYZKatG5LEoMzJGuCZFYGhfXpiPEm8pJLiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=X2DGymW6UPRBT5AaxXnu7cn9F0eshF9PFCJKS3ifR8WD6whTByTIvK7Ym76iRe1m42jrB890r4du0YNysDLeo7j3St5Q7CqwwaBBwQHmCnxN47y+wWgg4cYGsZuVlzU2Pn9ip2oxjAEgA+KE9kw51CjVlAbyza5s8bYqV/arHQ4= Received: by 10.78.137.7 with SMTP id k7mr1568219hud.1196002130287; Sun, 25 Nov 2007 06:48:50 -0800 (PST) Received: from ?192.168.0.3? ( [82.228.156.113]) by mx.google.com with ESMTPS id j9sm1560387mue.2007.11.25.06.48.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Nov 2007 06:48:49 -0800 (PST) From: Matthieu Bollot To: FreeBSD Stable In-Reply-To: <1195996199.2260.1.camel@workstation.martenvijn.nl> References: <1195947426.8387.13.camel@sarah.bob.selfip.org> <1195996199.2260.1.camel@workstation.martenvijn.nl> Content-Type: text/plain; charset=UTF-8 Date: Sun, 25 Nov 2007 15:49:32 +0100 Message-Id: <1196002172.8387.33.camel@sarah.bob.selfip.org> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 8bit Subject: Re: external usb disk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 14:48:52 -0000 Le dimanche 25 novembre 2007 à 14:09 +0100, Marten Vijn a écrit : > On Sun, 2007-11-25 at 00:37 +0100, Matthieu Bollot wrote: > > Hi, I've got a 250GB ide disk, that I put in an external usb box. > > You might try the handbook > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html > > kind regards, > Marten Thanks for answering me, but I've read it again and again. And there are two things. the first one, I don't want to add a new disk in this way because there are already 3 partitions. So, I should just have to mount... And the second thing, here is what I've got when i try the handbook way : #dd if=/dev/zero of=/dev/da0 bs=1k count=1 dd: /dev/da0: end of device 1+0 records in 0+0 records out 0 bytes transferred in 0.001107 secs (0 bytes/sec) #fdisk -BI da0 ******* Working on device /dev/da0 ******* fdisk: invalid fdisk partition table found fdisk: Geom not found fdisk: Failed to write sector zero I've found some other strange things : linux : sarah:/home/mattboll# mount /dev/sdb1 /mnt/sth sarah:/home/mattboll# cd /mnt/sth sarah:/mnt/sth# ls lost+found sarah:/mnt/sth# mkdir music sarah:/mnt/sth# echo hello >aze sarah:/mnt/sth# ls aze lost+found music sarah:/mnt/sth# cat aze hello sarah:/mnt/sth# stat aze File: `aze' Size: 6 Blocks: 8 IO Block: 4096 fichier régulier Device: 811h/2065d Inode: 12 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2007-11-25 15:35:43.000000000 +0100 Modify: 2007-11-25 15:35:41.000000000 +0100 Change: 2007-11-25 15:35:41.000000000 +0100 sarah:/mnt/sth# stat music File: `music' Size: 4096 Blocks: 8 IO Block: 4096 répertoire Device: 811h/2065d Inode: 8503297 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2007-11-25 15:34:53.000000000 +0100 Modify: 2007-11-25 15:34:53.000000000 +0100 Change: 2007-11-25 15:34:53.000000000 +0100 sarah:/mnt/sth# freebsd : lisa# mount -t ext2fs /dev/da0s1 /home/lisa/partage/clean/ lisa# cd /home/lisa/partage/clean lisa# ls lisa# stat music 93 8503297 drwxr-xr-x 2 root wheel 17008640 4096 "Nov 25 15:34:53 2007" "Nov 25 15:34:53 2007" "Nov 25 15:34:53 2007" "Jan 6 05:21:28 1947" 4096 8 0 music lisa# stat aze 93 12 -rw-r--r-- 1 root wheel 18432 6 "Nov 25 15:35:43 2007" "Nov 25 15:35:41 2007" "Nov 25 15:35:41 2007" "Dec 29 22:08:24 1946" 4096 8 0 aze lisa# cat aze lisa# You can notice that there are no problems with inode, neither with the size, just with the date (what's this "Dec 29 22:08:24 1946" doing here ?!!) any suggestion ? cheers, matthieu.