Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2007 00:37:06 +0100
From:      Matthieu Bollot <mattboll@gmail.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   external usb disk
Message-ID:  <1195947426.8387.13.camel@sarah.bob.selfip.org>

next in thread | raw e-mail | index | archive | help
Hi, I've got a 250GB ide disk, that I put in an external usb box.
I've made 3 partitions under linux, ext2, all works fine.

in dmesg I've got no error :
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SAMSUNG SP2514N \\0000\\0000> Fixed Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
and in /dev I've got da0 da0s1 da0s2 da0s3.

but let's see that :
# mount_ext2fs /dev/da0s1 /mnt/clean
# ls -a
.       ..      clean
# cd clean
# ls -a
# mkdir qsd
mkdir: qsd: File exists
# cd qsd/wxc
# ls -a
# echo "aze">aze && cat aze
aze
# vim aze ##note that here i can see the word aze
# cat aze
#

btw, I also wasn't able to create slice/label under freebsd (that's why I've ext2ed it) 
I don't remember the errors but somethings like read/write to block 0 failed was common.

an other thing is fsck :
#fsck.ext2 /dev/da0s1
e2fsck 1.40.2 (12-Jul-2007)
fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/da0s1
Could this be a zero-length partition?

whereas under linux it just says something like partition is clean.

As you can imagine, I've got absolutely no idea what I should search for.

thanks a lot,
Matthieu.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1195947426.8387.13.camel>