From owner-freebsd-stable@FreeBSD.ORG Sun Nov 25 15:14:44 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 4EAF416A418 for ; Sun, 25 Nov 2007 15:14:44 +0000 (UTC) (envelope-from askbill@conducive.net) Received: from conducive.net (conducive.net [203.194.153.81]) by mx1.freebsd.org (Postfix) with ESMTP id 127F513C457 for ; Sun, 25 Nov 2007 15:14:44 +0000 (UTC) (envelope-from askbill@conducive.net) Received: from cm218-253-81-177.hkcable.com.hk ([218.253.81.177]:60663 helo=pb.local) by conducive.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IwJBq-000FF2-AJ for freebsd-stable@freebsd.org; Sun, 25 Nov 2007 15:14:34 +0000 Message-ID: <4749915A.10806@conducive.net> Date: Sun, 25 Nov 2007 15:14:34 +0000 From: =?UTF-8?B?6Z+T5a625qiZIEJpbGwgSGFja2Vy?= User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <1195947426.8387.13.camel@sarah.bob.selfip.org> <1195996199.2260.1.camel@workstation.martenvijn.nl> <1196002172.8387.33.camel@sarah.bob.selfip.org> In-Reply-To: <1196002172.8387.33.camel@sarah.bob.selfip.org> Content-Type: text/plain; charset=UTF-8; format=flowed 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 15:14:44 -0000 Matthieu Bollot wrote: > 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. > This may be totally off the mark, but ISTR having a more convivial mix (FreeBSD 4, 6, DFLY, Linux, Plan9) if I prepped and sliced the drives with FreeBSD 4.X, not anything later. I suspect that each player is more sympatico with the other-guy's 'legacy' environment than they are with anything newer. YMMV, Bill